Click to See Complete Forum and Search --> : top nav menu overwritten by drop down form
gibbittynyc
04-14-2003, 10:58 AM
I am having a problem with a top level nav menu and a form element. The drop down element of a form shows through the top level javascript nav menu. Has anyone seen this, is there a workaround?
Thanks for your help in advance..
gil davis
04-14-2003, 11:20 AM
Has anyone seen thisYesis there a workaround?Move either the menu or the drop down, or hide the drop down while the menu is active.
gibbittynyc
04-14-2003, 11:25 AM
im not all that familiar with form coding, what is the syntax for hiding a form element when not active?
gil davis
04-14-2003, 11:55 AM
That depends on what browsers you support.
If you are not familiar with the operation of the menus, you could quickly get yourself overwhelmed.
If you are using a "canned" script, you will probably need to ask the author for assistance (don't expect someone here to reverse engineer a menu script for free).
As to the technical part of hiding an object, most browsers that support the W3C DOM will allow you to hide things using the "style.visibility" parameter. You set it to "hidden" when the menu is set to "visible", and "visible" when the menu is "hidden". For example:document.formName.selectName.style.visibility = "hidden";
gibbittynyc
04-14-2003, 11:57 AM
that helps. i am familiar with doing that. thanks for your help.