RawDog Posted September 21, 2009 Report Share Posted September 21, 2009 <a href="java script:scroll(0,0);">Back to Top ^^^</a> That is what I currently use. But if I change the x,y values to something like 1000,1000 then it refreshes the page (I know why, because it's in a link). But is there any other way to do this w/o the huge JS scripts in the page? I just want it to scroll to a certain part of the page.... Link to comment Share on other sites More sharing options...
jeffman Posted September 21, 2009 Report Share Posted September 21, 2009 (edited) This might be what you want. Notice the anchor with a name attribute at Chapter 4. This example scrolls down, but you can certainly have a "Back to Top" link.http://www.w3schools.com/tags/tryit.asp?fi...l_link_bookmark Edited September 21, 2009 by Deirdre's Dad Link to comment Share on other sites More sharing options...
RawDog Posted September 22, 2009 Author Report Share Posted September 22, 2009 Thanks Buoy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now