object中画线 你是用embed或者object来嵌入插件的吧。插件窗口级别是最高的,不知道用什么办法可以让页面其它控件,附在上面。郁闷!等专家来 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!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楼的朋友,不过发现一个问题如果这个object比较大的时候,那个线就跑起来比较慢,请问如何解决呢 object大,这样操作自然就慢了。我也没有什么特别好的方法。 javascript关于变量作参数的问题 js解决ie6下,css背景png透明问题 javascript替换问题请教 div 追加div div高度问题 如何在javascipt里面不通过ajax,发送http post请求 利用select的值的改变,改变input的值,input的值是通过select传来的值并在数据库里找的 仿58的搜索提示功能问题 下拉列表和文本框的联动问题~ 各位大虾看看能把我这个三级联动选择按钮改造成 IE5 版么?目前只支持IE6. 问个字符串检查的问题,兄弟们进来 计算器的问题,请教一下。
<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>
不过发现一个问题
如果这个object比较大的时候,那个线就跑起来比较慢,请问如何解决呢
我也没有什么特别好的方法。