Advertisement
anatolionobre

320x50 TVI24

Oct 16th, 2015
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <img src="%%VIEW_URL_UNESC%%http://s0.2mdn.net/dot.gif" width="1" height="1" style="display:none"/>
  2.  
  3. <style>
  4.  
  5. .sticky_footer_ad {
  6. position: fixed;
  7. display: block;
  8. z-index: 1000000;
  9.  
  10. width: 100%;
  11. bottom: 0;
  12. left: 0;
  13. right: auto;
  14. text-align: center;
  15. height: auto;
  16. margin: 0 auto;
  17. clear: right;
  18. padding: 15px auto;
  19. background: #00FFFFFF;
  20. border-top: 1px solid #666;
  21.  
  22. }
  23.  
  24.  
  25.  
  26. </style>
  27.  
  28.  
  29.  
  30. <div class="sticky_footer_ad">
  31. <div style="text-align: center" id="sticky_footer_ad_container" >
  32.  
  33. <a href="%%CLICK_URL_UNESC%%%%DEST_URL%%" target="_blank"><img src="%%FILE:JPG1%%" alt="" width="320" height="50" border="0" /></a>
  34. </div>
  35.  
  36.  
  37. </div>
  38.  
  39. <script type="text/javascript">
  40.  
  41. /* var bannerwidth= 320;
  42. var bannerheight = 50;
  43.  
  44. var DFPscreenwidth = document.body.clientWidth;
  45. var new_bannerwidth = DFPscreenwidth * 0.7;
  46. var new_bannerheight = (bannerheight/bannerwidth) * new_bannerwidth;
  47.  
  48.  
  49.  
  50. var DFPImage = {
  51. getEl: function (i){return document.getElementById(i)},
  52. Image: function(file, selector, w, h, click){
  53. if(!click){click = '%%CLICK_URL_UNESC%%%%DEST_URL%%'}
  54. DFPImage.getEl(selector).innerHTML='<a href="'+click+'" target="_blank"><img src="'+file+'" alt="" width="'+w+'" height="'+h+'" border="0" /></a>';
  55.  
  56. },
  57.  
  58.  
  59. }
  60.  
  61. DFPImage.Image('%%FILE:JPG1%%', 'sticky_footer_ad_container', new_bannerwidth, new_bannerheight)*/
  62.  
  63.  
  64.  
  65.  
  66. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement