Closed Thread Icon

Preserved Topic: HELP with a *simple* menu (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18136" title="Pages that link to Preserved Topic: HELP with a *simple* menu (Page 1 of 1)" rel="nofollow" >Preserved Topic: HELP with a *simple* menu <span class="small">(Page 1 of 1)</span>\

 
lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 07-13-2001 09:46

hi!

I want to make a simple script like a navbar menu like this:

code:
<div id="id1" style="border:solid 1px red;position:absolute; left:140px; top:117px; width:224px; height:163px; z-index:1" onmouseout="status='out';" onmouseover="status='enter';"> 
<table width="75%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><a href="file1.htm">abc</a></td>
</tr>
<tr>
<td align="center"><a href="file2.htm">abc</a></td>
</tr>
<tr>
<td align="center"><a href="file3.htm">abc</a></td>
</tr>
<tr>
<td align="center" height="22"><a href="file4.htm">abc</a></td>
</tr>
<tr>
<td align="center"><a href="file5.htm">abc</a></td>
</tr>
</table>
</div>



but when it comes to NetScape 4, the div's onmouseover or onmouseout events doesn't work,
i just want like:
1) onmouseout = "hide menu layer"
2) onmouseover some other object = "show menu layer"

can someone please advise me?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-13-2001 10:16

You can't set onMouseOver & onMouseOut directly in the DIV tag in Shitscape. But, you can do that in your script, like this:

document.layers["id1"].onmouseover = new Function("status = 'over'");
document.layers["id1"].onmouseout = new Function("status = 'out'");

Enjoy!

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 07-13-2001 12:12

Thanks Max!

« BackwardsOnwards »

Show Forum Drop Down Menu