Hello,

I have a gallery on my homepage and I want when the user clicks on each image to open the specific image in a jcarousel created by another view in a differrent url.

Is that possible?

Thanks so much you will save me from long hours in front of my screen in panic mode.

Comments

markpavlitski’s picture

Priority: Major » Normal
CosticaPuntaru’s picture

You can do this in js and php

here is a js example by using hash

var hash = 1; // Default start index if none is specified in URL
if (window.location.hash) {
    hash = parseInt(window.location.hash.slice(1));
}
jQuery('#mycarousel').jcarousel({
    start: hash,
    scroll: 1
});