Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript overlap

 
Chi Zhou
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I created a page containing a menu and a drop-down
list below the menu. When I move the mouse to the
menu, it displays the selection list, but it's
overlapped by the drop-down list, in another word,
it's behind the drop-down list, part of the menu
selection can't be seen. I have tried to use
style="position:relative;", and
<LAYER visibility=hide id=menu1>,
they didn't work.
Any ideas?
Thanks,
Chi
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
style="visibility:hidden"
layer tag is only supported by Netscape 4.x browsers
use div tag...
selected(dropdowns in Netscape 4.x) are always on top
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look at this, I wrote this for someone else on this board
http://www10.brinkster.com/a1ien51/JavaRanch/showhidetoggle.htm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic