Reply
How do you make a "Jump to" Menu?
Old 12-28-2004, 02:54 PM How do you make a "Jump to" Menu?
Webmaster Talker

Posts: 560
I want to be able have it so (in the example below), when someone clicks on Link A, it jumps down to the part of the page that talks about A, and the same with Link B and C. This is commonly seen done with FAQ's, like when someone clicks on the question at the top, it jumps down to the part of the page that answers that question.

Link A
Link B
Link C

A


B


C

Thanks,
Matt
170 Designs is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 12-28-2004, 04:56 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
PHP and Unicode with UTF-8
Posts: 3,108
Location: Toronto, Ontario
You can use anchors, or set elements with an ID:

HTML Code:
<a href="#partA">Go to part A</a><br />
<a href="#partB">Go to part B</a><br />
<a href="another_page.html#partC">Go to part C on another page</a><br />

<a name="partA"></a>
<h1>Part A</h1>
Blah blah blah

<h1 id="partB">Part B</h1>
Blah blah blah
Christopher is offline
Reply With Quote
View Public Profile Visit Christopher's homepage!
 
Old 12-28-2004, 05:19 PM
Webmaster Talker

Posts: 560
Chroder, thank you so much. I greatly appreciate it.

Matt
170 Designs is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do you make a "Jump to" Menu?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12279 seconds with 13 queries