Hi anyone,
I'm trying to figure out a visual basic built in function or code to have a web page automatically scroll to the bottom when the web page loads.
Note: I have a search bar at the bottom of the page and I want it to scroll to the bottom of the window every time the page is loaded.
Any help would be kindly appreciated.
Thanks in advance.
Scrolling to bottom of a Web page on loading
-
- SilverLounger
- Posts: 2347
- Joined: 23 Feb 2010, 12:07
Scrolling to bottom of a Web page on loading
Best Regards,
Adam
Adam
-
- Administrator
- Posts: 7218
- Joined: 15 Jan 2010, 22:52
- Location: Middle of England
Re: Scrolling to bottom of a Web page on loading
Would it not be easier to have the search bar at the top if the user is going to be forced to it in the first place?
Leif
-
- SilverLounger
- Posts: 2347
- Joined: 23 Feb 2010, 12:07
Re: Scrolling to bottom of a Web page on loading
Leif, what you have suggested is true. But the page has instructions at the top and the search bar at the bottom. and each time the page is refreshed or loaded it should be scrolled to the bottom.
I hope I have made my question clear.
I hope I have made my question clear.
Best Regards,
Adam
Adam
-
- SilverLounger
- Posts: 2347
- Joined: 23 Feb 2010, 12:07
Re: Scrolling to bottom of a Web page on loading
Thanks for the reply and suggestion I've changed my mind to place the search bar at the top which makes it easier to work without using complicated codes.
Best Regards,
Adam
Adam
-
- Administrator
- Posts: 7218
- Joined: 15 Jan 2010, 22:52
- Location: Middle of England
-
- SilverLounger
- Posts: 2347
- Joined: 23 Feb 2010, 12:07
Re: Scrolling to bottom of a Web page on loading
Thanks. It was all you who made the change.
Best Regards,
Adam
Adam