i am look for a way to make it so that when someone clicks on a link on a web page, that the page will scroll down to where that paragraph of information is. If you know how to do this please share. [email][email protected][/email]
@KdariusauthorMar 22.2005 — #thanks but i am new to web design where do i put this information on the link and can you have these in different frams. Can you have it where when you click on the link a web page will open and go straight to that part. I am really sorry about my lack of knowlege.
***NAVIGATION***<a href="icecream.html#choc">Chocolate</a> <a href="icecream.html#van">Vanilla</a> <a href="icecream.html#cof">Coffee</a>***CONTENT***<p id="choc">Chocolate is good</p> <p id="van">Vanilla is better</p> <p id="cof">Coffee is more-better</p>NOTE: the values of "id" must be unique.
@Helena88Mar 22.2005 — #Find the page, and the exact paragraph. Before the paragraph put this
[b]<a name="SPECIAL"></a>[/b]
This pretty much marks the document and says, "Hey this is a special point!"
Now you said you're using frames right? Well this isn't going to be any different than opening it in a new window or anything. You just have to add where you'd like the page to open, for this you use, [b]target="variable"[/b].
#SPECIAL = which paragraph?! when the browser is calling the url you specified, it will also then direct you to that special paragraph since you've asked it to.
FrameName = what frame you want it to go to
You can mark many paragraphs in that document and give them all different links! Make sure their names are all different though!
I hope that helps, I'm only 16, so I don't know how knowledgeable I really am at this kind of thing. ?