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:28
Displaying iFrame OVER the Milonic menu
Poster: Gijs
Dated: Saturday May 15 2004 - 20:47:58 BST
HI
I am using a floatable IFRAME on my webpage. The iframe hidden and is used to display images into it, so it becomes visible when someone clicks an thumbnail.
The problem is, my iframe is displaying BEHIND the milonic menu. And I cannot get it to appear 'above' the milonic menu. Only when I set alwaysvisible=0, but then the milonic menu is not visible at all.
Is there a way to do this ? I have tried to put the z-index of the iframe to 99, but it makes no difference. Can someone help me out?
Thanks
Gijs
Poster: Ruth
Dated: Sunday May 16 2004 - 17:51:31 BST
I'm not sure that can be done unless some kind of function would do it, maybe something about hiding the menu when such and such is clicked and unhiding it when that particular 'iframe' is closed, because the menu is designed so it doesn't 'disappear' behind iframes. Another option: perhaps there's a way to design the site so the iframe doesn't open in the same place as the menu? You might place a link to the site, someone may have some ideas.
Ruth
Poster: Gijs
Dated: Thursday May 20 2004 - 14:24:03 BST
Is it possbile to only let the menu disapear (by e.g. hide) where the iframe is? So not the whole menu would hide but only the part what interfers with the iframe?
Poster: Ruth
Dated: Thursday May 20 2004 - 15:56:59 BST
I don't know. I can't even visualize hiding a particular 'area' of a whole object with js functions, then again I don't know about functions. Perhaps you could put this particular submenu on the page in a table placed where you want it, then on mouseover it would open there. A url to see what you are trying would be helpful to anyone who might have some ideas, without seeing the menu layout it's hard to give you suggestions for solutions.
Ruth
Re: Displaying iFrame OVER the Milonic menu
Poster: kevin3442
Dated: Thursday May 20 2004 - 17:29:51 BST
Gijs wrote:
...I have tried to put the z-index of the iframe to 99, but it makes no difference...
You're assuming that 99 would put anything above the menus, but that wouldn't work if the z-index of menu objects is higher that 99. Have you tried setting the z-index to a much higher value? Try 999 and see what happens.
Kevin