index.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <meta http-equiv="X-UA-Compatible" content="IE=9;IE=EDGE">
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
  9. <!-- <meta name="referrer" content="origin"> -->
  10. <title>建设从业人员继续教育系统服务平台</title>
  11. </head>
  12. <body style="margin:0px;">
  13. <!-- <div id="img_float" style="z-index: 101; left: 134px; width: 242px; height: 141px; position: absolute; top: 577px; visibility: visible; cursor: pointer;">
  14. <div align="right" onclick="document.getElementById('img_float').style.display='none'"
  15. style="color:red;font-size:12px;margin-bottom:0px;text-decoration:none;position:relative">[关闭]</div>
  16. <div align="center" id="wmdImg">
  17. <a href="http://zjj.sm.gov.cn/pc/201808/t20180829_1195705.htm" target="_blank">
  18. <img id="wmdImgId1" class="wmdImg" width="242" height="141" src="/static/images/W020180829573455831351.jpg">
  19. </a>
  20. </div>
  21. </div> -->
  22. <!-- <script>
  23. var xPos=0;
  24. var yPos=0;
  25. var directionX=true;
  26. var directionY=true;
  27. var step=1;
  28. var speed=30;
  29. var float=document.getElementById("img_float");
  30. function move(){
  31. var height=document.documentElement.clientHeight;
  32. var width=document.documentElement.clientWidth;
  33. var imgHeight=float.offsetHeight;
  34. var imgWidth=float.offsetWidth;
  35. float.style.left=xPos+document.documentElement.scrollLeft+"px";
  36. float.style.top=yPos+document.documentElement.scrollTop+"px";
  37. if(directionX){xPos=xPos+step;}else{xPos=xPos-step;}
  38. if(xPos<=0){xPos=0;directionX=true;}
  39. if(xPos>=width-imgWidth){xPos=width-imgWidth;directionX=false;}
  40. if(directionY){yPos=yPos+step;}else{yPos=yPos-step;}
  41. if(yPos<=0){yPos=0;directionY=true;}
  42. if(yPos>=height-imgHeight){yPos=height-imgHeight;directionY=false;}
  43. t=setTimeout(move,speed);
  44. }
  45. float.οnmοuseοver=function(){clearTimeout(t);}
  46. float.οnmοuseοut=function(){t=setTimeout("move()",speed);}
  47. window.οnlοad=move();
  48. </script>
  49. -->
  50. <div id="app"></div>
  51. <!-- built files will be auto injected -->
  52. </body>
  53. </html>