Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:14
possible fix/workaround for select box / movies problem
Poster: emilyb
Dated: Thursday August 19 2004 - 22:42:34 BST
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/archive/2003/10/30/2975.aspx
Poster: Andy
Dated: Thursday August 19 2004 - 22:52:13 BST
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
Poster: emilyb
Dated: Thursday August 19 2004 - 23:02:10 BST
well there seem to be many complaints in the forum saying that it doesn't...
http://www.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
Poster: Andy
Dated: Friday August 20 2004 - 0:02:26 BST
Does the sample at http://www.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