BigNoseBird.Com- home Small Logo
The 508 compliant Guide to 
       Big Nose Bird
BACK

How do I get a browser to go to a specific part of a page?

You have probably noticed that on many of my pages, that if you select certain links, such as to my CGI-BIN page, that you wind up looking right at what it was I was telling you about. The secret to this are the

the <A NAME="anchor_name"></A> tags.

Before I show you the exact code to do this, let's just take a fast look at a full URL: (port ommitted since rarely used)

http://www.bignosebird.com/docs/h17.html#TOP

This URL tells the browser the following:

  • This is a HTML document request
  • The document can be found at the www.bignosebird.com domain
  • It is located in the docs directory under its root directory
  • It's name is h17.html (this document in fact)
  • Position the top of the screen at a location called TOP

How to do it:

Here is a menu presenting three navigation choices on this page. Go ahead and give it a try. This section is called the "How To" so you can find your way back again.

Go to top of page
Go to middle of page
Go to bottom of page

This is the source code for the menu above:

<A HREF="#TOP">Go to top of page</A><BR>
<A HREF="#MIDDLE">Go to middle of page</A><BR>
<A HREF="#BOTTOM">Go to bottom of page</A><BR>

I also had to place the following tags in my document. The best way to see them is to view the actual document source with your browser. You will see some rather large gaps created using the <PRE> tags.

<A NAME="TOP"><A>
<A NAME="HOW_TO"></A>
<A NAME="MIDDLE"></A>
<A NAME="BOTTOM"></A>

Final Note: To address a specific point on any page- just place the <A NAME=> tag in the target document. Create a link in the calling menu that corresponds to the anchor tag your created. Try it!

http://www.bignosebird.com/cgi.shtml/#GBOOK


























WELCOME TO THE MIDDLE!

Go to top of page
Go back to the How To
Go to bottom of page























WELCOME TO THE BOTTOM!

Go to top of page
Go to middle of page
Go back to the How To


Find or Give Help on the BBS
 
Home Top E-Mail
If it looks great, it's by Christine
Some Fine Print
© 1997-2003 BigNoseBird.Com®, Inc. All rights reserved. All other trademarks are the sole property of their respective owners. The products that we recommend are only ones that we use. We have no relationship with any of the authors or their companies. We cannot assume responsibility for their ultimate performance or lack of same. We also cannot assume responsibility for either any programs provided here, or for any advice that is given since we have no control over what happens after our code or words leave this site. Always use prudent judgment in implementing any program- and always make a backup first! For further information, please read our Privacy Statement. We can be contacted at webmaster@bignosebird.com.


<reallybig.com>
Web Builder Network Portal
Advertise
on the
Reallybig.com
Network
BigNoseBird Newsletter
Subscribe
Un-Subscribe


Sign up today to receive our low volume newsletter. Tips, tricks, news, and whatever else crosses our minds.
Back Issues
Privacy Statement