Try removing the lines:
setTimeout(function()
{
window.scrollTo(0, 1);
}, 100);
-- Sean
Jon B. wrote:
> I've been developing an iPhone-optimized version of an existing PHP/
> mySQL webapp of mine and have run into an odd problem. I want to be
> able to alter the CSS depending on the device orientation. I've
> included Joe Hewitt's "liquid layout" [
> http://www.joehewitt.com/files/liquid1.html
> ] and it works great. But if I include a hash in the URL of the page,
> the display doesn't jump to the corresponding named anchor. If I
> remove the liquid layout eventListener javascipt stuff, then the
> display jumps as expected.
>
> Any thoughts on whether and how I can get the page display to jump to
> a named anchor on load? Thanks!
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---