silverem
07-17-2003, 12:23 PM
sorry, i don't know what it's called, and i didn't know where to post this, so i put it here. but i want to put links at the top of a page and put the info on the rest of the same page, and then when the link is clicked, have it take you strait to wherever that part of the page is. does that make sense? can anyone tell me how to do this?? lol, thank you.
Spirit892
07-17-2003, 12:27 PM
do you mean a frame? (http://lissaexplains.com/frames.shtml).
silverem
07-17-2003, 12:46 PM
no, not a frame. but like on the page you just posted, how the links are at the top, and then when you click them it takes you down to the info.
Lissa
07-17-2003, 01:13 PM
Oh, :lol: That's called a page anchor.
http://www.lissaexplains.com/html4.shtml#anchor
silverem
07-17-2003, 02:07 PM
ack wait...it didn't work. here's the code:
<head>
<style type="text/css">
body {cursor:crosshair}
</style>
</head>
<HTML>
<body scroll="auto">
<style type="text/css"><!--
body {direction:rtl}
body {margin:0em}
a:link {text-decoration:none; color:#958781}
a:visited {text-decoration:line-through; color:#958781}
a:active {text-decoration:none; color:#958781}
a:hover {text-decoration:none; color:#524A4A}
--></style>
<div style="direction:ltr">
<body bgcolor="#DED0CA">
<html><font color="000066">
<a href="#RIGHThereRIGHTnow">
<a href="#TOP5ive">
<a href="#lastREAD">
<a href="#lastHEARD">
<a href="#myCALENDER">
<a href="CDStoBURN"></font>
</p><BR><BR><BR>
<bR><b>[x]
<A NAME="RIGHThereRIGHTnow">
<font color="000066">RIGHThereRIGHTnow</font></b>
<font color="524A4A">
<br><b>//Date</b>: .17.July.2003.
<br><b>//Time</b>: 3:45 AM
<br><b>//Mood</b>: changing
<br><b>//Wearing</b>: silverchair "neon ballroom" shirt, striped pajama pants
<br><b>//Thinking</b>: i like this song.
<br><b>//Surfing</b>: nothing
<br><b>//Updating</b>: subpages
<br><b>//Chatting with</b>: no one. as usual.
<br><b>//Drinking</b>: nothing
<br><b>//Eating</b>: nothing
<br><b>//Doing</b>: thinking
<br><b>//last talked to</b>: ashley
<br><b>//Music</b>: Oasis-champagne supernova
<br><b>//Words</b>: "slowly walking down the hall/faster than a canonball..."
<br><b>//Stuck In My Head</b>: Liam's weirdo voice
<br></font>
<bR><A name="TOP5ive"></A>
<B>[x]<font color="000066">TOP5ive</font></b>
<font color="524A4A">
<br><b>//</b>Weezer [Say it Ain't SO]
<br><b>//</b>Oasis [All Around the World]
<br><b>//</b>Cold [Wasted Years]
<br><b>//</b>Mest [Jaded]
<br><b>//</b>Travis [Why Does it Always Rain On Me?]
<br></font>
<bR><A name="lastREAD"></A>
<b>[x]<font color="000066">lastREAD</font></b>
<font color="524A4A">
<br></A>
<b>//</b>John Fowles [The Magus] {still...}
</font>
<br>
<bR><A name="lastHEARD"></A>
<b>[x]<font color="000066">lastHEARD</font></b>
<font color="524A4A">
<br><b>//</b>Oasis [Champagne Supernova]
<br><b>//</b>Weezer [Say it Ain't So]
<br><b>//</b>Mest [Chance of a Lifetime]</font>
<br>
<bR><A name="myCALENDER"></A>
<b>[x]<font color="000066">myCALENDAR</font></b>
<font color="524A4A">
<bR><b>//7.18</b> zoo with rachel.<BR>
<b>//7.23</b> warped tour in atlanta. (i wish) :(<BR>
<b>//week of 7.20</b> do something with Ashley<BR>
<b>//week of 7.20</b> paint the band room<BR>
<b>//7.28</b> first day of band camp.
</font>
<br>
<bR><A name="CDStoBURN"></A>
<b>[x]<font color="000066">CDStoBURN</font></b>
<font color="524A4A">
<bR><B>//</b>Travis
<bR><b>//</b>Oasis
<bR><b>//</b>Bif ^^^^^
<bR><b>//</b>NIN
</font>
</div>
</body>
</html>
the bold parts are the page anchor code. i must've put something in the wrong place. can someone help me with this and tell me what i did wrong??
you will need to complete your link tags at the top like so...
<a href="#lastHEARD"> text or image here </a>
it also helps to have something inside the name links to...
<a name="lastHEARD"> space or text or image here </a>
silverem
07-17-2003, 02:53 PM
whooops! hehe, i knew that.
thank you! :)