Tuesday, 24 February 2015

Pop-up ads for your blog/website

<div class="simple_overlay" id="mies1" style="top: 63.4px; position: fixed; display: block;"><a class="close" style="display: block;"></a>
        <table style="width: 100%; text-align: center; margin-top: 10px;">
            <tbody><tr>
                <td>
PUT YOUR ADSENSE CODE HERE
<ins id="aswift_0_expand" style="display:inline-table;border:none;height:Hpx;margin:0;padding:0;position:relative;visibility:visible;width:Wpx;background-color:transparent"><ins id="aswift_0_anchor" style="display:block;border:none;height:Hpx;margin:0;padding:0;position:relative;visibility:visible;width:Wpx;background-color:transparent"><iframe width="W" height="H" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&amp;&amp;s.handlers,h=H&amp;&amp;H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&amp;&amp;d&amp;&amp;(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_0" name="aswift_0" style="left:0;position:absolute;top:0;"></iframe></ins></ins>
                
                </td>
            </tr>
        </tbody></table>
        <div class="details">
        </div>

    </div>


  • Create a new ad unit in your adsense account and then copy that ad code,
  • now paste that ad code in place of  'PUT YOUR ADSENSE CODE HERE ' in the above code.
  • And replace H and W with the height and width of your required ad to be appeared in the above HTML code.

No comments:

Post a Comment