starweb
居于右侧底部小广告<div style="position:absolute;border:1px solid #06C;right:0;z-index:1000" id="floatBox">红世</div>
<script language="JavaScript" type="text/javascript">
function rightAd(){
var floatBox = document.getElementById("floatBox");
floatBox.style.top = document.documentElement.scrollTop+document.documentElement.clientHeight-20+"px";//20是这个层的高度;
setTimeout(function(){rightAd();},50);
}
rightAd();
</script>

分类:

技术点:

相关文章:

  • 2021-07-25
  • 2021-10-31
  • 2022-01-02
  • 2021-08-05
  • 2021-07-24
  • 2022-01-19
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-08-04
  • 2021-08-18
  • 2022-01-26
  • 2022-12-23
  • 2021-09-25
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案