View Full Version : is there an onScroll anchor ?

11-08-2004, 06:32 AM
basically i wanted to know the following: some mouses scroll 2-line at a time, other 3, other 4, etc... is there a way to set where a users scroll progress down a page will stop?

something like an anchor but interpreted by the mouse scroll?

11-08-2004, 10:56 AM
there are two methods you might wanna look up: window.scrollTo() and object.scrollIntoView() (IE only tho).

dunno why you didn't google (javascript scroll document) to see :D