...

View Full Version : Wtf ? How To Overcome This?, Iframe blocking my dropdown window!!!



unstopabl3
10-24-2004, 03:23 AM
how can i fix what you see at

http://voodoox.elitehost.us/VoodooX/About%201.php

The dropdown menu which appears when u move over a link in the Navigation Menu on the rigth side is blocked by the iframe is there a way to overlap it on the iframe sumhow ? Ive used the menu and navigation script at dynamic drive. Thx in advance

AaronW
10-24-2004, 03:33 AM
Well, two options that I can think of:

#1 - Don't use an iframe for your content, as they're really just annoying
#2 - wrap your sub-menu items with an iframe and set z-index to, oooh say, 10?

I'm pretty sure nothing will go over an iframe (not in IE, anyway) except of course for another iframe with a higher z-index. Give that a shot. There's a link somewhere to this iframe-sub-menu-fixing idea but I can't remember it :( Hopefully someone'll help there. But I'd just lose the iframe.

brothercake
10-24-2004, 08:07 AM
In IE5.5 and IE6, and mozilla builds 1.1 for windows or linux, any object can go above an iframe if its z-index is higher.

AaronW
10-24-2004, 02:04 PM
Doh, believe I've confused the iframe with the <select>... Only an iframe goes above a select, right? Oy...

By the way, z-index is set like so:

<div style="z-index: 10;"></div>

unstopabl3
10-24-2004, 03:05 PM
Umm thx i tried it it doesnt work :(

AaronW
10-24-2004, 04:46 PM
<html>
<head>
<div style="z-index: 10;"></div>
...
</head>


Oh dear... The z-index property belongs in your stylesheet, and needs to be in the sub-menu's div selector. Judging from your site's source code, you may not know what that means. So, I'm just going to suggest you ditch the iframe method, and proceed to http://www.w3schools.com/html/html_www.asp and begin learning more about HTML :)

I realize I could just give you the answer, but I don't think that'd help you in the long run. Just check out the HTML tutorial, then proceed to the CSS tutorial. By then you'll probably know how to fix it yourself, and you'll be much better off for it.

Roy Sinclair
10-25-2004, 07:58 PM
See this thread for a solution (thanks to Brothercake) that works and doesn't require you to go to extreme lengths.

http://www.codingforums.com/showthread.php?s=&threadid=28261



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum