Hey guys,

I have the following code to to something, when an image in the carousel 
gets clicked:

$(document).ready(function(){
    jQuery('#mycarousel').jcarousel({
        itemLoadCallback: mycarousel_itemLoadCallback,
        initCallback: test
    });
});
   
function test (a, b) {
    $('li.jcarousel-item img').click(function () {
      console.log("dit it");
    });
}

But unfortunately nothing gets logged to the Firebug console, so nothing 
happens when I click an image.
What am I doing wrong here?

Regards,
Samy

Reply via email to