Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: onClick Events under IE5.5


Message #1 by "Ian Doak" <ian.doak@e...> on Tue, 22 Jan 2002 17:16:24
Try for a IE patch then

-----Original Message-----
From: Ian Doak [mailto:ian.doak@e...]
Sent: Wednesday, January 23, 2002 11:56 AM
To: javascript
Subject: [javascript] Re: onClick Events under IE5.5


Thanks to all who replied with suggestions, but unfortunately I still 
couldn't get them to work on hotspots within a client-side image.

I only solution I have managed to implement on both IE5 and IE5.5 is to 
use the <MAP> tag and create a series of <AREA>'s on the image. I suppose 
these are the "correct" tags to use rather than using onClick() events on 
<DIV> tags.

Thanks once again

Ian


<HTML>
<HEAD>
<TITLE>Image map Page</TITLE>

</HEAD>
<BODY>

<IMG BORDER=0 USEMAP="#Map1" src="../images/Tenure.gif">

<MAP Name="Map1">
	<AREA SHAPE="rect" COORDS="250,37, 142, 30" 
HREF="../field_definitions/Attribute_Reference.htm">

</MAP>

</BODY>
</HTML>

  Return to Index