Basically, I need somehow to set a div to the top of the browser. Lets say you have 10 divs, I need to set number 5 as the top on an action, onclick of a button for instance.. I have always used js: object.style.top = "0px", and never had any issues. This is not true on the iPhone browser.
Thanks, Darren On Mar 24, 1:19 am, Brian McAlpin <[EMAIL PROTECTED]> wrote: > I spent about a week, one day, trying a multitude of div orientations in > Safari, just trying to find out if there were some unusual surprises. I > mostly came up blank... looking for something that was really solid. > > What are you trying to accomplish, from a UI perspective? > > Mac > > On 3/24/08 1:39 AM, "Darren" <[EMAIL PROTECTED]> wrote: > > > > > After experimenting with the iPhone Safari browser, I have found some > > interesting tweaks I have had to pull of. After about 1000px of > > scrolling in the browser, I assume to save mem, the page will not > > render until scrolled upon. Could this affect div positioning. I can > > seem to set a div to the top of the browser. Should be so easy > > > I tried the standard js: object.style.top = "10px" and > > object.style.top = 10 - no luck with either > > Also, has anyone tried a floating div? i.e. keeping th menu bar on the > > top. Yes, this could be annoying, I just wanted to know if anyone has > > tried and succeeded. > > > Thanks, > > Darren --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
