zoukankan      html  css  js  c++  java
  • 浮动广告代码

    <!-- 浮动广告代码开始 -->

    <div id="ShowAD" style="position:absolute; z-index: 100;">
    <div style="155;height:18px;font-size:14px;font-weight:bold;text-align:left;CURSOR: hand;" onClick="closead();"><font color=ff0000>关闭</font></div>
    <IFRAME allowTransparency="true" marginwidth=0 marginheight=0 src="right.htm" frameborder=0 width=155 scrolling=no height=530></IFRAME>
    </div>

    <script>
    var bodyfrm = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;
    var adst = document.getElementById("ShowAD").style;
     adst.top = ( bodyfrm.clientHeight -530-22 ) + "px";
     adst.left = ( bodyfrm.clientWidth -155 ) + "px";
    function moveR() {
     adst.top = ( bodyfrm.scrollTop + bodyfrm.clientHeight - 530-22) + "px";
     adst.left = ( bodyfrm.scrollLeft + bodyfrm.clientWidth - 155 ) + "px";
    }
    setInterval("moveR();", 80);

    function closead()
    {
     adst.display='none';
    }
    </script>

    <!-- 浮动广告代码结束 -->

    ==========

    right.htm

    ==========

    <html>

    <body>

    <h2>一个定义列表:</h2>

    <dl>
       <dt>计算机</dt>
       <dd>用来计算的仪器 ... ...</dd>
       <dt>显示器</dt>
       <dd>以视觉方式显示信息的装置 ... ...</dd>
    </dl>

    </body>
    </html>

  • 相关阅读:
    求二维数组的最大子集和
    电梯调度《二》
    电梯调度问题
    BIEE 通过提示器选择展示列(列名接收表示变量)
    BIEE时间序列函数
    Python学习笔记(三)
    Python学习笔记(二)
    Python学习笔记(一)
    BIE前台常用设置
    BIEE 连接BW query query结构 引用
  • 原文地址:https://www.cnblogs.com/alex-13/p/3398655.html
Copyright © 2011-2022 走看看