![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Maybe this has already been posted by someone else but I didn't find it in a search of these forums, thought it might be useful. What I am offering is a work-around to the age-old problem of form elements (specifically SELECT elements) showing through your pop-up menus and generally making things look ugly. What this fix actually does is: whenever a pop-up menu is shown, the script HIDES all select and multi-select elements in your form. When the pop-up menus disappear, the form fields reappear. It's hardly even noticeable because your eye sees the menu disappearing at the same time. Maybe not the most elegant solution but it works and stops users from complaining that they can't see items in the menu, and prevents you from having to redesign your pages so that form fields and menus don't use the same area of the screen, not always a practical solution... attached is the code for mm_menu.js - just replace the entire content of the file with this code. This is based on "mm_menu 20MAR2002 Version 6.0" which hopefully is the newest version. I assume this code could be modified to also hide other layers containing FLASH content which I hear is also a problem. It could also be modified to automatically enumerate and go through all forms on the page but for me just "form1" suffices. :beer; |
![]() |
| Thread Tools | |
| Display Modes | |
| |