Advertisement
appmindes

Code box popup giua man hinh

Apr 26th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. <style type='text/css'>
  2. * html #popupgooogle{position:absolute;}
  3. #popupgooogle{display:block;top:0px;left:0px;width:100%;height:10%;position:fixed;background:#00000;margin:0;overflow-y:auto;}
  4. #popgoogle{z-index:9999;background:#11111;overflow:none;}
  5. .popgoogle{width:330PX;height:350PX;position:fixed;top:45%;left:50%;margin-top:-110px;margin-left:-200px; border:1px solid #999;padding:1px;}
  6. .exe-title {background:#000;color:#fff;font-size:10px !important;font-weight:bold;margin:5px 0;border:10px solid #ddd;padding:10px;line-height:25px;font-family:arial!important;}
  7. </style>
  8. <!--[if lte IE 6]>
  9. <style type="text/css">
  10. /*<![CDATA[*/
  11. html {overflow-x:auto; overflow-y:hidden;}
  12. /*]]>*/
  13. </style>
  14. <![endif]-->
  15. <div id='popupgooogle'>
  16. <div class='popgoogle' id='popgoogle'>
  17. <center>
  18.  
  19. <---!ADS HERE-->
  20.  
  21. </center>
  22. <center>
  23. <div>
  24. <center>
  25. <script type='text/javascript'>
  26. // Banner Rotation Script by Bloggerism
  27. var ban = new Array();
  28. var link = new Array();
  29. var index = 0;
  30.  
  31.  
  32.  
  33. index = Math.random() * (ban.length);
  34. index = Math.floor(index);
  35.  
  36. function rotator()
  37. {if (index == ban.length) index = 0;
  38. if (document.images) {
  39. document.images.rotation.src = ban[index].src;
  40. }
  41. else {
  42. document.getElementById(&#39;rotation&#39;).src=ban[index].src;
  43. }
  44. index++;
  45. setTimeout(&#39;rotator()&#39;,5000);
  46. }
  47. function go() {window.open(link[index-1]);}
  48. </script>
  49.  
  50. <img id='rotation' onclick='go();' src='' style='cursor:pointer;'/>
  51. <script type='text/javascript'>rotator();</script>
  52. </center>
  53. </div>
  54. <script type='text/javascript'>
  55. (function() {
  56. window.___gcfg = {&#39;lang&#39;: &#39;en&#39;};
  57. var po = document.createElement(&#39;script&#39;);
  58. po.type = &#39;text/javascript&#39;;
  59. po.async = true;
  60. po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
  61. var s = document.getElementsByTagName(&#39;script&#39;)[0];
  62. s.parentNode.insertBefore(po, s);
  63. })();
  64. </script>
  65. </center>
  66. <br/>
  67.  
  68. <center style=' float:left;font-size:10px;cursor:pointer;margin-left:16%'><a onmouseup='document.getElementById(&apos;popupgooogle&apos;).style.display=&apos;none&apos;' style=' font-size:14px; color:RED; text-decoration:none;'>X</a></center>
  69. </div>
  70. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement