如何拖动嵌入ActiveX的页面? 套个层不得了,控件位置等于层位置,鼠标拖动层 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 关注中!我写的鼠标右键就是使用的是层是可以的 怎么接受不道>?<div id=xx onmousedown=setCapture() onmouseup=releaseCapture() onmousemove=sw() style="position:absolute;background:red"><OBJECT id=zz CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"><SPAN STYLE="color:red">ActiveX control failed to load! -- Please check browser security settings.</SPAN></OBJECT> </div><script>function sw(){ if(event.button==1) { xx.style.left=event.x xx.style.top=event.y }}</script> JS位向量快速排序和查找 关于JavaScript的onsubmit事件,请大家帮忙! Ext中通过循环在页面渲染多个combox的问题 js如何接收服务器返回的id (急急急!!!100分)日期时间控件农历不正确 是个页面加载时间等问题,想做一个加载等待页面!求助! 如何判断字符串是由字母和数字同时组成的 js判断休息时间啊 大神看过来啊 最高难度:如何自动生成上载的jpg的gif缩略图?分数我还有。 点击单选项显示或隐藏的问题? 求fucnction (要求使用正则表达式),检验文本框字符串, 只允许数字和字母!谢谢了 难题!如何用一个框架内的滚动条来控制另一个框架内的页面?
我写的鼠标右键就是使用的是层
是可以的
<div id=xx onmousedown=setCapture() onmouseup=releaseCapture() onmousemove=sw() style="position:absolute;background:red">
<OBJECT id=zz CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<SPAN STYLE="color:red">ActiveX control failed to load!
-- Please check browser security settings.</SPAN>
</OBJECT>
</div>
<script>
function sw()
{
if(event.button==1)
{
xx.style.left=event.x
xx.style.top=event.y
}
}
</script>