Home › Forums › JavaScript › Jquery cycle plugin loading in ajax content › Re: Jquery cycle plugin loading in ajax content
September 13, 2011 at 11:03 am
#87093
Olly
Member
I have solved it now, the plugin was running before the page had fully loaded,
i simply added this to the code
$(window).bind("load", function() {
$('#slider').cycle({
fx: 'scrollLeft',
cleartype: true,
cleartypeNoBg: true,
pager: '#li-number2',
requeueOnImageNotLoaded: true
});
});