Closed LeoAref closed 10 years ago
Hi,
I have jcarousel horizontal slider and it is working fine. But the problem is when I'm going to make a copy of this slider into a fancybox window, It doesn't work.
I use a script like this:
$('.product-image a').fancybox({ closeEffect: 'fade', afterLoad : function() { $('.jcarousel-skin-tango').clone().appendTo($('.fancybox-skin')); }, beforeClose: function() { $('.fancybox-skin .jcarousel-skin-tango').remove(); } });
Cloning the whole carousel isn't possible, sorry.
Hi,
I have jcarousel horizontal slider and it is working fine. But the problem is when I'm going to make a copy of this slider into a fancybox window, It doesn't work.
I use a script like this:
$('.product-image a').fancybox({ closeEffect: 'fade', afterLoad : function() { $('.jcarousel-skin-tango').clone().appendTo($('.fancybox-skin')); }, beforeClose: function() { $('.fancybox-skin .jcarousel-skin-tango').remove(); } });