Problem with DHTML menu, flash and JS eolas code
Problem with DHTML menu, flash and JS eolas code
Hi, please refer to the menu on http://www.gfi.com using Mozilla Firefox. If you go on "Company > GFI Offices Worldwide", the sub-submenu opens up underneath the flash on the right. The problem is also reproducible under other browsers and OSes (eg Opera and Safari). Is this something you could fix?
Hi,
Try adding the
to the top of the data file and see if that fixes it. It's usually the first line in the file above the opendelay and such.
Ruth
Try adding the
Code: Select all
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
Ruth
This fixes the problem on Firefox on Windows, however when I still have problems on these environments:
- Opera on Windows - completely hidden under Flash
- Safari 2 on Mac - completely hidden under Flash
- Firefox on Mac - partially hidden under Flash, however when you hover over the newly-opened menu, it's completely on top.
I don't have any other testing environments at the time being.
- Opera on Windows - completely hidden under Flash
- Safari 2 on Mac - completely hidden under Flash
- Firefox on Mac - partially hidden under Flash, however when you hover over the newly-opened menu, it's completely on top.
I don't have any other testing environments at the time being.
Which version of Opera for Windows are you having trouble with? Just tried it with 9 and it's fine.
Safari 2.0 - you may not have much joy with this browser version. We've been onto Apple for years to get this sorted and it's taken them until version 3 to do it. Works on both IE and Mac (Safari v.3)
Which verison of Firefox for the Mac are you having problems with?
Safari 2.0 - you may not have much joy with this browser version. We've been onto Apple for years to get this sorted and it's taken them until version 3 to do it. Works on both IE and Mac (Safari v.3)
Which verison of Firefox for the Mac are you having problems with?
See http://www.apple.com/safari/download/ for Safari. It's up to 3.0.2 and has been very stable for me, even though it's still a beta - FWIW. There is also a Windoze version!
John
Hi Andy,Andy wrote:Which version of Opera for Windows are you having trouble with? Just tried it with 9 and it's fine.
Here is a screenshot of what I see in Opera 9.21, the latest version:
http://support.gfi.com/operass.gif
Should be the latest version as I downloaded it last week.Andy wrote:Which verison of Firefox for the Mac are you having problems with?
The BETA apparently doesn't support our proxy settings yet and whenever I try to go on any page, it crashes as soon as the page loads. So I can't quite test it on Safari 3 yet.John wrote:See http://www.apple.com/safari/download/ for Safari. It's up to 3.0.2 and has been very stable for me, even though it's still a beta - FWIW. There is also a Windoze version!
If elements of the menu are not displayed correctly, like menus going under other elements (in this case the flash image), then you have a problem with the stacking of elements, called the zIndex. I had a similar problem and it puzzled me for a long time before I had a clue what to do about it.
Usually, all elements in a page have the same stacking order if nothing is specified. The Milonic menu has got a zIndex defined internally.
So what you can do is either add a zIndex to the flash section or embed the Milonic menu in a div with a zIndex. The only thing you have to remember is that assigning a zIndex only works if you also supply a postion element in the style section. This was my mistake, I didn't realize this and experimented with zIndices without any result.
Usually, all elements in a page have the same stacking order if nothing is specified. The Milonic menu has got a zIndex defined internally.
So what you can do is either add a zIndex to the flash section or embed the Milonic menu in a div with a zIndex. The only thing you have to remember is that assigning a zIndex only works if you also supply a postion element in the style section. This was my mistake, I didn't realize this and experimented with zIndices without any result.