[jQuery] jQuery and Google AdSense

[jQuery] jQuery and Google AdSense

Wow, hmm, that is totally weird. I tried putting together a couple test pages and the jQuery code works maybe 25% of the time on them.
Test cases:
jQuery and google ads - http://michaelraichelson.com/hacks/js/jquery-googleads.html
jQuery and yahoo ads (exactly the same issue) - http://michaelraichelson.com/hacks/js/jquery-yahooads.html
If you strip out the ad code it all works peachy. Something similar actually goes on with a site here at work even when it's not serving google ads on the page but other ads using a script that's document.write() driven.
If you replace the items applied on $(document).ready(); with window.onload events, then it works fine though. (of course, that way some stuff flickers depending on what you're applying though.)
-Mike R.
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Johan Bergström
Sent: Wednesday, April 05, 2006 10:06 AM
To: jQuery Discussion.
Subject: Re: [jQuery] jQuery and Google AdSense
Hey,