[CF-Talk] Random Images

2000-09-19 Thread Les Mizzell
I'm using the block of code below to place a random image on a page each time the page is loaded. However, for some reason, it only seems to swap the first THREE images out, not all seven. I could do this with JavaScript i

Re: [CF-Talk] Random Images

2000-09-19 Thread JustinMacCarthy
Works for me from 1 to 7 but you should change the code to also read up on Randomize(number) ~Justin - Original Message - From: "Les Mizzell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 19, 2000 2:28 PM Subject: [CF-Talk] Rando

RE: [CF-Talk] Random Images

2000-09-19 Thread Robert Everland
Why not do this Robert Everland III Web Developer Dixon Ticonderoga -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 19, 2000 9:29 AM To: [EMAIL PROTECTED] Subject: [CF-Talk] Random Images I'm using the block of code below to place a r

RE: [CF-Talk] Random Images

2000-09-19 Thread Hryckowiak, Miro
plify your code like that: Best, Miro. -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 19, 2000 3:29 PM To: [EMAIL PROTECTED] Subject: [CF-Talk] Random Images I'm using the block of code below to place a random image on a page each tim

RE: [CF-Talk] Random Images

2000-09-19 Thread Mark Warrick
CQ: 346566 -- > -Original Message- > From: Les Mizzell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 19, 2000 6:29 AM > To: [EMAIL PROTECTED] > Subject: [CF-Talk] Random Images > > > I'm using the block of code below to place a random image o

Re: [CF-Talk] Random Images

2000-09-19 Thread Jennifer
>To: <[EMAIL PROTECTED]> >Sent: Tuesday, September 19, 2000 2:28 PM >Subject: [CF-Talk] Random Images > > > > I'm using the block of code below to place a random image on a page each > >

RE: [CF-Talk] Random Images

2000-09-19 Thread Les Mizzell
> > > > > 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

RE: [CF-Talk] Random Images

2000-09-19 Thread Hayes, David
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 > > > > > Yes, figured this out after actually THINKING some. Mu

RE: [CF-Talk] Random Images

2000-09-19 Thread Mark Warrick
gt; From: Les Mizzell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 19, 2000 1:13 PM > To: [EMAIL PROTECTED] > Subject: RE: [CF-Talk] Random Images > > > > > > > > > > > > > > > > Yes, figured this out after actually THINKING so

RE: [CF-Talk] Random Images

2000-09-20 Thread dougn
ED] Subject: RE: [CF-Talk] Random Images > > > > > 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

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-19 Thread Les Mizzell
Well, in the process of trying to further understand the random image question, I've haven't been able to find much information on random functions at all. "Mastering Cold Fusion 4" doesn't even mention it "Cold Fusion 4.0" Web Application Construction Kit (Forta) mentions the tags, but doesn't r

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-19 Thread Mark Warrick
46566 -- > -Original Message- > From: Les Mizzell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 19, 2000 9:14 PM > To: [EMAIL PROTECTED] > Subject: RE: [CF-Talk] Random Images-Resources for Information? > > > Well, in the process of trying to further understan

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Les Mizzell
k [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 20, 2000 2:26 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: [CF-Talk] Random Images-Resources for Information? > > > Les, > > Forget what you've heard about randrange not really being random. >

Re: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Jim McAtee
e same sequence of numbers every time the program runs. Jim -Original Message- From: Les Mizzell <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, September 20, 2000 3:35 AM Subject: RE: [CF-Talk] Random Images-Resources for Information? >Thanks - will tr

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Mark Warrick
gt; From: Les Mizzell [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 20, 2000 2:28 AM > To: [EMAIL PROTECTED] > Subject: RE: [CF-Talk] Random Images-Resources for Information? > > > Thanks - will try this and see what happens. > > What nobody has told me yet though.

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Mark Warrick
://www.fusioneers.com ICQ: 346566 -- > -Original Message- > From: Jim McAtee [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 20, 2000 3:01 AM > To: [EMAIL PROTECTED] > Subject: Re: [CF-Talk] Random Images-Resources

Re: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread JustinMacCarthy
Have I look at the Randomize function, for an a explanation. ~J - Original Message - From: "Mark Warrick" <[EMAIL PROTECTED]> > Curious. What do you mean by seed? > -- Archives: http://www.mail-archive.com/c

Re: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread JustinMacCarthy
Have I look at the Randomize function, for an a explanation. Try calling before calling RandRange ~Justin - Original Message - From: "Les Mizzell" <[EMAIL PROTECTED]> > What nobody has told me yet though...is WHY *DOESN'T* " name="imageswap" default="#randrange(1,7)#">" return 1 thr

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread David E. Crawford
This is a multi-part message in MIME format. --=_NextPart_000_0182_01C02306.74F3E210 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit RE: [CF-Talk] Random Images-Resources for Information?Use the randomize() function to seed the rand number

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Dennis Powers
only used if the variable does not exist. Best Regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 20, 2000 5:28 AM To: [EMAIL PROTECTED] Subject: RE: [CF-Talk] Random Images

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Jennifer
At 12:14 AM 9/20/00 -0400, you wrote: >Well, in the process of trying to further understand the random image >question, I've haven't been able to find much information on random >functions at all. > >"Mastering Cold Fusion 4" doesn't even mention it >"Cold Fusion 4.0" Web Application Construction

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Heath Lord
: Jennifer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 20, 2000 11:42 AM To: [EMAIL PROTECTED] Subject: RE: [CF-Talk] Random Images-Resources for Information? At 12:14 AM 9/20/00 -0400, you wrote: >Well, in the process of trying to further understand the random image >question, I've h

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Chapman, Katrina
ECTED]] > Sent: Wednesday, September 20, 2000 4:14 AM > To: [EMAIL PROTECTED] > Subject: RE: [CF-Talk] Random Images-Resources for Information? > > > Les, > > There's no reason why it would not other than the law of > averages itself. Perhaps the go

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Mark Warrick
ent: Wednesday, September 20, 2000 10:37 AM > To: [EMAIL PROTECTED] > Subject: RE: [CF-Talk] Random Images-Resources for Information? > > > This wouldn't really be random. It would ensure that the same number > doesn't come up two times in a row, but that's not

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Eric Dawson
, you know create some fun ones ... Eric From: Heath Lord <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: [CF-Talk] Random Images-Resources for Information? Date: Wed, 20 Sep 2000 11:47:39 -0400 That is

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Eric Dawson
AIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [CF-Talk] Random Images-Resources for Information? Date: Wed, 20 Sep 2000 10:36:49 -0700 This wouldn't really be random. It would ensure that the same number doesn't come up two times in a

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Jeremy Allen
ED]] Sent: Wednesday, September 20, 2000 7:15 AM To: [EMAIL PROTECTED] Subject: RE: [CF-Talk] Random Images-Resources for Information? Curious. What do you mean by seed? -- Mark Warrick Phone: (714) 547-5386 Efax.com Fax: (801) 730-72

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread Les Mizzell
Well, without getting into a semantics argument over the use of the word "random". The previous code I was using: ...if tested 50 times in a row was ONLY returning the first three images. I never saw 4,5,6 or 7 at all, either locally or out live on the server. Seems weighted towards the fi

RE: [CF-Talk] Random Images-Resources for Information?

2000-09-20 Thread dougn
thy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 20, 2000 4:24 AM To: [EMAIL PROTECTED] Subject: Re: [CF-Talk] Random Images-Resources for Information? Have I look at the Randomize function, for an a explanation. ~J - Original Message - From: "Mark Warrick" <[EMAIL