al Message-
From: Ken Ketsdever [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 3:57 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Dave,
Thanks for the explanation. However, I have a question about
another aspect of your code. I see you self closed the paragra
Dave,
Thanks for the explanation. However, I have a question about
another aspect of your code. I see you self closed the paragraph tag.
It has the desired affect of creating a margin for your links. However,
it baffles the daylights out of me how tags after a self closing tag
would be a
-Talk
Subject: RE: next and previous buttons for slideshow
Think of MOD as an integer operation which returns the remainder of a
whole
number division rather than going to decimal places.
Thus 4 MOD 10 returns 4. And 14 MOD 10 also returns 4. Remember, it's
just
the remainder.
Using MOD, the
run the check listed below, which gives me the following values:
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 22, 2006 10:31 AM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
I've been following this thread because the m
EMAIL PROTECTED]
Sent: Friday, April 21, 2006 4:45 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Okay. I just condensed it into a CFC. now I don't have to look at that code
every time.
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday,
urday, April 22, 2006 2:55 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Thanks for the explanation.
Let's say that currentSlide is 4, totalSlides is 10...
So, cfset nextSlide = (4 MOD 10) + 1>
What resutl does the calculation 4 MOD 10 return?
It must be 4...but how
2, 2006 2:55 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Thanks for the explanation.
Let's say that currentSlide is 4, totalSlides is 10...
So, cfset nextSlide = (4 MOD 10) + 1>
What resutl does the calculation 4 MOD 10 return?
It must be 4...but how? What does
PREV:#prevSlide#
<PREV
NEXT>
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 22, 2006 11:31 AM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
I've been following this thread because the
revSlide#
<PREV
NEXT>
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 22, 2006 11:31 AM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
I've been following this thread because the method
of "next / prev
you put some hard numbers in there for me to view
how the functions are working?
TIA...
Rick
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 22, 2006 10:36 AM
To: CF-Talk
Subject: RE: next and previous buttons for sli
This should work:
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 4:45 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Okay. I just condensed it into a CFC. now I don't have to look at
You could probably condense it a bit using the iif function, but I can't
think of anything more than that.
> -Original Message-
> From: Andy Matthews [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 21, 2006 2:25 PM
>
> I'm rewriting my slideshow code in preperation for releasing
> it p
4:45 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Okay. I just condensed it into a CFC. now I don't have to look at that code
every time.
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 3:35 PM
To: CF-Talk
Subject
Okay. I just condensed it into a CFC. now I don't have to look at that code
every time.
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 3:35 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
Really?
Durnit...that
Really?
Durnit...that sucks...it's sooo clunky.
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 3:31 PM
To: CF-Talk
Subject: RE: next and previous buttons for slideshow
That's pretty condensed to me.
You pretty much have to check
That's pretty condensed to me.
You pretty much have to check the three cases...
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 4:25 PM
To: CF-Talk
Subject: next and previous buttons for sli
16 matches
Mail list logo