How to split the chance to display SWFs evenly among banner collection?

Posted by Michael Mao on Stack Overflow See other posts from Stack Overflow or by Michael Mao
Published on 2010-05-26T23:48:02Z Indexed on 2010/05/26 23:51 UTC
Read the original article Hit count: 162

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript