Send an iFrame to back

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Send an iFrame to back

    Dear All,
    I am using a menu control that is inside an iFrame...the parent
    page contains around three iFrames...after rendering the menu
    control...on click of the menu..the sub menus appear behind the
    iFrame...how do I get the sub menus in front....

    The menus are plain HTML tags...

    Please help...

    TALIA
    Many Regards
    Sunil
    Sunil Menon Guest

  2. Similar Questions and Discussions

    1. send data and then alter it after send
      when attaching data using send, to a published video...is it then possible to alter this data? ie: if a title for the movie was attached using...
    2. How to restrict the user to go back ones the user haslogged out. Or, if he goes back, how to generate custom errorfor
      :music; How to restrict the user to go back ones the user has logged out. Or, if he goes back, how to generate custom error for Page Expire ? :music;
    3. Securing response send back by Web Service
      I am looking at samples that come along with WSE 2.0 but I cannot find any example that shows how to secure the response that is send by the...
    4. Move to Front/Send to Back Fields
      I'm currently using Acrobat Professional v. 6.0 to create fillable PDFs. In this particular PDF, I want to put a button on top of read-only fields....
    5. Does Socket.send send all bytes?
      Does ruby's Socket.send send all bytes at once, or does one have to keep count of bytes sent and repeat sending until all are sent (a la C etc)?
  3. #2

    Default Re: Send an iFrame to back

    Hi

    Depends on the browser... Did you try z-Index for your menu?
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/zindex.asp[/url]

    Or createPopup for IE5.5+
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/createpopup.asp[/url]

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Sunil Menon" <sunil@itb-india.com> wrote in message
    news:de18ec83.0307090508.1231a169@posting.google.c om...
    > Dear All,
    > I am using a menu control that is inside an iFrame...the parent
    > page contains around three iFrames...after rendering the menu
    > control...on click of the menu..the sub menus appear behind the
    > iFrame...how do I get the sub menus in front....
    >
    > The menus are plain HTML tags...
    >
    > Please help...
    >
    > TALIA
    > Many Regards
    > Sunil

    Vidar Petursson Guest

  4. #3

    Default Re: Send an iFrame to back

    Dear Vidar,
    Thanks for the quick reply...we tried using the z-index but the
    z-index applies only to the iFrame...and since the Page contains the
    iFrames...the menus still appear behind one of the iFrames...I cannot
    use createpopup as I need to send menu clicks to the page that is loaded
    inside a iframe...the clicks will be client side clicks or server side
    clicks...

    If u have any idea...it will be of great help...

    Thanks & Regards
    Sunil


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Sunil Menon Guest

  5. #4

    Default Re: Send an iFrame to back

    Hi

    So the menus are located in the page hosting the iframe(s)?

    iframe is window-less as of IE5.5 and should work fine with z-index

    Basic example:
    <HTML><HEAD>
    <SCRIPT>
    function toggle(sElID){
    if(!document.getElementById ) return;
    var e = document.getElementById(sElID);
    if(e!=null) e.style.display = ( e.style.display == "none" ) ? "block" :
    "none";
    }
    </SCRIPT>
    </head>
    <BODY>
    <div onmouseover="toggle('myDiv')" onmouseout="toggle('myDiv')"
    style="cursor:hand">Menu</div>
    <DIV id="myDiv" style="Z-INDEX: 2; POSITION:
    absolute;background-Color:blue;display:none">
    blah<BR>
    <BR>blah
    </DIV>
    <IFRAME src="about:blank" frameBorder=1></IFRAME>
    </BODY></HTML>

    For browsers that do not support the z-index you can simply hide the iframe
    when menu appears
    myIframe.style.visibility = ( myIframe.style.visibility == "hidden" ) ?
    "visible" : "hidden";

    If this does not help send me the URL and I will take a look
    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Sunil Menon" <sunil@itb-india.com> wrote in message
    news:%23NHFW9hRDHA.2432@TK2MSFTNGP10.phx.gbl...
    > Dear Vidar,
    > Thanks for the quick reply...we tried using the z-index but the
    > z-index applies only to the iFrame...and since the Page contains the
    > iFrames...the menus still appear behind one of the iFrames...I cannot
    > use createpopup as I need to send menu clicks to the page that is loaded
    > inside a iframe...the clicks will be client side clicks or server side
    > clicks...
    >
    > If u have any idea...it will be of great help...
    >
    > Thanks & Regards
    > Sunil
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Vidar Petursson Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139