Page 1 of 1
Somebody has finally accomplished styling of checkboxes...
Posted: Wed Oct 11, 2006 3:43 pm
by Luke
...but it requires javascript.

The cool thing is that they work like regular checkboxes/radio buttons when javascript is disabled!
http://www.dxdec.com/wod/formstyle/index.html
Posted: Wed Oct 11, 2006 3:44 pm
by Oren
The link isn't working for me

Posted: Wed Oct 11, 2006 3:59 pm
by Maugrim_The_Reaper
Very good...

. JS is a drawback, but for those working on AJAX apps which require Javascript anyway...I can see this offering a few more UI enhancements.
Posted: Wed Oct 11, 2006 4:06 pm
by Luke
I don't really see how javascript is a drawback here... of course it would be cooler if it didn't require it, but it's not like the controls break if javascript is disabled.
Posted: Wed Oct 11, 2006 4:35 pm
by Obadiah
lol...that is pretty neat

Posted: Wed Oct 11, 2006 4:41 pm
by Chris Corbyn
I saw this page last year

It's very cool indeed. I agree that the JS thing (and the browser compatability thing) isn't anything to be afraid of. Nothing "breaks" without it.
Posted: Wed Oct 11, 2006 9:15 pm
by Jenk
I haven't look at the source for that, but I did see something similar many moons ago where the Javascript simply replaces normal checkboxes with div's/img's which would then use the onclick="" event to change image. If the user doesn't have JS enabled, then it simply doesn't replace the checkboxes.
It's a pleasant surprise when you find out just how easy it is.
Posted: Wed Oct 11, 2006 9:33 pm
by daedalus__
FINALLYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Posted: Thu Oct 12, 2006 3:04 am
by JayBird
Yeah, saw this a year or 18 months ago too.
Still had it bookmarked from then.
Cool never-the-less