synthese - 5:58 am on Dec 17, 2012 (gmt 0)
Thanks for the post - surprised no one else has commented.
I'm attempting to implement this now. Have also changed
And each ad div has a class of adslot. If any of the adslots are display:none (due to media queries), they will not appear in the selector and get an ad assigned to them.
The only issue I'm concerned about is performance, as I'm not making the ad calls until the document is ready -- as opposed to making the calls inline as the document renders.
However, due to the media queries you don't know what should render where.