possible fix/workaround for select box / movies problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
emilyb
Beginner
Beginner
Posts: 3
Joined: Thu Aug 19, 2004 10:18 pm

possible fix/workaround for select box / movies problem

Post by emilyb »

I came across this workaround to the problem of layers rendering underneath elements that are embedded within HTML on the page, such as form select boxes, flash movies etc.

i don't use milonic myself but found your site through google when looking for a fix for my popup calendar for forms and thought your users may be able to adapt this for the menu system or perhaps included in a future release. i couldn't just rearrange the form to move the slect box out of the way of the popup layer, as the form is dynamically generated using php from a database.

this method uses an initially hidden iframe. iframes seem to cover select boxes ok without them showing through. the example shown at the URL below makes the iframe the same size and position as the layer and has a z-index one less than the layer. and wow, it works!

http://dotnetjunkies.com/WebLog/jking/a ... /2975.aspx
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Erm, the menu already sits on top of Form Selects, Flash, Java Applets etc. Or are you talking about something else?

If you do mean the IFRAME method, well we actually pioneered it some years ago, seems most folks are now doing it this way but you saw it here first. There is a much better way though and it works even in IE4.0 but I can't divulge it just yet, should see it in Version 6.0

Thanks all the same, it's always good to hear about clever workarounds like that

Cheers
Andy
emilyb
Beginner
Beginner
Posts: 3
Joined: Thu Aug 19, 2004 10:18 pm

Post by emilyb »

well there seem to be many complaints in the forum saying that it doesn't...

http://milonic.com/forum/viewtopic.php?t=4535

and seeing as i haven't had time to read every single post and just came across your site by chance and thought i'd post to help in the spirit of sharing knowledge...i do apologise
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Does the sample at http://milonic.com/menusample14.php not work.

I've not seen anything to indicate that it won't work on IE6 or IE5.5, the older browsers will have trouble but the later ones should be fine.

Could be machine specific but I'd need more info in order to dig a little deeper.

-- Andy
Post Reply