hi there,
i am creating a small ad rotator,that will rotate a list of ads that i have in an xml file!
avery advertisement has the following properties:
filename, filetype, duration, url
ex:
filename: ad01.gif
filetype: image
duration: 15 seconds
url:
filename: ad01.jpg
filetype: image
duration: 10 seconds
url: null
filename: ad02.gif
filetype: image
duration: 25 seconds
url:
filename: ad01.swf
filetype: flash
duration: 45 seconds
url: null
now all the ads have a fixed size of 160 x 120px.
what i want to do, is for it to load all the elements dynamically from the xml file depending on the type 'flash' or 'image' and if image clickable or not!
when the rotator reaches the end of the xml file, it starts from 0.
i am creating a small ad rotator,that will rotate a list of ads that i have in an xml file!
avery advertisement has the following properties:
filename, filetype, duration, url
ex:
filename: ad01.gif
filetype: image
duration: 15 seconds
url:
filename: ad01.jpg
filetype: image
duration: 10 seconds
url: null
filename: ad02.gif
filetype: image
duration: 25 seconds
url:
filename: ad01.swf
filetype: flash
duration: 45 seconds
url: null
now all the ads have a fixed size of 160 x 120px.
what i want to do, is for it to load all the elements dynamically from the xml file depending on the type 'flash' or 'image' and if image clickable or not!
when the rotator reaches the end of the xml file, it starts from 0.