Using Image Maps with Internet Information Server (146573)
The information in this article applies to:
- Microsoft Internet Information Server 1.0
This article was previously published under Q146573 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: SUMMARY
The following describes how you can set up an image map on an HTML page:
- Create a DEFAULT.HTM file in the default WWWROOT directory.
- Find or create a GIF image to be used as the image map.
- Create the image map file (in CERN format) in the WWWROOT directory.
Generally, the map file has the same file name as the GIF file. For
example, create an image map file called MYIMAGEMAP.MAP for
MYIMAGEMAP.GIF.
- Create a link in your DEFAULT.HTM file referencing the image map, as
follows:
<A HREF="myimagemap.map"<>IMG SRC="myimagemap.gif" ALIGN="BOTTOM"
ismap border=0 ALT="Test Image Map"></A>
The example code above displays the GIF image on the web page. When a user
clicks a mapped area of the image, the designated link is activated. An
image map editor, such as Map THIS!, can be used to create the "hot spots"
on the image map. Advanced HTML tags can be used to modify the placement of
the image on the page.
For more information, see the documentation of the image map editor.
The third-party products discussed here is manufactured by vendors
independent of Microsoft; we make no warranty, implied or otherwise,
regarding this products' performance or reliability.
Modification Type: | Minor | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbnetwork KB146573 |
---|
|