Forums
This topic is locked
Navigation question
16 Jan 2006 13:51:17 Wim Conix posted:
Hi,I have a result page with thumbnails, which can be clicked to view the large image.
Now I want to let visitors to navigate (next/previous) through this selection.
I managed to have this work, but it starts at the first record of the selection and not at the image clicked. When I send the image-id only this large image is displayed.
Can anyone help me ?
Thanks very much,
Wim
Replies
Replied 16 Jan 2006 18:22:19
16 Jan 2006 18:22:19 Javier Castro replied:
I'm not 100% certain but I think it can work. Once you click on the thumbnail, it takes you to a detail (larger pics)page right? so, you could have a nav menu "first /next /previous /last" as well. The only trick is that you need to use the Server Behavior, recordset paging :move to a specific record instead of select by the ID on your Query, (this behaviour has to be used on both the thumbnails and the Large images) because the nav will not work on the large images, I don't know why, but just doesn't. Try it out.
Goog luck.
Javier
Goog luck.
Javier
Replied 16 Jan 2006 18:43:37
16 Jan 2006 18:43:37 Wim Conix replied:
Javier,
Thanks very much, works perfect now !
The "paging to specific record" is what I was missing.
It works even without the behaviour in the thumbs-page.
It's only in the large image result page and works fine.
Good day,
Wim
Thanks very much, works perfect now !
The "paging to specific record" is what I was missing.
It works even without the behaviour in the thumbs-page.
It's only in the large image result page and works fine.
Good day,
Wim
Replied 16 Jan 2006 22:31:03
16 Jan 2006 22:31:03 Wim Conix replied:
Javier,
Something strange happens :
The large image page now starts alright for the image itself, but the other related fields (author, gallery, etc...) are always one records ahead.
Before I implemented the "move to specific record" behaviour, this worked well.
Any idea how this comes ??
Seems like it is counting somewhere +1.
Thanks,
Wim
Something strange happens :
The large image page now starts alright for the image itself, but the other related fields (author, gallery, etc...) are always one records ahead.
Before I implemented the "move to specific record" behaviour, this worked well.
Any idea how this comes ??
Seems like it is counting somewhere +1.
Thanks,
Wim