Randomize

S

sweeneysmsm

Is there a way to have a graphic or Text element that
would change in a random way as people came to the
webpage? If so, is there a way to tie these two together
so that the graphic would be associated with particular
text?

Thanks for any insight on this question.

Mary
 
M

maak

Hi,
Is there a way to have a graphic or Text element that
would change in a random way as people came to the
webpage? If so, is there a way to tie these two together
so that the graphic would be associated with particular
text?

Try it with JavaScript. Name your pictures with numbers,
and save the text to every picture in an array with the
same index numbers (i mean - picture and text have the
same numbers). Now you can use a random variable, that
tells the system which picture/text it has to show.

maak
 
S

sweeneysmsm

Maak,

Thanks so much. I guess I better start exploring
Javascript. I can see its uses.

Mary
 

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