Results 1 to 2 of 2

Thread: how to mask page content with ?

  1. #1
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to mask page content with ?

    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: progidXImageTransform.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

  2. #2
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    [*ICODE] tags are only for one line of code, please change to [*CODE] tags
    use filter:alpha(opacity=0); and opacity:0
    this will make it work in firefox and internet explorer
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •