I came across a carousel from Twitter bootstrap here. http://twitter.github.com/bootstrap/javascript.html#carousel
It looks really good. But all the images / content in the example are hard-coded. How can I request the server for new content and show it in the carousel?
The answer would have to be adjusted for each language, but assuming you’re programing in PHP, it may look something like this:
If you have an array of images:
Then you’d loop through those images, and place each one in the appropriate HTML markup, like so: