daily pastebin goal
8%
SHARE
TWEET

Coolbet / MM / 3rd / scroller / 12.07

a guest Jul 12th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <style>
  2.   html,
  3.   body,
  4.   div,
  5.   video,
  6.   img {
  7.     margin: 0;
  8.     padding: 0;
  9.   }
  10.  
  11.   #scroller-ad {
  12.     position: fixed;
  13.     z-index: 61000;
  14.     right: 0;
  15.     bottom: 0;
  16.     left: 0;
  17.  
  18.     display: block;
  19.     overflow: hidden;
  20.  
  21.     width: 100vw;
  22.     height: 100px;
  23.   }
  24.  
  25.   #close {
  26.     position: absolute;
  27.     z-index: 100002;
  28.     top: 5px;
  29.     right: 5px;
  30.  
  31.     width: 30px;
  32.     height: 30px;
  33.  
  34.     cursor: pointer;
  35.  
  36.     border: none;
  37.     background-color: transparent;
  38.     background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAAGFBMVEUzMzMzMzMzMzMzMzMzMzMzMzNhYWHi4uKlBsqQAAAABXRSTlMBjepSvuAZtcwAAACBSURBVHjahZNJDsAgDAPJYvr/H/eAWsulyD4hRk4gy6AqOoHsqLErEq8yPrASoiyxYlOQNn7U4j36Cwet/HnCydCH8DRf87mdF+3Fy/kemD0gnHRFbwgXih4J4aQrOSBcKGCwCW6eZj5mymKKalpiGmrGwQyTGUUzyGYNzBKZFbwBG+kN0QGWd+wAAAAASUVORK5CYII=);
  39.     background-size: 30px;
  40.   }
  41. </style>
  42.  
  43. <div id="scroller-ad">
  44.   <div id="html-content">
  45.     <iframe src="//v.postimees.ee/reklaam/dfp/Coolbet/18/07/1024x100-coolbet-mm_3rd/?clickTAG=%%CLICK_URL_ESC%%%%DEST_URL%%"
  46.       frameborder="0" rel="nofollow" marginheight="0" marginwidth="0" scrolling="no" width="100%" height="100"></iframe>
  47.     </iframe><img src="%%VIEW_URL_UNESC%%"></div>
  48.     <div id="close-button">
  49.         <button id="close" onclick="closeScrollerAd()"></button>
  50.     </div>
  51. </div>
  52.  
  53.  
  54.  
  55. <script>
  56.   ! function() {
  57.     var frameElement = window.frameElement;
  58.     frameElement.style.position = 'fixed';
  59.     frameElement.style.width = '100%';
  60.     frameElement.style.height = '100px';
  61.     frameElement.style.bottom = '0';
  62.     frameElement.style.left = '0';
  63.     frameElement.style.overflow = 'hidden';
  64.     frameElement.style.zIndex = '61000';
  65.   }(window, document);
  66.  
  67.   function closeScrollerAd() {
  68.     window.frameElement.outerHTML = "";
  69.   }
  70. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top