开发者

jquery image slider with image strip dragging

开发者 https://www.devze.com 2023-01-03 03:59 出处:网络
I want to create a image strip slider using jquery. I have used jcarousel plugin for my image gallery and light box plugin to get preview of selected image. Now, my task is when any of the image is se

I want to create a image strip slider using jquery. I have used jcarousel plugin for my image gallery and light box plugin to get preview of selected image. Now, my task is when any of the image is selected i can drag to either side. i.e I can select the image and drag to any directi开发者_开发知识库on within that image container. If any one can help me on this???

Update from comment:

$( "img" ).Draggable({ connectToSortable: 'ul#mycarousel', axis: 'x'}); 
//getter 
var connectToSortable = $("img" ).Draggable( "option", "connectToSortable" ); 
//setter 
$( "img" ).Draggable( "option", "connectToSortable", 'ul#mycarousel' );

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消