Results 1 to 2 of 2

Thread: Please Help - Drop down links?

  1. #1
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Please Help - Drop down links?

    Hi, sorry I don't know the name but, Im desperately searching for the HTML code (or java?) for when you go to click on a link, and It takes you down the page, to that portion of particular text you want to read. If any one knows what I mean and knows the code for this I'd greatly appreciate it!!!!
    Thanks!
    -Kerrie

  2. #2
    Join Date
    Jan 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, Kerrie...

    It's easy to set these links up in HTML. You need to use <a> (anchor) tags. Let's say you have the following structure:

    Table of Contents
    Section 1
    Section 2
    Section 3

    You need to add <a> links to the section headings like this:

    <a name="section1"></a>Section 1

    etc.

    Now in your Table of Contents, add the following <a> tags:

    <a href="#section1">Section 1</a>
    <a href="#section2">Section 2</a>

    etc.

    Depending on how long the page is, you might want to add "Back to top" links.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •