Page 1 of 1

Displaying an ad based on #div size

Posted: Tue Jun 23, 2009 10:21 pm
by Vegan
On my site template, I have a choice of ad sizes. What I wanted to do is pick a 120x640 ad if the height is enough or a 120x320 if its not.

I could graunch the situation by making the #div a minimum height but that defeats the idea of dynamically selecting content.

Anyone got some code to do what I want?