zIndex & AREA map 
Author Message
 zIndex & AREA map


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,

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

 <IMG ID="tictactoeboard"
   STYLE="position:absolute; left:0; top:0"

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

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


<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">

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