Displaying iFrame OVER the Milonic menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Gijs
Beginner
Beginner
Posts: 3
Joined: Sat May 15, 2004 8:41 pm

Displaying iFrame OVER the Milonic menu

Post by Gijs »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Gijs
Beginner
Beginner
Posts: 3
Joined: Sat May 15, 2004 8:41 pm

Post by Gijs »

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?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Displaying iFrame OVER the Milonic menu

Post by kevin3442 »

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
Gijs
Beginner
Beginner
Posts: 3
Joined: Sat May 15, 2004 8:41 pm

Post by Gijs »

It already worked out. When I increased the z-index of the iframe to 999, the iframe will appear over the menu. Seems like the menu has an z-index of 998. Thank you kevin3442.
Post Reply