Ajax Load - Carousel

The Yahoo! Trip Planner API is called with the query string "Amsterdam" during the initial load and on each subsequent 'next' page. Upon load, the size is set to 20 (to illustrate how to dynamically calculate the size during load.)

carousel.setProperty("size", 20, true); // third parameter is silent parameter; set to true
Previous Button
Next Button
View the source or documentation