jQuery Spin button
Overview
This plugin provides spin-button interface easily on your form.
This interface is very handy to set especially short or middle range numbers.
Usage
Simply call "spin" method.
$(document).ready(function(){ $("#number").spin();});
You can specify the options with first argument.
$("#number").spin({max:100,min:0});
Options
imageBasePath
You need to specify your spin-button surface images.
When all your spin-related-images are on a same directory(I hope so), you can set your image path onto this parameter.
default value is "/img/spin/".
spinBtnImage/spinUpImage/spinDownImage
The names of spin button images.
default value is "spin-button.png", "spin-up.png" and "spin-down.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001180s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.120809s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001755s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.003168s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001862s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.006000s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001667s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.006149s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.019527s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001441s ]
UPDATE `jrk_articles` SET `hits` = 1 WHERE `id` = 284338 [ RunTime:0.001513s ]