Log In · Register

 
page anchors?
speakerboxx123
post Jun 21 2007, 04:46 PM
Post #1


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



okay, i know what page anchors are, however i dont know how to use them...

help please??

p.s. i've already read tutorials and w3schools tutorials, i dont want any links to sites...thanks in advance



-anthony
 
 
Start new topic
Replies
freeflow
post Jun 21 2007, 05:57 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Anything you want. Here I'll explain. First you make a link like this:
CODE

<a href=#bottom>Go to the bottom of the page</a>

bottom: This is the name of the section you want to link people too. Name it whatever you want. This will not be seen by anyone but you (the coder).
Go to the bottom of the page: Is what everyone will see. Its a link.


Then what you do is you make another div or something for the text you want people to be anchored too thats further down on the page. In that div or whatever you use you put this code:
CODE
<a name=bottom> text here </a>

bottom: (or whatever name you chose) has to be consistant. Just so that the link knows where to direct people.
text here: Is the text you want people to see once they click the link.


Get it?
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: