Hi all,
I'm wondering if there is way to make a Div layer (absolute positioning) appear across frames and layers.
To be more specific:
the Div is declared like this:
I have javascript in a button that causes this layer to be visible/invisible.
My problem is that the div is located on a different page embeded into the main page via an IFRAME. When I click the button to reveal the popup, it is limited by the boundaries of the IFRAME. I would like the popup to appear positioned relative to the whole browser window.
I'm also trying to write a re-usable "icon bar" that I will
in my pages. This icon bar also has a javascript popup, and isn't embedded in an IFRAME, but all the same, the popup appears limited to the boundaries of the 50 pixel high table the code was included into.
Any thoughts?
I've also tried playing around with the Z-index, but to no avail.
Earnie Eng
If you are born once, you will die twice.
If you are born twice, you will die once
I'm wondering if there is way to make a Div layer (absolute positioning) appear across frames and layers.
To be more specific:
the Div is declared like this:
Code:
<div id="popup" style="position:absolute; width:97%; height:95%; z-index:2; top: 5px; left: 5px; background-color: #666666; layer-background-color: #666666; border: 1px none #000000; visibility: hidden">
I have javascript in a button that causes this layer to be visible/invisible.
My problem is that the div is located on a different page embeded into the main page via an IFRAME. When I click the button to reveal the popup, it is limited by the boundaries of the IFRAME. I would like the popup to appear positioned relative to the whole browser window.
I'm also trying to write a re-usable "icon bar" that I will
Code:
<!--#include...-->
Any thoughts?
I've also tried playing around with the Z-index, but to no avail.
Earnie Eng
If you are born once, you will die twice.
If you are born twice, you will die once