Click to See Complete Forum and Search --> : random order


bluemojave
01-07-2003, 11:36 AM
I am trying to design a webpage listing of vendors that will appear in a random order each time a user visits/refreshes the site. So each vendor has equal probability of appearing at the top. Approximate list size = 20. Is there a code for this?

ader19772000
01-07-2003, 02:16 PM
This will show you how.

http://javascript.internet.com/messages/banner-ads.html

bluemojave
01-07-2003, 03:53 PM
The problem I'm having with this code, is that I need all 20 vendors to show at the same time without duplication, just in a random order. All of the rotating banner ad coding that I'm finding will only display one at a time. Is there a way around this? Also, ideally, I'd like the vendor listings in table/text format rather than as images for each of the vendors.