HighDots Forums  

Form elements show through pop-up menus: SOLUTION!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Form elements show through pop-up menus: SOLUTION! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tenvolt
 
Posts: n/a

Default Form elements show through pop-up menus: SOLUTION! - 11-25-2004 , 11:07 AM






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;


Reply With Quote
  #2  
Old   
Pablo
 
Posts: n/a

Default Re: Form elements show through pop-up menus: SOLUTION! - 11-25-2004 , 11:30 AM






:beer;

Once you send the attacement I'll have 10 beers


"tenvolt" <webforumsuser (AT) macromedia (DOT) com> a écrit dans le message de news:
co500i$rdr$1 (AT) forums (DOT) macromedia.com...
Quote:
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;




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.