Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show / Hide Layer - to make a pull down menu
Message
From
24/01/2002 07:22:13
 
 
To
All
General information
Forum:
Internet
Category:
Javascript
Title:
Show / Hide Layer - to make a pull down menu
Miscellaneous
Thread ID:
00609585
Message ID:
00609585
Views:
46
I used javascript to show/ hide layer.
<! *******  Layer HERE!!!!! >

<div id="LayerEdu" style="position:absolute; left:321px; top:106px; width:101px; height:86px; z-index:3; visibility: hidden" onMouseOut="MM_showHideLayers('LayerEdu','','hide')"> 

**************************************************************************
when I use 'onMouseOut" to high the current layer, the layer was hide if i mouseout one of the option image , say "box/ed1.gif" below
**************************************************************************
  <table width="75%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Edu1','','box/ed1UP.gif',1)"><img name="Edu1" border="0" src="box/ed1.gif" width="180" height="26"></a></td>
    </tr>
    <tr>
      <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Edu2','','box/ed2UP.gif',1)"><img name="Edu2" border="0" src="box/ed2.gif" width="180" height="26"></a></td>
    </tr>
    <tr>
      <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Edu3','','box/ed3UP.gif',1)"><img name="Edu3" border="0" src="box/ed3.gif" width="180" height="26"></a></td>
    </tr>
I am sure that the javascript is no problem, but i don't understand why the event "onMouseOut" detect my mouseOut on 1 of the row of the table within the layer instead of the whole layer.

The question seems silly, but i really don't understand, Cound anyone please explain to me?
Reply
Map
View

Click here to load this message in the networking platform