复制代码 代码如下:
复制代码 代码如下:
//这一行写了这个DIV是绝对定位,最好再加一下z-index;边框为1px的实线黑色边;距右边有0PX;ID=AD;
functionrightBottomAd(){
varabc=document.getElementById("ad");
abc.style.top=document.documentElement.scrollTop+document.documentElement.clientHeight-20+"px";//20是这个层的高度;
setTimeout(function(){rightBottomAd();},50);
}
rightBottomAd();
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]