jquery - Return to top of the page when clicking back -
I have the following question / problem:
There are 3 tabs on this page
[It's in Greek language but I hope you understand it]
Each tab contains links to articles.
When you click on an article and then press the back button on the browser, the tab and selected scrolls for the article you clicked on.
The more I like this behavior, the more I want in this matter.
I want users, always return to the page, always the top.
What is the best way to achieve this.
Will it have to do this by the fact that I am using the Jabab tab and I have the code to return the reasons of the previously selected tab to jump on the first click anchor ??
Any help would be greatly appreciated. Thanks
How about
$ (document) .ready (Function () {date} (function ()) is your document handler (I know that you may already have one, something like this) Window.scrollTo (0, 0);});
like this
Comments
Post a Comment