Jump to content

HTML/CSS help please


xsamix86

Recommended Posts

Hi all, hope this is in the correct section :)
Just a quick question, I want to be able to make a navigation bar and page jump that go to different sections on the same page. Similar to this: http://petpages.neopets.com/~Raikote#e. Can anyone give me a quick low down on how I can do it.
Thanks for any help! :) xx

 

This topic has been edited by a member of staff (Anime).
The topic was posted in the wrong area.
Please check your user inbox to see if you have been contacted regarding this topic.
Per the reason above, this topic has been MOVED from Graphics Help to Computers & Programming.

Link to comment
Share on other sites

I believe you are looking for page anchors. I'm not 100% certain though. Maybe google how to do page anchors and see if it works, unless someone more knowledgeable with code comes along. :)

Link to comment
Share on other sites

They're most commonly called anchors, but can be refered to as page jumps.

 

1. First you create an anchor link that the person clicks on initially. Here is the HTML code for the anchor link.

<a href="#anyword">Jump to any place</a>

 

2. Next, you need to create a named anchor in the spot that you are going to jump to. This anchor will require the following syntax.

<a name="anyword">Jump to this place</a>

 

For example, if I wanted to allow folks to jump from the words "Jump to Bottom" to the bottom of the page I need to create 2 anchors.

 

I need to place an anchor that says "Jump to Bottom" that points to the bottom of the page.

The syntax is:

<a href="#bottom">Jump to Bottom</a>

 

I also need to create a named anchor at the bottom of the page. The syntax is:

 

<a name="bottom">You're at the bottom!</a>

 

I'm pretty sure this is suppose to be in the Computers and Programming board, but I'm sure it's no worries. :D

If you find yourself needing more help, w3schools is always a great resource. http://www.w3schools.../html_links.asp

 

[Edit: Clarification.]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...