Fotiman - 9:20 pm on Feb 8, 2012 (gmt 0)
A second problem is that my data then comes back in several stages from multiple AJAX requests (so there is a small time delay). I need to add to the carousel as each set of data is returned.
That is a problem. Do you know when exactly you've got all of the data? Because I think you'll need to create the carousel only once you've got all of the data. Alternatively, if you know how many values will be returned, I think you can create it initially and the items can get added to it asynchronously later.