homepage Welcome to WebmasterWorld Guest from 54.226.191.80
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Jump to another section of the same webpage
How do I jump to another textsection of the same webpage?
Franky




msg:966207
 11:34 pm on Aug 27, 2002 (gmt 0)

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?

 

Knowles




msg:966208
 11:41 pm on Aug 27, 2002 (gmt 0)

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.

fathom




msg:966209
 11:44 pm on Aug 27, 2002 (gmt 0)

same as above.

Franky




msg:966210
 9:47 am on Aug 28, 2002 (gmt 0)

Thanks very much Knowles and Fathom!

It works perfectly!

Birdman




msg:966211
 10:36 am on Aug 28, 2002 (gmt 0)

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"!

rewboss




msg:966212
 5:37 pm on Aug 28, 2002 (gmt 0)

You can also jump to a specific place on a different page. For example:

<a href="foobar.html#sect1">Click here!</a>

Knowles




msg:966213
 5:45 pm on Aug 28, 2002 (gmt 0)

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?

Franky




msg:966214
 7:24 pm on Aug 28, 2002 (gmt 0)

Birdman and rewboss, thanks for sharing your knowledge!

Birdman and Knowless, thank you for the warm welcome to WebmasterWorld!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved