Closed dlee closed 14 years ago
can be detected, it's pseudo state like :hover i.e: button:disabled
It's also possible to detect with the attribute selector button[disabled] which is a bit more accessible because no current version of IE supports :disabled. What a shame.
Anyway I've addressed this and released 0.3.7 which allows you to mark a button as disabled with the class="disabled" or by adding a disabled property to the button. Now the button will be more transparent and the state won't change for any interaction. Give it a shot and tell me if that's what you were looking for.
I've updated the demo so you can see this in action: http://brandonmathis.com/projects/fancy-buttons/demo/
Cool, the demo works. Thanks!
It would be nice to have disabled states on the buttons, although I'm not sure if disabled-ness can be detected via CSS.