I have a situation where I'm using the jquery coda slider for some galleries on webpages. I'd like to enable it so that when i click on a link whithin a page, it changes the source of the gallery to a different media folder, hopefully without a page refresh. Any ideas for a good strategy to achieve this?
Reload the page, passing a querystring variable to the macro to render the appropriate gallery items (not what you want, by the sound of it).
Load the content via AJAX - jQuery would make this a piece of cake.
Load all of the content in one hit, and use JavaScript to progressively show/hide the appropriate content - again, jQuery is going to make this really easy, but depending on the size of the gallery it might be a bit of a large page load.
Dan, thanks for the response. I guess my main challenge is how to actually enable the linking. Like if I want to select some text in the WYSIWYG editor and then link it to the media folder that I want it to draw images from...
Change Gallery Source on click
I have a situation where I'm using the jquery coda slider for some galleries on webpages. I'd like to enable it so that when i click on a link whithin a page, it changes the source of the gallery to a different media folder, hopefully without a page refresh. Any ideas for a good strategy to achieve this?
Hi Amir,
It seems that you have three options:
My preference would be no. 2.
Hope this helps...
Dan, thanks for the response. I guess my main challenge is how to actually enable the linking. Like if I want to select some text in the WYSIWYG editor and then link it to the media folder that I want it to draw images from...
is working on a reply...