这个是不可能的,因为这是POP窗口的特点,失去焦点就关掉,除非不用POP窗口,改用层做

解决方案 »

  1.   

    谢谢先!!因为页面有Applet,用层的话,会被挡住其实我是想要做一个菜单,用其他的菜单(比如JS),在IE中显示总是被Applet挡住不知道有什么方法能让菜单和Applet兼容
      

  2.   

    困惑的是用iframe也被Applet挡住了,iframe不是显示在最上面么,为什么会被挡住
      

  3.   

    应该可以啊,以前做GIS系统的时候用过这个功能
      

  4.   

    完全可以!沙发不要乱讲!楼主去看看 http://www.bosrup.com/web/overlib/
    点击 What overLIB looks like 段落下的 click 看看吧,鼠标移开时不要到碰到其他的链接!!!
    执行代码是:
    onclick="return overlib('This one stays around for a while!', STICKY, CAPTION, 'Sticky');"绝对经典!!!可惜俺没仔细研究,因为暂时用不到,哈
      

  5.   

    <html>
    <head></head>
    <body>
    <div style="position:absolute; left:100px; top:100px; width:50px; height:50px; overflow:hidden">
    <iframe frameborder="no" style="border:1 solid black"></iframe>
    </div>
    <applet style="width:150px; height:150px"></applet>
    </body>
    </html>
    可以看到,div在applet的上面
      

  6.   

    也可以这样做
    <div style="position:absolute;top:20;left:20;z-index:999; width:50px; height:50px;">
    g
    </div>
    <iframe frameborder="no" style="position:absolute;top:20;left:20;z-index:1;border:1px solid #000;width:60px; height:60px;"></iframe>
    <applet style="width:150px; height:150px; background-color:#eee;"></applet>