apartamento
€ 400.000
'}, {html: 'apartamento
€ 650.000
'}, {html: 'apartamento
€ 559.000
'}, {html: 'ático
€ 249.000
'}, {html: 'tienda
€ 69.000
'}, {html: 'apartamento
€ 140.000
'}, {html: 'apartamento
€ 239.000
'}, {html: 'apartamento
€ 360.000
'}, {html: 'habitaciones
€ 500
'}, {html: 'apartamento
€ 239.000
'}, {html: 'apartamento
€ 295.000
'}, {html: 'apartamento
€ 379.000
'}, {html: 'habitaciones
€ 600
'}, {html: 'ático
€ 255.000
'}, {html: 'apartamento
€ 1.200
'}, {html: 'apartamento
€ 324.000
'}, {html: 'apartamento
€ 259.000
'}, {html: 'tienda
€ 800
'}, {html: 'apartamento
€ 248.000
'}, {html: 'apartamento
€ 315.000
'}, {html: 'garage
€ 150
'}, {html: 'apartamento
€ 295.000
'}, {html: 'parking
€ 150
'}, {html: 'apartamento
€ 379.000
'}, {html: 'apartamento
€ 275.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} }); });