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

Recordset Paging

Guest
Apr 19, 2006 Apr 19, 2006
Background info... I created a database driven slide show using Dreamweaver and ColdFusion which displays an enlarged photo within an album (detail.cfm). I am using the Dreamweaver "Recordset Paging" server behavior to allow the user to click "previous" and "next" to view each photo in the entire album. I am also using the "Show Starting Record" and "Show Total Records" server behaviors to display "3 of 10 photos". I have a link on the page which goes to a thumbnail index which displays the entire album in thumbnail form (thumbnail.cfm).

Here's my question... I want to be able to click a photo on the thumbnail.cfm page and have it go back to the detail.cfm page and have the photo display while keeping the album information (like navigation, # of records) so that it's like I navigated to that image using the Navigation buttons not the thumbnail page. Let's say there are 10 photos in the album and I click on the 3rd photo on the thumbnail page. I should be taken back to the detail.cfm page and the 3rd photo displays along with the "previous" and "next" buttons plus "3 of 10 photos". However, I can't figure out how to do that. I tried passing the #idPhoto# using the URL.scope from the thumbnails.cfm page and having the recordset on detail.cfm page process the #idPhoto# in the query string, but then the Navigation links and Show Starting/Total Records displays there is only 1 record which is true because I filtered it.

Any thoughts on how to link from the thumbnails.cfm page back to detail.cfm page, show the correct image that was clicked, within the album contents?

I found a post which seems like it's what I'm trying to do, but the language is ASP instead of ColdFusion. Link to Other Post

Thank you very much!
Lori
TOPICS
Server side applications
313
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

correct answers 1 Correct answer

Deleted User
Apr 21, 2006 Apr 21, 2006
I figured it out. Thanks.
Translate
Guest
Apr 21, 2006 Apr 21, 2006
LATEST
I figured it out. Thanks.
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