• 网页飘窗


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
     <head>
      <title> New Document </title>
      <meta name="Generator" content="EditPlus">
      <meta name="Author" content="">
      <meta name="Keywords" content="">
      <meta name="Description" content="">


      <script type="text/javascript" src="http://www.114yg.cn/static/js/jquery-1.7.2.min.js?t=20130922"></script> 
     </head>


     <body>
      <div id="float_icon" style="position: absolute; z-index: 99999; top: 164px; left: 484px; visibility: visible;"> <a href="http://qhcom.gov.cn/articleinfo/detail_16_92_2329.aspx" target="_blank"><img src="http://img.114yg.cn/group1/M00/08/0B/wKhSIVPglD-ANXdyAABJe2YLVHY611.jpg"></a> </div> <script type="text/javascript">var dirX =1,dirY =1;var posX =0,posY =0;document.getElementById("float_icon").style.top =0;document.getElementById("float_icon").style.left =0;float_icon.style.visibility ="visible";window.setInterval("moveIcon()",50);function moveIcon() {posX +=(2 *dirX);posY +=(2 *dirY);$("#float_icon").css("top",posY);$("#float_icon").css("left",posX);if(posX < 1 ||posX + document.getElementById("float_icon").offsetWidth >$(window).width())
    {dirX =-dirX;}
    if(posY < 1 ||posY + document.getElementById("float_icon").offsetHeight+5 >$(window).height())
    {dirY =-dirY;} 
    }
    </script>
     </body>
    </html>

  • 相关阅读:
    Oracle常用系统查询SQL
    easyui中使用的遮罩层
    EasyUI相同的Tab只打开一个(即EasyUI方法的调用方法)
    jQueryEasyUI创建菜单主页
    linux 的环境变量的配置文件
    angular reactive form
    svn代码回滚
    golang restful api
    golang embedded structs
    Angular Multiple HTTP Requests with RxJS
  • 原文地址:https://www.cnblogs.com/Mr-Rocker/p/4378028.html
Copyright © 2020-2023  润新知