colorboxのスライド操作をスライプで行うために、
TouchSwipe-Jquery-Pluginを使います。
$(document).on("cbox_open",function(){ $("#colorbox").swipe({ swipeLeft:function(){ $.colorbox.prev() }, swipeRight:function(){ $.colorbox.next() }, threshold:0 }) });
残しておきたい ちょこっとしたTIPSを ちょこっとずつ書いていく。
colorboxのスライド操作をスライプで行うために、
TouchSwipe-Jquery-Pluginを使います。
$(document).on("cbox_open",function(){ $("#colorbox").swipe({ swipeLeft:function(){ $.colorbox.prev() }, swipeRight:function(){ $.colorbox.next() }, threshold:0 }) });