Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#3606 closed defect (fixed)

dijit.form.Slider needs basic styling [non-tundra]

Reported by: dante Owned by: Douglas Hays
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Slider looks _great_ in Tundra, but does not drag or store position in any way without theme. need basic working styles in dijit.css, and pretty-ness in tundra/noir/et al . ...

Concretely this means that:

  • handle needs to be a <div> w/a background image and size specified in tundra.css (and a different image will be specified in noir.css), rather than an <img> with path specified in JS, like now
  • I suggest that dijit.css display the dijitSliderA11yHandle character for the slider, and then themes can hide that character and use the background-image instead (except in high-contrast mode)

additionally, though not as vital, Slider _should_ listen to mouse-wheel scrolling [up +, down -] ...

Change History (5)

comment:1 Changed 12 years ago by bill

Owner: changed from anonymous to Douglas Hays

comment:2 Changed 12 years ago by bill

Description: modified (diff)
Milestone: 0.9

comment:3 Changed 12 years ago by Adam Peller

Component: GeneralDijit

comment:4 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [9907]) Fixes #3606. Added mouse wheel support to slider. Changed to fire onchange events on mouseup so that webkit works. Changed the default non-image slider handle to a square box so that zoom feature works as expected. Slider handle background image was already in tundra.css. Verified that the a11y handle is shown when no theme is selected.

comment:5 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.