page anchors? |
![]() ![]() |
page anchors? |
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 |
|
|
|
Jun 21 2007, 04:53 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Sometimes you have to read to learn. This is like 3 lines. It gives you the code and what you need to know. Its only 3 lines.. read it and then try it. Then if it doesn't work I'll explain the part you don't get. K? Click
Its only three lines ok maybe four. |
|
|
|
Jun 21 2007, 05:03 PM
Post
#3
|
|
|
im with the marching band ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 740 Joined: Dec 2006 Member No: 491,167 |
okay but what is the "name of link"? she says... QUOTE This code should be before the section of the links on the page. Just edit the CAPS. [left] CODE <a href=#NAMEOFLINK>LINKHERE</a> [left]2. This code needs to be on the link where you want it to go to, edit the CAPS: [left] CODE <FONT color=#000000 size=1><BR><p><BR><p><BR><p><BR><p><BR><p><a name=NAMEOFLINK>STUFF GOES HERE/IMAGES/ETC!</FONT> [left]3. Make sure the "NAMEOFLINK" match, or else it won't work. |
|
|
|
Jun 21 2007, 05:57 PM
Post
#4
|
|
|
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? |
|
|
|
Jun 21 2007, 06:16 PM
Post
#5
|
|
|
im with the marching band ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 740 Joined: Dec 2006 Member No: 491,167 |
i put this in one part of my code:
QUOTE <div class="side"> new site :]<br> will update soon.<br> no time because of summer school :[<br> <a href=#bottom>bottom of page?</a> </div> </div> and this at the end of my code: QUOTE </body> </html> <a class=bottom><b>bottom of page</b></a> and it doesnt work... |
|
|
|
Jun 21 2007, 06:53 PM
Post
#6
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Your second part can not go under </body></html>... or else it won't work. Nothing is supposed to go under there at all. Let me just tell you the structure of a page really quickly...
CODE <html> <head> <title>TITLE OF THE SITE GOES HERE</title> CSS GOES HERE (IN STYLE TAGS) UNLESS YOU ARE USING A STYLESHEET THATS GOING TO BE LINKED INTO THE PAGE. </head> <body> All other codes go here. </body> </html> Anyways put the second code .. inside of a div so you can position it where you want it. Then you put it in the body section. Another thing its not <a class=" "> its <a name=" ". |
|
|
|
Jun 21 2007, 07:27 PM
Post
#7
|
|
|
im with the marching band ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 740 Joined: Dec 2006 Member No: 491,167 |
YAY! you are the best
you |
|
|
|
![]() ![]() |