Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- 320x50
- Programado no LDB1
- Escolher Device Category = smartphone
- -->
- <img src="%%VIEW_URL_UNESC%%http://s0.2mdn.net/dot.gif" width="1" height="1" style="display:none"/>
- <style>
- .sticky_footer_ad {
- position: fixed;
- display: block;
- z-index: 1000000;
- width: 100%;
- bottom: -2px;
- left: 0;
- right: auto;
- text-align: center;
- height: auto;
- margin: 0 auto;
- clear: right;
- padding: 15px auto;
- background: #00FFFFFF;
- border-top: 1px solid #666;
- }
- </style>
- <div class="sticky_footer_ad">
- <div style="text-align: center" id="sticky_footer_ad_container" >
- </div>
- </div>
- <script type="text/javascript">
- var bannerwidth= '100%';
- var bannerheight = '100%';
- var DFPscreenwidth = document.body.clientWidth;
- var new_bannerwidth = DFPscreenwidth;
- var new_bannerheight = (bannerheight/bannerwidth) * new_bannerwidth;
- var DFPImage = {
- getEl: function (i){return document.getElementById(i)},
- Image: function(file, selector, w, h, click){
- if(!click){click = '%%CLICK_URL_UNESC%%%%DEST_URL%%'}
- DFPImage.getEl(selector).innerHTML='<a href="'+click+'" target="_blank"><img src="'+file+'" alt="" width="'+w+'" height="'+h+'" border="0" /></a>';
- },
- }
- DFPImage.Image('%%FILE:GIF1%%', 'sticky_footer_ad_container', new_bannerwidth, new_bannerheight)
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement