Somebody has finally accomplished styling of checkboxes...

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Somebody has finally accomplished styling of checkboxes...

Post by Luke »

...but it requires javascript. :( The cool thing is that they work like regular checkboxes/radio buttons when javascript is disabled! :D
http://www.dxdec.com/wod/formstyle/index.html
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

The link isn't working for me :cry:
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post 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.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post 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.
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Post by Obadiah »

lol...that is pretty neat :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post 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.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

FINALLYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Yeah, saw this a year or 18 months ago too.

Still had it bookmarked from then.

Cool never-the-less
Post Reply