attico
€ 249.000
'}, {html: 'appartamento
€ 179.000
'}, {html: 'appartamento
€ 360.000
'}, {html: 'appartamento
€ 315.000
'}, {html: 'appartamento
€ 239.000
'}, {html: 'appartamento
€ 360.000
'}, {html: 'appartamento
€ 1.200
'}, {html: 'negozio
€ 750
'}, {html: 'stanze
€ 600
'}, {html: 'appartamento
€ 290.000
'}, {html: 'negozio
€ 69.000
'}, {html: 'appartamento
€ 239.000
'}, {html: 'attico
€ 900.000
'}, {html: 'appartamento
€ 175.000
'}, {html: 'attico
€ 1.200
'}, {html: 'appartamento
€ 395.000
'}, {html: 'stanze
€ 500
'}, {html: 'attico
€ 790.000
'}, {html: 'appartamento
€ 290.000
'}, {html: 'appartamento
€ 650.000
'}, {html: 'appartamento
€ 559.000
'} ]; 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} }); });