Look at the randomize function.
-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 3:13 PM
To: [EMAIL PROTECTED]
Subject: RE: [CF-Talk] Random Images
> <cfset imagenum = RandRange(1,7)>
>
> <cfoutput>
> <img src="#imagenum#">
> </cfoutput>
Yes, figured this out after actually THINKING some. Much more compact!
Still having the same problem as before though. I never see anything past
the first three images. Num 4 through 7 NEVER come up. Can't figure out why
though...
Les Mizzell
***********
Some people say I'm too apathetic.
But why should I care?
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.