登录站点

用户名

密码

一个漂亮的JavaScript旋钮(循环开关)用户界面组件 - jQuery Knob

1已有 4154 次阅读  2012-05-15 10:01   标签开关  漂亮  用户 

a href="http://anthonyterrien.com/knob/" target="_blank">jQuery Knob is a lightweight jQuery plugin for creating good-looking circular switches (like the "volume controls" in radios).

It works by transforming any given input fields according to the values defined in its attributes and can be drag 'n' dropped to change the value.

jQuery Knob Control

We can define the min-max values, default value on initial load, color and put it into "read-only" mode (which is also good for using it as a visualization component).

There are no documents for the plugin but things are very straightforward and checking the source code of the demo is pretty enough to learn its logic.


分享 举报