Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion Current Page + Spry Slider

Guest
Nov 03, 2009 Nov 03, 2009

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

398
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 03, 2009 Nov 03, 2009

Check this link.

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 03, 2009 Nov 03, 2009
LATEST

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>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources