So You Want A Page Jump, Huh?

By Joe Burns

http://www.htmlgoodies.com/tutorials/getting_started/article.php/3479511/So-You-Want-A-Page-Jump-Huh.htm (Back to article)

I get letters about how to do these internal page jumps all the time. These are a great way to allow people to move quickly inside a long page. I have them all over my HTML Goodies tutorials.

Here's what I'm talking about:

Click Here to visit
the bottom of this page.

Here's how ya do it...

You need to place two items on each page:

1. A basic link command pointing to another section of the page.
2. The point where the page will jump.

Here's the basic link command:

<A HREF="#codeword">Blue Words, Blue Words</A>

Here's how you denote where the jump will scroll the page:

<A NAME="codeword">

Here's what's happening


Jumping from another page

Let's say you have a tutorial--much the same as this one--and you will be jumping from page to page. It would make things a lot easier if, when you jump between pages, you could have the jumped-to page load at a specific point rather than loading at the top each time. Well, you can...

See the words "Welcome Back!" a few lines down? Well, I'm going to have you jump to a new page where it will explain the process and then you will jump back so "Welcome Back" appears at the top of the browser screen.

So here we go...

Click Here to Go

Welcome Back!

I knew I'd see you again.

So...do ya got it? Good. Thanks for coming.


Hi There...

...and welcome to the bottom of the page

No, seriously...you're at the bottom of the same page. Look at the scroll bar on the right. Now the square marker is towards the bottom. Do you want to learn how to do this?

Click Here to go
back to the top.