Log in

View Full Version : Rotate Dial



vwphillips
08-10-2011, 08:10 PM
1) CODE TITLE: Rotate Dial

2) AUTHOR NAME/NOTES: see Link

3) DESCRIPTION:

The script allows a mark to be dragged around the circumference of dial ellipse.
The dial radius and Y radius are determined by the width of the mark parent node.
An options allows the mark position in degrees to be passed to a custom function
allowing control of other functions
and the dial rotation to be limited to specified limits.

The Functional Code Size is 3.57K.4

URL TO CODE: http://www.vicsjavascripts.org.uk/RotateDial/RotateDial.htm

or, ATTACHED BELOW (see #3 in guidelines below):

If anyone has more suitable images it would be appreciated

jscheuer1
08-11-2011, 02:16 AM
Neat! I'm not sure what it would be used for, but I'm pretty sure there could be some, perhaps even many applications for it.

One thing I did notice though. It's tempting to want to try moving the small orange circle by dragging the small white square and/or by clicking on the orange bar. That's because these look like a scrollbar/slider.

vwphillips
08-11-2011, 09:17 AM
Thank you for the feedback

I have changed the presentation.

I have alse changed the script name to Dial Control

see

http://www.vicsjavascripts.org.uk/DialControl/DialControl.htm