Liquid Fire Posted April 14, 2007 Share Posted April 14, 2007 how can i scroll in content like done on this site when you click on the rating? Quote Link to comment Share on other sites More sharing options...
Goose Posted April 15, 2007 Share Posted April 15, 2007 An easy way to scroll within a document is by setting up anchors. Basically if you put this code somewhere in the document <a name="anchor_example">Anchor Example</a>, then anywhere else in the document you can make a link to that anchor by doing this: <a href="#anchor_example">Click here to scroll to our Anchor Example</a>. Quote Link to comment Share on other sites More sharing options...
fenway Posted April 20, 2007 Share Posted April 20, 2007 .scrollIntoView() works as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.