zIndex & AREA map 
Author Message
 zIndex & AREA map

Hello,

I am unable to make zindex work with AREA map.

When a user clicks on, say, the left side of the picture tictactoeboard.gif, I want the circle.gif to come on top.
When the user clicks on the right side of it, I would like the cross.gif to come on top.

I would appreciate your help.

Thank you,
rajan

 <DIV STYLE="position:relative;left:0;top:0;height:180;width:180">

 <IMG ID="tictactoeboard"
   src="tictactoeboard.gif"
   STYLE="position:absolute; left:0; top:0"
   USEMAP="#grid">

 <IMG ID="circle"
  src="circle.gif"
  STYLE="position:absolute; left:0; top:0"
  onclick="tictactoeboard.style.zIndex=2; circle.style.zIndex=1">

 <IMG ID="cross"
  src="cross.gif"
  STYLE="position:absolute; left:0; top:0"
  onclick="tictactoeboard.style.zIndex=2; cross.style.zIndex=1">

 </DIV>

<MAP NAME="grid">
<AREA NAME="1" COORDS="0,0,60,60"
href="javascript: tictactoeboard.style.zIndex=1; circle.style.zIndex=2"
onclick="javascript: tictactoeboard.style.zIndex=1; circle.style.zIndex=2">

<AREA NAME="1" COORDS="121,0,180,60"
href="javascript: tictactoeboard.style.zIndex=1; cross.style.zIndex=2"
onclick="javascript: tictactoeboard.style.zIndex=1; cross.style.zIndex=2">
</MAP>



Wed, 30 Apr 2003 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. zIndex, Area Maps & HotSpots

2. groff & imageable area on Apple LaserWriter

3. map network drive & getFile

4. multiple mapped drives & user properties

5. ASP & Drive Mapping

6. zindex?

7. changing zIndex for <DIV>

8. zIndex value not getting set properly

9. zIndex value not getting set properly

10. zIndex problem...

11. Mac&StyleScript&EPS&ClarisWorks&Ill7

12. How do I map a drive that has already been mapped

 

 
Powered by phpBB® Forum Software