资 源 简 介
Summary
Create left/right buttons for horizontal scrolling.
Could be useful when having super-height overflow-x boxes.
Options
$.fn.hScrollBtns.defaults = {
* step: 20, // scroll distance
* speed: 25, // number of milliseconds to scroll by 1 step
* offset: null, // horizontally push buttons away from box, if null, use the half of button width
* startEvent: "mousedown", // event type(s) for buttons to start scroll
* stopEvent: "mouseup", // event type(s) for buttons to stop scroll
* safeHeight: 0 // boxes with height less than this will not show any buttons (still have button elements but not interactive)
};