Skip to main content
November 3, 2009
Question

ColdFusion Current Page + Spry Slider

  • November 3, 2009
  • 1 reply
  • 430 views

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

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 3, 2009

    Check this link.

    http://foundationphp.com/tutorials/spry_url_utils.php

    Participating Frequently
    November 4, 2009

    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>