| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Jump to another section of the same webpage|
How do I jump to another textsection of the same webpage?
I can't figure out how I create links on the top of a single page that jump to different (text)sections/parts within the same page (and back from that section to the top of the page).
Does anyone know how I create such links forth and back within one single page?
Its been awhile since I have used this but I do beleive this will work
<a href="#text"> ..... clicking will take you to
<a name="text"> .... then to return back to the top
<a href="#top"> .... I do beleive. like I said its been awhile.
same as above.
Thanks very much Knowles and Fathom!
It works perfectly!
Or <div id="anyname"></div>content you want to jump to.
And then as above...
<a href="#anyname">jump to anyname</a>
Oh yea, welcome to Webmaster World "Franky"!
You can also jump to a specific place on a different page. For example:
<a href="foobar.html#sect1">Click here!</a>
Really where are my mannors Welcome to WebmasterWorld Franky.
Birdman good point on the div, does it have to be ID or could it be Class as well? I am guessing ID since ID can only be used once on a page. Am I right to assume that?
Birdman and rewboss, thanks for sharing your knowledge!
Birdman and Knowless, thank you for the warm welcome to WebmasterWorld!
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved