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
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
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
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
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
>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
> >
>
>
>
>
>
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
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
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
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
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
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
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.
>
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
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.
://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
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
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
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
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
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
: 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
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
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
, 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
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
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
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
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
29 matches
Mail list logo