Hi,
I need help : I found the simplest and most precise way to open and close
submenu layers. it works perfectly with IE, but for some odd reason NS won't
recognize it.
Can anyone tell me why ?
And is there a way around the problem ?
I really like the elegance of this code and would like to keep using it.
Thanks in advance.
Roger Desparois
<head
<script language="Javas cript"`>
<!--
function Pop(name){
eval("document. all."+name+".st yle.visibility= 'visible'");
}
function Wop(name){
eval("document. all."+name+".st yle.visibility= 'hidden'");
}
//-->
</script>
</head>
<body>
<div id="prod"
Style="backgrou nd-color:#ff0000;P osition:Absolut e;Left:39px;Top :89px;Width:1
78px;Height:16p x;Visibility:vi sible;z-index:31" onmouseover="Po p('smprod')"
onmouseout="Wop ('smprod')">
<table width="178" height="16" border="0" cellspacing="0" cellpadding="0"
class="menu">
<tr>
<td align="center" valign="middle" >Volleyball</td>
</tr>
</table>
</div>
<div id="smprod"
Style="backgrou nd-color:#ff0000;t ext-align:right;Pos ition:Absolute; Left:39px
;Top:105px;Widt h:178px;Visibil ity:hidden;z-index:32"
onmouseout="Wop ('smprod')" onmouseover="Po p('smprod')">
<table width="178" border="0" cellspacing="0" cellpadding="0" class="menu">
<tr>
<td><img src="../images/espace1px.gif" width="178" height="5"></td>
</tr>
<tr>
<td align="center" valign="top">
<a href="../volleyball/en-ballons.html">B alls</a><br>
<a href="../volleyball/en-souliers.html"> Shoes</a><br>
<a href="../volleyball/en-genouillere.htm l">Kneepads</a><br>
<a href="../volleyball/en-chevillere.html ">Ankle braces</a><br>
<a href="../volleyball/en-filets.html">Ne ts</a><br>
<a href="../volleyball/en-accessoires.htm l">Accessori es</a></td>
</tr>
<tr>
<td><img src="../images/espace1px.gif" width="178" height="5"></td>
</tr>
</table>
</div>
</body
I need help : I found the simplest and most precise way to open and close
submenu layers. it works perfectly with IE, but for some odd reason NS won't
recognize it.
Can anyone tell me why ?
And is there a way around the problem ?
I really like the elegance of this code and would like to keep using it.
Thanks in advance.
Roger Desparois
<head
<script language="Javas cript"`>
<!--
function Pop(name){
eval("document. all."+name+".st yle.visibility= 'visible'");
}
function Wop(name){
eval("document. all."+name+".st yle.visibility= 'hidden'");
}
//-->
</script>
</head>
<body>
<div id="prod"
Style="backgrou nd-color:#ff0000;P osition:Absolut e;Left:39px;Top :89px;Width:1
78px;Height:16p x;Visibility:vi sible;z-index:31" onmouseover="Po p('smprod')"
onmouseout="Wop ('smprod')">
<table width="178" height="16" border="0" cellspacing="0" cellpadding="0"
class="menu">
<tr>
<td align="center" valign="middle" >Volleyball</td>
</tr>
</table>
</div>
<div id="smprod"
Style="backgrou nd-color:#ff0000;t ext-align:right;Pos ition:Absolute; Left:39px
;Top:105px;Widt h:178px;Visibil ity:hidden;z-index:32"
onmouseout="Wop ('smprod')" onmouseover="Po p('smprod')">
<table width="178" border="0" cellspacing="0" cellpadding="0" class="menu">
<tr>
<td><img src="../images/espace1px.gif" width="178" height="5"></td>
</tr>
<tr>
<td align="center" valign="top">
<a href="../volleyball/en-ballons.html">B alls</a><br>
<a href="../volleyball/en-souliers.html"> Shoes</a><br>
<a href="../volleyball/en-genouillere.htm l">Kneepads</a><br>
<a href="../volleyball/en-chevillere.html ">Ankle braces</a><br>
<a href="../volleyball/en-filets.html">Ne ts</a><br>
<a href="../volleyball/en-accessoires.htm l">Accessori es</a></td>
</tr>
<tr>
<td><img src="../images/espace1px.gif" width="178" height="5"></td>
</tr>
</table>
</div>
</body
Comment