Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 58   Yesterday: 1,557   Max: 1,872   Total: 377,333   Current Users : 16 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Attribute for <AREA ...>
NOHREF

Looking for info on how to make an image map?

See our tutorial How to Make an Image Map
NOHREF indicates that the <AREA ...> is not a link.

Of course, NOHREF doesn't make much sense unless the area is in a map that uses <AREA SHAPE=DEFAULT> or the area overlies another area that does have an HREF. For example, suppose we wanted an image map in which a circle in the map is a link, but a smaller circle inside the link circle is not a link. We could accomplish that by first putting the tag for the inner area (earlier <AREA ...> tags overlay later <AREA ...> tags), and using the NOHREF atribute, then putting the tag for the outer <AREA ...>:

<DIV ALIGN=CENTER>

<MAP NAME="map1">
<AREA 
   NOHREF 
   SHAPE=CIRCLE COORDS="79,79, 56">

<AREA
   HREF="thecircle.php" 
   ALT="The Circle" TITLE="The Circle"
   SHAPE=CIRCLE COORDS="79,79, 78">
</MAP>

<IMG SRC="../graphics/circleincircle.gif"
   HEIGHT=158 WIDTH=158 ALT="Click the O!" BORDER=0
   USEMAP="#map1"><BR>

[ <A HREF="thecircle.php">The O</A> ]

</DIV>

which gives us:

The Circle Click the O!
[ The O ]


Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.