I was hoping that someone might be able to give me with modifying the sample 
code for the Spry SlidingPanels from a dataset. Any help would be greatly 
appreciated.

I've modified the sample code provided by Adobe 
(http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsFromData.html)
 to display 4 panels but the "Next" link repeats itself since the sample has 
been designed to show only on the even records rather than a fixed number. How 
would I change this code to display the "Next" link if I'm showing 4 panels 
instead of the sample's 2 panels?

<div class="panelnav right" spry:if="{ds_RowNumber} % 2 != 0 &amp;&amp; 
{nextStartIndex} &lt; {ds_RowCount}"><a href="#" 
onclick="sp1.showPanel('p{nextStartIndex}'); return false;">Next 
&gt;&gt;</a></div>

Thank you to anyone that can help with this. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315542
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to