View Single Post
Old 04-10-2001, 11:37 PM   #2
I am a Contributing Geek. Are You?
FreeArcade's Avatar
Join Date: Feb 2001
Location: Tecumseh, MI USA
Posts: 76

If you don't care which user goes where, just that percentages go to different sites then you could
generate a random number when the user enters the page. then branch to different sections of your javascript based on what the number was.

Originally posted by cybmike:
I need some code that will make a user vote for my site when they enter my site, but it has to draw from a list of sites. Like 30% of the hits will go to site A, and 30% will go to site B, etc etc.
FreeArcade is offline   Reply With Quote