http://andrebrov.net/dev/carousel/
上記のリンクは、カルーセルを使用したスライドの例を示しています。
var carousel = new $.widgets.Carousel( {
uuid : "carousel",
args : { "scrollInterval" : 600,"itemWidth":290
},
value : [
{ "title" : "Tron.Legacy",
"image" : "images/1.jpg"
},
{ "title" : "Yogi Bear",
"image" : "images/2.jpg"
},
{ "title" : "The Chronicles of Narnia: The Voyage of the Dawn Treader",
"image" : "images/3.jpg"
},
{ "title" : "The Fighter",
"image" : "images/4.jpg"
},
{ "title" : "Tangled",
"image" : "images/5.jpg"
}
]
});
</script >
上記のvalueプロパティのコードでは、タイトルと画像の属性を指定しています。画像の代わりに<div>セクションを入力として指定して、画像などにテキストメッセージを追加できる可能性はありますか。助けてください。