PDA

View Full Version : Disappearing fields


calvorn
30th of December 2003 (Tue), 20:29
Pekka:

I just customized my header.php file to include a javascript menu system I am using on the rest of my site.

Since adding the javascript to the header.php file when I rollover a menu item all the search fields disappear on the page but come back when you move off the rollover menu.

An example of this can be found at: http://www.calvorn.com/gallery/list.php?exhibition=7

Any ideas why this is happening.

Thanks.

Cal

TomKa
31st of December 2003 (Wed), 02:01
with Windows 2000, Opera 7.20 and Firebird there are no problems. I can go over the menu and the search part remains.
With IE 5.5 the menu disappears, but have no idea why.

Try another script:
http://www.youngpup.net/?request=/components/ypSlideOutMenus.xml
script at work: http://www.leorex.com/products/aura/aura_dropdowns.htm

calvorn
31st of December 2003 (Wed), 11:02
TomKa:

Thanks for the info but I finally found the problem and will continue using the current javascript. It's pretty robust and works with most all browsers.

Some form elements, such as "select" in all except Opera 7 and the gecko browsers, and also input and text area in netscape 4 and opera 5 and 6, have a z-order of infinity, and will completely show through unless they're invisible.

For IE the script includes a select-element hiding routine that's triggered when any menu opens. You can control this feature using hideSELECT. When I set hideSELECT to true the fields show through the drop down menus so I will just have to accept the disappearing fields.

In other words, it's a feature, not a bug.

If anyone is interested this javascript menu can be found at http://www.brothercake.com

Thanks.

Cal

TomKa
15th of January 2004 (Thu), 04:04
Hello Cal,
the dropdown menu is really a fine script.

I've put the lines for sniffer.js, custom.js and style.js into the header field in Misc. Settings/Global Settings and the menu.js into the footer. I still have to try if it's possible to build different two different custom.js for different language versions of the gallery.

Do you have found other settings and locations for the javascript files that are working with EE ?