How to distribute the chance to display each SWF evenly among banner collection?
- by Michael Mao
Hi all:
I am working on The ausdcf.org to try adding several banner ads in swf format to the top.
Everything starts to work, but I've got several questions that need your help:
The client chose not to go with Google AdManager, but prefer a "minimal approach" to do this task.
What I am trying to do is sort of "mimicking" the way Google AdManager does for banners, that is, to split the chance of each particular swf to be shown to the visitor evenly among the banner collection.
Definitely I can add some jQuery code to do this from client-side, a random number generator and if-else statement would work - just $.load() it!
However, what if I'd like to make sure those disabled Javascript (is there any now btw?) still be able to see different swfs in each visit.
Any suggestion on how to approach this?
Many thanks in advance.