HTMLGoodies
The ultimate html resource
Earthweb.com


About the Double-Underlined Links


Become a Partner




Search Clipart.com:



internet.commerce















HTML Goodies : HTML and Graphics Tutorials : Getting Started Tutorial: So You Want A Page Jump, Huh?

HTML GOODIES TO GO NEWSLETTER


Other Related Newsletters

So You Want A Page Jump, Huh?


By Joe Burns

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

    • The A HREF command is the same as a basic link except the link is to a codeword rather than a URL.
    • PLEASE NOTICE there is a # sign in front of the codeword. You need that to denote it is an internal link. Without the # sign, the browser looks for something outside the page named after your codeword. ...and it ain't gonna be there.
    • Your "codeword" can be just about anything you want. I try my best to keep it short and make it denote what it is jumping to. There might be a limit to the number of letters you can use--but I haven't found it yet.
    • The point where the page will jump follows the same general format except you will replace the word HREF with the word NAME.
    • PLEASE NOTICE there is no # sign in the NAME command.
    • Note! Where you place the NAME target will appear at the top of the screen browser.

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.

Tools:
Add htmlgoodies.com to your favorites
Add htmlgoodies.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

IT Management Networking & Communications Web Development Hardware & Systems Software Development Earthwebnews.com

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Microsoft PDF: Top 10 Reasons to Move to Server Virtualization with Hyper-V
Microsoft PDF: Six Reasons Why Microsoft's Hyper-V Will Overtake Vmware
Microsoft Step-by-Step Guide: Hyper-V and Failover Clustering
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Microsoft PDF: Top 11 Reasons to Upgrade to Windows Server 2008
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
  PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
HP eBook: Guide to Storage Networking
MORE WHITEPAPERS, EBOOKS, AND ARTICLES