It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

random advertising module

random advertising module

Postby john_zakaria on Sun Jul 12, 2009 12:18 pm

i want to make a module to swap ads randomly from folder named “ads” on the root like,,


the advertising are either .swf, or .gif all that i need is to play the swf (when one is finished it starts the other one.. till the display of all swf's)..

http://www.amcham.org.eg/membership/...s_database.asp


The folder “ads” is supposed to have 5 ads, when it finished number 1... it start randomly until it finish displaying all the advertising swf... i dont want to display only one of the five ... but display all in a random way..


may be i have to know the length of the swf (in seconds ) and when it is finished i want to display the second and third .... etc

can anyone help me in doing this module using javascript or ajax?? php????
john_zakaria
50+ Club
 
Posts: 59
Joined: Sun Feb 08, 2009 7:29 am

Who is online

Users browsing this forum: No registered users and 6 guests