Hyperlink to more than one page or frame

G

greg

How can I control the target to which a hyperlink directs to in order to
have several different results? Can this be randomised or in other scenarios
calculated as a percentage?
For example: if clicking on a specific link in response to a question, can
the resulting picture be one of 5 jpegs selected from a directory in which
the pictures could be displayed randomly ( probability 0.2) or in anther
situation say one picture is displayed 80% of the time and the others only 5%
( probability 0.8 cf 0.05)
 
M

Murray

You would make the hyperlink always go to the same page, but have that page
randomly select one of the images. There are tons of such scripts available
on the web - just google for "random image".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top