This plugin allows you to create a carousel of images to use as a menu. The behaviour of the
carousel is configured using the advanced properties in the control panel.
This plugin was derived from an open source project here:
http://charcoaldesign.co.uk/source/cocoa#icarousel-------------------------------
Original plugin author: Kittsy
-------------------------------
iOS Project
------------------------
Eight files required.
Buzz_carousel.h
Buzz_carousel.m
Buzz_carousel.xib
Buzz_carousel~ipad.xib
ReflectionView.h
ReflectionView.m
iCarousel.h
iCarousel.m
Android Project
------------------------
***Currently does not support Android***
JSON Data
------------------------
If you manually enter the data for this plugin, the JSON data will include a list of childItems
representing each image in the carousel.
{
"itemId":"1111",
"itemType":"Buzz_carousel",
"navBarTitleText":"Buzz Carousel",
"childItems":[
{
"itemId":"carouselItem_1",
"itemType":"AK_carouselItem",
"titleText":"This is item 1",
"loadScreenWithItemId":"1234"
},
{
"itemId":"carouselItem_2",
"itemType":"AK_carouselItem",
"titleText":"This is item 2",
"loadScreenWithItemId":"2345"
}
]
}
If you provide carousel item data from a remote file there is no childItems array in the screen
definition in the BT_config.txt file. Instead, the carousel items are pulled from a remote file.
{
"itemId":"1111",
"itemType":"Buzz_carousel",
"navBarTitleText":"Buzz Carousel",
"dataURL":"
http://www.domain.com/carouselItemData.php"
}
In this case the carousel items would come from a backend script at the dataURL. Loading
the dataURL in your browser would produce output like this....
{
"childItems":[
{
"itemId":"carouselItem_1",
"itemType":"AK_carouselItem",
"titleText":"This is item 1",
"loadScreenWithItemId":"1234"
},
{
"itemId":"carouselItem_2",
"itemType":"AK_carouselItem",
"titleText":"This is item 2",
"loadScreenWithItemId":"2345"
},
{
"itemId":"carouselItem_3",
"itemType":"AK_carouselItem",
"titleText":"This is item 3",
"loadScreenWithItemId":"3456"
}
]
}