PDA

View Full Version : Sticky Content script: Google Adsense Ad



adventureguys
03-26-2012, 11:05 AM
1) Script Title: Sticky Content script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/stickycontent.htm

3) Describe problem:
The code seems to work well for regular html divs but does not make my google adsense ad sticky. Any ideas of how to remedy this would be much appreciated.

Example of Google adsense code:

<script type="text/javascript"><!--
google_ad_client = "ca-pub-2464968459954876";
/* 300x250 sidebar */
google_ad_slot = "5132264309";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>