Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Client-side Scripting _ Scrolling a page up to make next item visible

Posted by: wysocki Jan 18 2020, 07:17 PM

I have a webpage that has an unordered list of items. Using jquery, when one clicks on an item, they get other options displayed. The problem is that when I use the page on a tablet, there's no scroll bar and people don't realize that they have more items to scroll down to see at the bottom of the screen. I'd like to have added to my onclick script for the items some code that would just scroll the page up a bit to make the next item visible at the bottom of the screen. This would allow them to click on the items and have the page scroll up to the next one automatically. Is this possible?

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)