Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes horizontal scrolling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "horizontal scrolling" Watch "horizontal scrolling" New topic
Author

horizontal scrolling

Pelle Sundqvist
Greenhorn

Joined: Jun 24, 2012
Posts: 12
I want a smooth horizontal scrolling to go to the top of a page when clicking on links. It links a few rows down in an iPhone, so I would need a code that makes you end up on top.
It links to the right place in an iPhone but the address bar put in the way

This only happens after the page has fully loaded, and then links it with no smooth scrolling, then directly to a place without smooth scrolling.

I have tried this in my javascript:
 
 
subject: horizontal scrolling
 
Similar Threads
Scroll using fingers in a touch screen
frames in html
J2ME - How to Vertical scroll text using Canvas
Scrolling Logic in AWT
J2ME - How to implement vertical text scroll using Canvas