Closed tlonero closed 8 years ago
if jcarousel initialized then you may call $('.jcarousel').jcarousel('reload'). if jcarousel not initialized then you should initialize it after ajax
hi snake this is the page http://www.exclusivepaperbags.com/jcart/products/express_flexo.php choose format 18x8x25 the first one choose Quantità then below Colore Fondo click on white, now this is where ajax goes and uses the jcarousel to load Stampa Flexografica choose 1 color now it calls ajax the pictures of the colors associated with white which are five.
$.ajax({ type: "POST", url: "/includes/offsetc.php", success: function(data){
$("#mycarouseltwo").html(data);
$('#mycarouseltwo').jcarousel('reload', {
animation: 'slow'
}
); this is the code I was using but still not working
thanks tony
Looks like you use old version jcarousel. Can you update it?
ok
downloaded the jcarousel-master from here and updated the jquery.jcarousel.js and jquery.jcarousel.min.js
now the above gallery is not working after I updated the above files
Now you should look documentation and edit you code. In new version was make significant changes. http://sorgalla.com/jcarousel/examples/ajax/ it example about reload jcarousel after ajax
Closing for now, feel free to reopen if needed.
sending request via php script from ajax $.ajax({ type: "POST", url: "/includes/gallery.php", Result comes back fine with photo's and css but the problem is that it comes back but how would you reload the jquery.jcarousel.min.js ?
thanks