你是用embed或者object来嵌入插件的吧。插件窗口级别是最高的,不知道用什么办法可以让页面其它控件,附在上面。郁闷!等专家来

解决方案 »

  1.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function movetest() {
    if ( checkarea() == true ){
    document.all.ifm1.style.position = "absolute";
    document.all.ifm1.style.width  = 200;
    document.all.ifm1.style.height = 1;
    document.all.ifm1.borderColor = "#FF0000";
    document.all.ifm1.style.top   = document.body.scrollLeft+event.clientY;
    document.all.ifm1.style.display=""; document.all.ifm2.style.position = "absolute";
    document.all.ifm2.style.backgroundColor = "#FF0000";
    document.all.ifm2.style.width  = 1;
    document.all.ifm2.style.height = 200;
    document.all.ifm2.style.left   = document.body.scrollLeft+event.clientX;
    document.all.ifm2.style.display="";
    }
    }
    function checkarea(){
    if ( event.clientX > document.all.img1.offsetLeft && event.clientX < document.all.img1.offsetLeft + document.all.img1.clientWidth && event.clientY > document.all.img1.offsetTop && event.clientY < document.all.img1.offsetTop + document.all.img1.clientHeight ){
    return true;
    }
    else{
    return false;
    }
    }
    function releaseDiv() {
    if ( checkarea() == false ){
    document.all.ifm1.style.display="none";
    document.all.ifm2.style.display="none";
    }
    }
    //-->
    </SCRIPT>
    </HEAD><BODY onmousemove="movetest()" onclick="releaseDiv()">
    <span style="overflow: hidden">
    <iframe name="ifm1" style="position:absolute;display:none"></iframe>
    <iframe name="ifm2" style="position:absolute;display:none"></iframe>
    <!--OBJECT ID="img1" WIDTH="200" HEIGHT="200" CLASSID="CLSID:43806ea0-c364-11d0-b75f-0000f81e081d"-->
    <OBJECT ID="img1" WIDTH="200" HEIGHT="200" CLASSID="CLSID:B234C268-A755-49A1-8A52-C8408A99AD7C">
    </OBJECT>
    </OBJECT>
    </OBJECT><span>
    </BODY>
    </HTML>
      

  2.   

    谢谢2楼的朋友,
    不过发现一个问题
    如果这个object比较大的时候,那个线就跑起来比较慢,请问如何解决呢
      

  3.   

    object大,这样操作自然就慢了。
    我也没有什么特别好的方法。