echo '<div id="fusion_ad"></div>';
add_to_footer('<div id="fusion_ad_footer" class="clear" style="display: none; padding-bottom: 10px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-7277300469198625";
/* 300x250, created 11/18/09 */
google_ad_slot = "8794678125";
google_ad_width = 296;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<script type="text/javascript">
window.onload = function() {
document.getElementById(\'fusion_ad\').appendChild(document.getElementById(\'fusion_ad_footer\'));
document.getElementById(\'fusion_ad_footer\').style.display = \'\';
}
</script>');
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7277300469198625";
/* 300x250, created 11/18/09 */
google_ad_slot = "8794678125";
google_ad_width = 296;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Quote
Ankur wrote:
Thats a nice solution David... :)
I always feel irritating when this adsense use to keep loading the page of my website and it looks bad when the loading bar keep loading...
This does the trick... ;)
Category Forum
Code Snippet and functions - 8Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions