Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make multiple Adrotators show unique images from same XML file?

Status
Not open for further replies.

may1hem

Programmer
Jul 28, 2002
262
0
0
GB
I have 5 Adrotators on a web page, and they all select images to display from the same XML file. At the moment it's working, but sometimes when I refresh the page a few of the Adrotators display the same image which I don't want. Is there a way to make them display 5 unique images from the same XML file?
 
You have to write the code to randomly select an image from the XML file. You will also have to track what has already been chosen, and make sure it is not selected again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top