var mycarousel_itemList = [ {html: '

Colli Portuensi

penthouse Colli Portuensi

penthouse

€ 760.000

'}, {html: '

Casetta Mattei

wohnung Casetta Mattei

wohnung

€ 290.000

'}, {html: '

Bravetta

posto auto Bravetta

posto auto

€ 150

'}, {html: '

Campo Ascolano - Villaggio Tognazzi

wohnung Campo Ascolano - Villaggio Tognazzi

wohnung

€ 159.000

'}, {html: '

Ardeatino

shop Ardeatino

shop

€ 69.000

'}, {html: '

Portuense

wohnung Portuense

wohnung

€ 1.200

'}, {html: '

Pisana

wohnung Pisana

wohnung

€ 239.000

'}, {html: '

Case Rosse

wohnung Case Rosse

wohnung

€ 179.000

'}, {html: '

Case Rosse

wohnung Case Rosse

wohnung

€ 250.000

'}, {html: '

Portuense

wohnung Portuense

wohnung

€ 360.000

'}, {html: '

Pisana

wohnung Pisana

wohnung

€ 239.000

'}, {html: '

Monteverde

wohnung Monteverde

wohnung

€ 399.000

'}, {html: '

Bravetta

wohnung Bravetta

wohnung

€ 385.000

'}, {html: '

Furio Camillo

shop Furio Camillo

shop

€ 110.000

'}, {html: '

Colli Portuensi

wohnung Colli Portuensi

wohnung

€ 559.000

'}, {html: '

Pisana

garage Pisana

garage

€ 150

'}, {html: '

Casetta Mattei

wohnung Casetta Mattei

wohnung

€ 340.000

'}, {html: '

San Saba

wohnung San Saba

wohnung

€ 650.000

'}, {html: '

Casetta Mattei

wohnung Casetta Mattei

wohnung

€ 290.000

'}, {html: '

Portuense

wohnung Portuense

wohnung

€ 170.000

'}, {html: '

Monteverde Vecchio

wohnung Monteverde Vecchio

wohnung

€ 360.000

'}, {html: '

Monteverde

wohnung Monteverde

wohnung

€ 320.000

'}, {html: '

Portuense

wohnung Portuense

wohnung

€ 360.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} }); });