Click to See Complete Forum and Search --> : Stop combo box from bleeding through cascading menu


sbass
10-27-2003, 09:31 AM
I am using the cascading menu code from javascript.internet.com in an application which also has combo boxes and other controls in the body of the application. When running the application, if the user drops down the cascading menu over a combo box or other control it will "bleed through" the menu. How can I stop this?

requestcode
10-27-2003, 09:52 AM
Read the article at this link to find out why it is happening.
http://www.webreference.com/dhtml/diner/seethru/index.html

There is not much you can do other than redesigning your site to not have the comb boxes in the way.

dragle
10-27-2003, 10:08 AM
You may also be able to hide the select boxes momentarily while the menus appear, and reset them to visible when the menus are hidden (a common work around for the problem). Here's a couple links that may assist you with this task:

http://webreference.com/programming/javascript/form/ (http://www.webreference.com/programming/javascript/form/)
http://www.webreference.com/dhtml/hiermenus/inprogress/6/

The first was written by one of our forum moderators, Khalid Ali; the second focuses on a code work-around specifically for HierMenus, but the discussion and code should be generic enough for general applications.

Cheers!