$(function(){ window.api = $(".scrollable-trigger").switchable(".scrollable-panel > div > img", { triggerType: "click", effect: "scroll", easing: "easeOutBounce", steps: 3, visible: 3, api: true }); $(".next").click(function(){ api.next(); }); $(".prev").click(function(){ api.prev(); }); });
Want more easing effect? To use the jQuery Easing Plugin.
©2010 IlikejQuery.com