Results 1 to 3 of 3

Thread: onMouseOver with layer or div

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    onMouseOver with layer or div

    in explorer onMouseOver works,
    but in netscape it does not seems to work!!

    how can I make this work in netscape!!!


    Code:
    <div id="hotSpot" onMouseOver="hideSubMenu();" style="position:absolute;width:2000px;height:262px;left:0px;top:0px;visibility:visible;z-index:1">
    <table width="100%" height="100%" border="0">
    <tr><td>&nbsp;</td></tr>
    </table>
    </DIV>

    I use this because i want to hide the submenu when the
    mouse is out of the submenu!!

    any ideas!!

  2. #2
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    sebs,

    Have you tried wrapping it in a anchor tag?

    <a onClick = "return false;" onMouseOver="hideSubMenu();" >

    <div id="hotSpot" style="position:absolute;width:2000px;height:262px;left:0px;top:0px;visibility:visible;z-index:1">
    <table width="100%" height="100%" border="0">
    <tr><td> </td></tr>
    </table>
    </DIV>
    </a>

    Chris
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  3. #3

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    i had to make a condition,

    if explorer i use the div tag,

    if netscaoe i use the layer tag,


    the mouseOver work with layer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width