Results 1 to 3 of 3

Thread: FAQ page help

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

    Red face FAQ page help

    1) Script Title:

    2) Script URL (on DD):

    3) Describe problem: I am putting up an FAQ page and will have the questions posted at the top of the page. Where do I find the script when the question is clicked on you are taken to the answer further down the same page?

  2. #2
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    No script.

    Code:
    <a href="#answer1">question 1</a>
    and place this code just above the answer

    Code:
    <a name="answer1"></a>
    you can have unlimited just as long as the text in blue match
    Ryan
    Sevierville, TN

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by NXArmada
    ... place this code just above the answer

    Code:
    <a name="answer1"></a>
    The more flexible approach would be to use an id attribute to mark an element as a destination anchor. In an FAQ, the heading for the entry would be the most appropriate:

    HTML Code:
    <h3 id="set-cookies">2.3 How do I set cookies?</h3>
    <p>Blah...</p>
    Mike


    In the example above, a level-3 heading would be structurally appropriate: the document title would be the level-1 heading, the section heading (say, "2 State management") would be the level-2 heading, and each answer within that section would begin with a level-3 heading. Don't use heading levels only for presentation.

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
  •