How to go directly to an article
Started by
MkLoe
, Feb 15 2006 09:24 PM
#1
Posted 15 February 2006 - 09:24 PM
#2
Posted 15 February 2006 - 10:47 PM
I assume you are talking about clicking on a link and taking you to another part of the same page?
You use anchor tags and name atributes, then link to them just as you would another page/site. It's really easy to do.
For example:
First you'll need to name the anchor somewhere in the document, ie:
<a name="top">Here is the top</a>
Then this is how you would link to that section:
<a href="#top">To Top</a>
So when they click "To Top", it jumps them back up to where the <a name="top"> is.
Make sense?
You use anchor tags and name atributes, then link to them just as you would another page/site. It's really easy to do.
For example:
First you'll need to name the anchor somewhere in the document, ie:
<a name="top">Here is the top</a>
Then this is how you would link to that section:
<a href="#top">To Top</a>
So when they click "To Top", it jumps them back up to where the <a name="top"> is.
Make sense?
#3
Posted 16 February 2006 - 03:38 PM
welll, not really sorry can you try to rephrase it maybe or use an example? Well I was just talking about a link not in making a webpage. Is that possible? Like If I have an article I want someone to see which has many articles in one page(This page is not mine) Can I make the page go directly there? I don't know if that helped but that is what I am trying to ask.
EXP: Webpage
Article 1
Article 2
Article 3
Could I have the page go directly to article 3? Even though I did not create the page?
EXP: Webpage
Article 1
Article 2
Article 3
Could I have the page go directly to article 3? Even though I did not create the page?
Edited by MkLoe, 16 February 2006 - 04:57 PM.
#4
Posted 16 February 2006 - 06:50 PM
Only if that website has anchors set at the article. Like the one you linked to in your first post:
http://www.aladdin.c...lossary.asp#P2P
You just use that whole link and it goes right to it, but if they don't have named anchors (generally you can tell they have the anchors when there is a "#something" in the URL) otherwise no, not that I'm aware of.
<a href="http://www.aladdin.c...2P">Article</a>
http://www.aladdin.c...lossary.asp#P2P
You just use that whole link and it goes right to it, but if they don't have named anchors (generally you can tell they have the anchors when there is a "#something" in the URL) otherwise no, not that I'm aware of.
<a href="http://www.aladdin.c...2P">Article</a>
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users