Displaying an ad based on #div size

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Displaying an ad based on #div size

Post 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?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Post Reply