Rob
On Nov 29, 2005, at 4:42 PM, Julian Missig wrote:
On 29 Nov 2005, at 16:28, Rob Crawford wrote:
I have been writing a widget which need 3 sliders, I have tried
to use the sliders in the AppleSlider.js and I get them to work
inside Safari and Widgetarium but in Dashboard they seem to have
problems. The thumb will not drag you can click on the track to
change the value of the slider but not the thumb. I am new to
Java Script and I have found samples of other sliders but I would
like to use the ones that Apple provides. Has anyone used the
AppleSliders with success? If so is there a widget out there that
uses them that I can look at.
It looks like there may be an issue with AppleSlider when the
element it is given is absolutely-positioned. In this case the
element AppleSlider creates which has the Dashboard region set on
it is not sized properly, which means the slider is not marked as
being a control.
The easiest workaround is to just set -apple-dashboard-region:
dashboard-region(control rectangle); on the element you want to
use (or from JavaScript style.appleDashboardRegion = "dashboard-
region(control rectangle)"; ). The other workaround is to use
relatively-positioned elements.
This may also affect AppleScrollbar.
Julian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden