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 affected by it. It appears to me as though the paragraph tag
is being left open even though you have self closed it (try putting a
background color on the paragraph tag.
<cfset totalSlides=10>
<cfset nextSlide = (currentSlide MOD totalSlides) + 1>
<cfset prevSlide = (currentSlide - 1) + (totalSlides * (currentSlide eq
1))>
<cfoutput>
NEXT:#nextSlide#
CURR:#currentSlide#
PREV:#prevSlide#
<p style="margin-left:60px;"/>
<a
href="t11.cfm?currentSlide=#prevSlide#"><PREV</a>
<a href="t11.cfm?currentSlide=#nextSlide#">NEXT></a>
</cfoutput>
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238555
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54