www.webdeveloper.com
Results 1 to 5 of 5

Thread: dropdownmenu and iframe

  1. #1
    Join Date
    Dec 2002
    Posts
    4

    Angry dropdownmenu and iframe

    my iframe is infront of my pop-up/dropdown menu plz what can i do about that

  2. #2
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,676
    post your code or the url to the page and i'll take a look at

  3. #3
    Join Date
    Dec 2002
    Posts
    4
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    <script language="JavaScript">
    <!--
    function MM_displayStatusMsg(msgStr) { //v3.0
    status=msgStr; document.MM_returnValue = true;
    }

    function mmLoadMenus() {
    if (window.mm_menu_0027004110_0) return;
    window.mm_menu_0027004110_0 = new Menu("root",165,20,"Verdana, Arial, Helvetica, sans-serif",14,"#d8d0c8","#ffffff","#666666","#999999","left","middle",3,0,500,-5,7,true,true,true,0,false,true);
    mm_menu_0027004110_0.addMenuItem("&nbsp;Drinks");
    mm_menu_0027004110_0.addMenuItem("Wallpapers");
    mm_menu_0027004110_0.addMenuItem("T&oslash;mmerm&aelig;nd");
    mm_menu_0027004110_0.addMenuItem("Kontakt");
    mm_menu_0027004110_0.addMenuItem("Links");
    mm_menu_0027004110_0.hideOnMouseOut=true;
    mm_menu_0027004110_0.menuBorder=1;
    mm_menu_0027004110_0.menuLiteBgColor='#000000';
    mm_menu_0027004110_0.menuBorderBgColor='#ffffff';
    mm_menu_0027004110_0.bgColor='#000000';
    window.mm_menu_0027004110_1 = new Menu("root",165,20,"Verdana, Arial, Helvetica, sans-serif",14,"#d8d0c8","#ffffff","#666666","#999999","left","middle",3,0,500,-5,7,true,true,true,0,false,true);
    mm_menu_0027004110_1.addMenuItem("Nyt&aring;raften(comin)");
    mm_menu_0027004110_1.addMenuItem("Pinds&nbsp;f&oslash;dselsdag");
    mm_menu_0027004110_1.addMenuItem("lejligheden");
    mm_menu_0027004110_1.addMenuItem("diverse");
    mm_menu_0027004110_1.hideOnMouseOut=true;
    mm_menu_0027004110_1.menuBorder=1;
    mm_menu_0027004110_1.menuLiteBgColor='#000000';
    mm_menu_0027004110_1.menuBorderBgColor='#ffffff';
    mm_menu_0027004110_1.bgColor='#000000';
    window.mm_menu_0027004110_2 = new Menu("root",165,20,"Verdana, Arial, Helvetica, sans-serif",14,"#d8d0c8","#ffffff","#666666","#999999","left","middle",3,0,500,-5,7,true,true,true,0,false,true);
    mm_menu_0027004110_2.addMenuItem("Dyreborg");
    mm_menu_0027004110_2.addMenuItem("Pinden");
    mm_menu_0027004110_2.addMenuItem("M&oslash;ller");
    mm_menu_0027004110_2.addMenuItem("Lisette");
    mm_menu_0027004110_2.addMenuItem("Camilla");
    mm_menu_0027004110_2.addMenuItem("Bo");
    mm_menu_0027004110_2.addMenuItem("Lasse");
    mm_menu_0027004110_2.addMenuItem("Jonas");
    mm_menu_0027004110_2.addMenuItem("Emil");
    mm_menu_0027004110_2.hideOnMouseOut=true;
    mm_menu_0027004110_2.menuBorder=1;
    mm_menu_0027004110_2.menuLiteBgColor='#000000';
    mm_menu_0027004110_2.menuBorderBgColor='#ffffff';
    mm_menu_0027004110_2.bgColor='#000000';

    mm_menu_0027004110_2.writeMenus();
    } // mmLoadMenus()

    //-->
    </script>
    <script language="JavaScript1.2" src="mm_menu.js"></script>
    </head>

    <body>
    <p>
    <script language="JavaScript1.2">mmLoadMenus();</script>
    <img name="Untitled3" src="Untitled-3.gif" width="950" height="48" border="0" usemap="#m_Untitled3" alt="">
    <map name="m_Untitled3">
    <area shape="rect" coords="505,26,670,44" href="#" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0027004110_0,506,48,null,'Untitled3');" >
    <area shape="rect" coords="342,24,503,45" href="#" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0027004110_1,341,48,null,'Untitled3');" >
    <area shape="rect" coords="176,22,340,47" href="#" target="ja" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0027004110_2,176,47,null,'Untitled3');MM_displayStatusMsg('w elcome to onthemove.dk - enjoy your stay');return document.MM_returnValue" >
    </map>
    </p>
    <p>&nbsp; </p>
    <p>&nbsp; </p>
    <table width="16%" height="341" border="1" cellpadding="0" cellspacing="0">
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    <p>
    <style type="text/css">
    #floatframe {
    position:absolute;
    left: 200px;
    top: 96px;
    width: 550px;
    height: 470px;
    z-index: 100;}

    #floatframe2 {
    position:absolute;
    ...etc.}
    </style><iframe id="floatframe" src="news.html">
    </p>
    <p>&nbsp;</p>
    </body>
    </html>

  4. #4
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,676
    when you set the "z-index" do not use spaces
    try that an see if the problem is fixed; if not post your complete code so i may find a fix for the problem

    example:

    z-index:1;

  5. #5
    Join Date
    Dec 2002
    Posts
    4
    thx man it works

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles