Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

How to go directly to an article


  • This topic is locked This topic is locked

#1
MkLoe

MkLoe

    Visiting Staff

  • Member
  • PipPipPip
  • 650 posts
I have a question, when you have a website, how do you make it go to the article you want? like for example This. Do you just add the asp or what?
  • 0

Advertisements


#2
Michelle

Michelle

    Malware Removal Goddess

  • Retired Staff
  • 8,928 posts
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?
  • 0

#3
MkLoe

MkLoe

    Visiting Staff

  • Topic Starter
  • Member
  • PipPipPip
  • 650 posts
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?

Edited by MkLoe, 16 February 2006 - 04:57 PM.

  • 0

#4
Michelle

Michelle

    Malware Removal Goddess

  • Retired Staff
  • 8,928 posts
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>
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP