Well I'm assuming there's a .gif or .jpg in your src="" area. Otherwise
your server might have a headache trying to find the file.
<img src="<cfoutput>#RandRange(1,7)#</cfoutput>.gif">
--Doug
-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 1: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/[email protected]/
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/[email protected]/
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.