[Javascript] IE problem: form elements overlaps submenu

Roland Dong rdong at advance.net
Fri Aug 12 15:39:01 CDT 2005


Thanks for all your help.  I am thinking to use a selection box image to
replace the selection box on mouseover the navigation menu.  Just cheat a
little bit.

 

However I could not find a better way to do the swapping.  Can anyone throw
some light on this:

 

==================

navigation bar...

==================

 

 

<div  id="sel">

   <select name="movieId"><option value="">Select A Movie</option>

   <option value="">All Movies</option>

   <option value="42973">The Adventures of Sharkboy and Lavagirl in
3D</option>

   <option value="49679">Brooks &amp; Dunn</option>

   <option value="45549">The 40 Year-Old Virgin</option></select>

</div>

 

 

 

<div id="selImg"><img src="select.gif"></div>

 

I am trying to figure out how to replace "sel" with "selImg"  onmouseover
nav bar?

 

Thanks

 

 

 

-----Original Message-----
From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]
On Behalf Of Peter Brunone
Sent: Thursday, August 11, 2005 4:27 PM
To: javascript at LaTech.edu
Subject: re: [Javascript] IE problem: form elements overlaps submenu

 


   If you're working in ASP.NET, you could try EasyListBox
(www.easylistbox.com) as a replacement...

   If not, then you can (a) hide the select boxes when the menu drops, (b)
use the IE popup object for your menus, or (a) use an iframe shim behind
them as demonstrated in this article:
http://dotnetjunkies.com/WebLog/jking/archive/2003/10/30/2975.aspx

Cheers,

Peter

From: "Roland Dong" rdong at advance.net

I have a dhtml menu bar and right below it is a form with selection box. The
problem is that when submenu pops up, the selection box is shown on top of
the submenu. This only happens in IE. 

Can anyone suggest a workaround?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20050812/5ac756c5/attachment.htm>


More information about the Javascript mailing list