jcbarr Posted March 1, 2007 Share Posted March 1, 2007 I know nothing of javascript, but I do know that something like this should be possible. Is there a way to add a snippet of code to my page so that when users load the page it will auto scroll down to a certain point in the page? I don't want it to scroll to the bottom, but just a certain amount of lines or pixels down. Anyone know something that can do this? Link to comment https://forums.phpfreaks.com/topic/40754-solved-auto-scroll-to-a-spot/ Share on other sites More sharing options...
fenway Posted March 1, 2007 Share Posted March 1, 2007 Look up scrollIntoView Link to comment https://forums.phpfreaks.com/topic/40754-solved-auto-scroll-to-a-spot/#findComment-197298 Share on other sites More sharing options...
jcbarr Posted March 1, 2007 Author Share Posted March 1, 2007 Awesome, thanks a lot for the direction. I guess I could have looked for that myself. Got the page to load and scroll the way that I want it to. Link to comment https://forums.phpfreaks.com/topic/40754-solved-auto-scroll-to-a-spot/#findComment-197436 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.