Tokbek
02-12-2008, 09:34 PM
Hi,
I have a web page with form elements.
in some condition i want to put mask on the page in away that users cannot interact with the page content.
i use Iframe in order to be able to put floating content above Select Boxes.
The problem is that i cant get the iframe to be transparent.
Any idea ??
here is my code. im testing it on IE 6.0.
<html>
<head><title>
Hide select
</title>
<style>
.myIframe{
position:absolute;
top:0;
left:0;
width:100px;
height:100px;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);}
</style>
</head>
<body>
<iframe class="myIframe" src="about:blank"></iframe>
<select >
<option>this is my Select box</option>
</select>
</body>
</html>
Thanks
Tok
I have a web page with form elements.
in some condition i want to put mask on the page in away that users cannot interact with the page content.
i use Iframe in order to be able to put floating content above Select Boxes.
The problem is that i cant get the iframe to be transparent.
Any idea ??
here is my code. im testing it on IE 6.0.
<html>
<head><title>
Hide select
</title>
<style>
.myIframe{
position:absolute;
top:0;
left:0;
width:100px;
height:100px;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);}
</style>
</head>
<body>
<iframe class="myIframe" src="about:blank"></iframe>
<select >
<option>this is my Select box</option>
</select>
</body>
</html>
Thanks
Tok