Copy link to clipboard
Copied
Hey All,
Question: I have a coldfusion/access database first of all , and I'm using the Dreamweaver Accordion Slider Spry. So I have 4 panels that slide once clicked, here is my issue... I have my database populated on Panel #3, When I hit next or previous it will go to the next 3 records for that recordset but... it will refresh the page and resume back at Panel #1 so Panel #3 will be closed and have to be reopened to view it. How can I set the next/previous to go to a certain Panel ID and stay on it.
I'm no master at coldfusion but I'm just assuming it has something to do with this part of the code with the "#CurrentPage#"
<a href="#CurrentPage#?PageNum_Edit=#Min(IncrementValue(PageNum_Edit),TotalPages_Edit)##QueryString_Edit#">Next</a>
Thanks again,
Daryl W Baker
Copy link to clipboard
Copied
Check this link.
http://foundationphp.com/tutorials/spry_url_utils.php
Copy link to clipboard
Copied
Thanks for the link It did help me understand the sliders abit more but I think I need to focus my point more around this line of script based on Coldfusion Coding
I need to figure out the #CurrentPage# - How can I change that to an ID or put in an ID in the code somwhere in that long line of code so it stays on that Div ID perhaps
<a href="#CurrentPage#?PageNum_RsSurfboards=#Min
(IncrementValue(PageNum_RsSurfboards),TotalPages_RsSurfboards)##QueryString_RsSurfboards#">Next</a>