zoukankan      html  css  js  c++  java
  • 3秒钟之后关闭的广告

    <!DOCTYPE html>
    <html>
    <head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
    img {
                position: absolute;
                top: 0;

            }
            #left {
                left: 0;
            }
            #right {
                right: 0;
            }
        </style>
        <script type="text/javascript">
          window.onload=function(){
            setTimeout(hideAd,3000);
            function hideAd(){
                document.getElementById('left').style.display="none";
                document.getElementById('right').style.display="none";
            }
          }
        </script>
    </head>
    <body>


    <img src="left.jpg" alt="" id="left">
    <img src="right.jpg" alt="" id="right">


    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    <p>双11,今天你剁手了没有?</p>
    </body>
    </html>
  • 相关阅读:
    Java设计模式
    一个接口多个实现类的Spring注入方式
    Mybatis 中的<![CDATA[ ]]>浅析
    方法内调另一个方法(事务)的探讨
    insertSql语句中的trim标签的使用
    Mybatis-plus的两种分页插件的配置方式
    Mybatis-plus的使用
    spring的IOC,DI及案例详解
    MySQL多表关联数据同时删除
    @Validated和@Valid区别
  • 原文地址:https://www.cnblogs.com/mmit/p/11257750.html
Copyright © 2011-2022 走看看