Results 1 to 2 of 2

Thread: Using a link to take you to a spot lower on the page??

  1. #1
    Join Date
    Apr 2009
    Posts
    88

    Using a link to take you to a spot lower on the page??

    I'm trying to activate the links on the right of this page so that they take you to the corresponding paragraph lower on the page. And then use the "Back to top" text to take you back to the top.

    Would someone mind explaining how I could do this?


    http://irasitepreview.com/buying.html

    thank you

  2. #2
    Join Date
    Dec 2004
    Posts
    2,788
    You put in a marker to where the link will go to and then reference that in the link itself. To take some one to the top of your page put:

    <a name="top"></a>

    in the HTML code at the top of the page. Then use this link:

    <a href="#top">Back to top</a>

    to get them back to the top. For any other location on the page do the same thing, but obviously name each instance differently. What you name the links doesn't matter, but it's a good idea to use something that lets you know where the link goes to in case you edit the page in the future.

Similar Threads

  1. Savoie Nature
    By bleu73 in forum Website Design Reviews
    Replies: 1
    Last Post: 05 Jun 2007, 01:56 AM

Posting Permissions

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