At the tech talk, they mentioned that focus() was disabled because they didn't want a user's experience to all of a sudden jump to a field out the blue. What with small screen size and all, if they are zoomed in to a normal page and get jumped to some other section, they could get lost/disoriented. I thought that sort of thing would be nice as an option to turn on or off, not just be off by default.
-=Randy On Sep 6, 2007, at 11:08 AM, Jason Whittle <[EMAIL PROTECTED]> wrote: > > Reposted from [EMAIL PROTECTED]: > > Two questions about developing for Safari on iPhone: > > 1) I noticed that the JavaScript focus() function doesn't seem to work > in the version of Safari shipped with the iPhone. Has anyone yet found > a way to programmatically direct focus into a form element? > > 2) The optimization guide (http://developer.apple.com/iphone/ > designingcontent.html) recommends using reference movies. The > reference movies I create work fine in Safari on the desktop, but not > in Safari on the iPhone. I'm embedding them using the embed tag > options given in the same guide (<embed src="image.gif" href="vid- > ref.mov" type="video/quicktime" width="100" height="100" > target="myself">). > > If there's a better place to ask iPhone-specific Safari questions, I > would be happy to hear of it. > > Cheers, > Jason Whittle > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
