ryrych / rcarousel

yet another jQuery UI carousel
http://ryrych.github.com/rcarousel/
171 stars 48 forks source link

Problem with creating rcarousel with ajax from empty content. #51

Open lseongjoo opened 12 years ago

lseongjoo commented 12 years ago

I used ajax to fill an initially empty DIV and created rcarousel for it when ajax done as below.

I checked the generated content and it seems lacking

and style attribute for each item. rcarousel is generated and working but it "stutters" when displaying the items because of the lacked wrapper and style attributes.

$.ajax({ ... success: function(data){ $("#carousel").append(data); }

}).done(function() { $("#carousel").rcarousel({ ... }); });