views:

62

answers:

2

I need to move the page from top to bottom, just like it happens in the best site of the world( stackoverflow), when we change the type of sorting of our questions, it moves the page.

How can I get such an effect? I even don't know how to search for information about it, because don't know the keywords, so I decided to ask here :/

Thanks

+6  A: 

Did you mean scrolling the page automatically? If so, have a look at:

jQuery ScrollTo plugin

See this demo to confirm if that is what you are looking for.

Sarfraz
Exactly;) i did't know, that there is such plugin there:) Thanks muchp.s (i haven't learned to clearly ask questions:( yet)
Syom
+4  A: 

keywords: "scroll page to position using javascript" in particular, you want the window.scrollTo() method

window.scrollTo(x,y);

that exists in native JavaScript, or a jQuery method that wraps this (e.g. jQuery ScrollTo plugin).

scunliffe