简体   繁体   中英

JQuery Knob Forwards and Backwards

I have a JQuery knob that's displaying a value that can range from -5000 to 5000. I want it to have 0 be straight up, highlight going cw if the value is positive, highlight going ccw if the value is negative. Is there a simple way to do this with JQuery Knob?

I have done your requirement with roundSlider plugin, here you can completely customize this further. Check the below demo:

Demo -JSFiddle

roundSlider-中心为零,逆时针为负值,顺时针为正值

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM