apartment
€ 450.000
'}, {html: 'apartment
€ 460.000
'}, {html: 'apartment
€ 188.000
'}, {html: 'apartment
€ 390.000
'}, {html: 'apartment
€ 390.000
'}, {html: 'apartment
€ 390.000
'}, {html: 'apartment
€ 98.000
'}, {html: 'shop
€ 4.500
'}, {html: 'apartment
€ 1.100
'}, {html: 'shop
€ 4.500
'}, {html: 'apartment
€ 169.000
'}, {html: 'apartment
€ 295.000
'}, {html: 'apartment
€ 439.000
'}, {html: 'shop
€ 69.000
'}, {html: 'apartment
€ 169.000
'}, {html: 'apartment
€ 98.000
'}, {html: 'garage
€ 28.000
'}, {html: 'apartment
€ 460.000
'}, {html: 'apartment
€ 490.000
'}, {html: 'apartment
€ 188.000
'}, {html: 'apartment
€ 280.000
'}, {html: 'shop
€ 2.400
'}, {html: 'apartment
€ 169.000
'}, {html: 'office
€ 1.600
'}, {html: 'shop
€ 3.900
'} ]; function mycarousel_itemVisibleInCallback(carousel, item, i, state, evt) { // The index() method calculates the index from a // given index who is out of the actual item range. var idx = carousel.index(i, mycarousel_itemList.length); carousel.add(i, mycarousel_getItemHTML(mycarousel_itemList[idx - 1])); }; function mycarousel_itemVisibleOutCallback(carousel, item, i, state, evt) { carousel.remove(i); }; function mycarousel_getItemHTML(item) { return item.html; }; jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel( { auto: 3, scroll: 1, wrap: 'circular', itemVisibleInCallback: {onBeforeAnimation: mycarousel_itemVisibleInCallback}, itemVisibleOutCallback: {onAfterAnimation: mycarousel_itemVisibleOutCallback} }); });