Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q2061 How do I open files using imagemaps?

irt.org | Knowledge Base | HTML | Q2061 [ previous next ]

Q2061 How do I open files using imagemaps?

In Imagemaps the Area tag will define the coordinates and the respective URL to be invoked on mouse click.

Here is a sample code that shows how to open files by clicking on imagemapes. It is possible to open File1 or File2 by clicking the mouse button on I or II half of Img1.

<MAP name="FileMap">
    <AREA  COORDS='0,0,100,100' HREF='File1.html'>
    <AREA  COORDS='100,0,200,100' HREF='File2.html'>
</MAP>

<IMG SRC="Img1.gif" WIDTH='200' Height='100' border='0' USEMAP='#FileMap'>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.