Click to See Complete Forum and Search --> : can you set the scroll of a css layer?


lomokev
03-14-2005, 03:47 PM
basically i have a div layer with a scroll bar on the side. by default it shows the content from the top. is it possible when the page is opened for the content to be shown from the middle or bottom ? maybe using java script?

my page: http://www.thehopeandanchor.net/nypd/showplace.php

so when the page opens i want to be all already scrolled to a pre defined point like this:

http://www.thehopeandanchor.net/fk/scroll.jpg

Fang
03-15-2005, 04:35 PM
scrollIntoView (http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/scrollintoview.asp)