No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sample
README.md
jquery.ui.smoothsnap.coffee
jquery.ui.smoothsnap.js

README.md

SmoothSnap

About SmoothSnap

http://www.pitecan.com/SmoothSnap/

Dependencies

  • jQuery
  • jQueryUI(Slider Widget)

Usage

// Basic Usage
$("#yourslider").slider().smoothsnap();

// Set Option
$("#yourslider").slider().smoothsnap({snapTo: [2, 10, 20, 40]});

// Or you can snap to Element(not implemented yet)
$("#yourslider").slider().smoothsnap({snapTo: ["h2", "h1"]});

Demo

http://ozawakun.io/static/smoothsnap/sample.html