当前位置:Gxlcms > html代码 > 怎么让下面代码弹出的图片定住?_html/css_WEB-ITnose

怎么让下面代码弹出的图片定住?_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:3人阅读

// 右下角弹出图片
document.writeln("")
document.writeln("
");
document.writeln("");
document.writeln("
");
var bodyfrm = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;
var adst = document.getElementById("qqaddiv").style;
adst.top = ( bodyfrm.clientHeight - 172) + "px";
adst.left = ( bodyfrm.clientWidth - 252 ) + "px";
function moveR() {
adst.top = ( bodyfrm.scrollTop + bodyfrm.clientHeight - 172 ) + "px";
adst.left = ( bodyfrm.scrollLeft + bodyfrm.clientWidth - 252 ) + "px";
}
setInterval("moveR();", 80);


怎么让这个在右下角弹出的图片定住不变,意思就是不管怎么拉动下拉框这个图片都不会动!


回复讨论(解决方案)

你可以参考