我正在使用jQuery進行slidingshow。但我想圖像URL和描述分貝如何使用jQuery連接和DB像 VAR imagesDataArray = [在Asp.net中使用db連接的jQuery
{
src: 'images/bonsai.jpg',
description: 'Test Description'
},
{
src: 'images/3.jpg'
},
{ src: 'images/forrest.jpg',
description: 'Test description'
},
{
src: 'images/leaves.jpg',
description: 'Test description'
},
{
src: 'images/village.jpg',
description: 'Test description',
}
];
的jQuery(函數(){
$('#unhookshow').shockwave(imagesDataArray, {
'slider-type': 'UnhookedSlider',
'random-time-to-unhook': 1500, // in ms
'free-fall-time': 150, // ms
'autostart-slideshow': true,
'maximum-slideshow-cycles': 2,
'slideshow-delay': 2000,
'duration': 100,.....
}
強大的文本
使用AJAX來連接到分貝 – bipen