Slashdot Mirror


Check Boxes and Radio Buttons Conquered by DHTML

Philip Howard writes "Pretty much every form element has been conquered by CSS so far, letting us create stylish, integrated forms to tie in closely with our site designs for that UI polish graphics artists love to have. Radio Buttons and Check Boxes, however, have resisted most attempts to style them consistently, accessibly and elegantly- perhaps because nobody cares enough to come up with the solution. However, these elusive form elements have finally been conquered with a simple combination of CSS and Javascript and a little HTML wrapper. The solution is easy and quick to implement, is accessible (working with tab and space) and elegantly degrades where CSS and/or XHTML is not available."

12 of 522 comments (clear)

  1. The real question is by Rosco+P.+Coltrane · · Score: 5, Funny

    Will Lynx render them correctly with ascii-art?

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  2. Check Boxes and Radio Buttons Respond: by Anonymous Coward · · Score: 5, Funny

    This occupation won't stand! You may think you can apply your western styles upon us by force, but history will prove you wrong.

  3. Click here by FunWithHeadlines · · Score: 3, Funny

    [ ] This is a good idea
    [ ] This is a kludge
    [ ] I didn't read TFA, but I like clicking boxes anyway

    1. Re:Click here by hcdejong · · Score: 2, Funny

      Of course they do. Here's a screenshot of the form after I entered my choice:

      [ ] This is a good idea
      [ ] This is a kludge
      [x] I didn't read TFA, but I like clicking boxes anyway

    2. Re:Click here by Anonymous+Custard · · Score: 2, Funny

      worked for me too...

      [ ] This is a good idea
      [ ] This is a kludge
      [ ] I didn't read TFA, but I like clicking boxes anyway
      [X] CowboyNeal

  4. Damn you, Slashdot. by bigtallmofo · · Score: 4, Funny

    I just hope the marketing people that work in my company aren't reading Slashdot today.

    Otherwise, I'll be making fancy checkboxes for the next 2 months.

    Damn you, Slashdot.

    --
    I'm a big tall mofo.
  5. Are you joking? by dave420 · · Score: 2, Funny
    This is what passes for a story on slashdot these days? This isn't new. People have been re-creating radio and check boxes using DHTML for YEARS. Shit, I remember first doing it 2 years ago, and I didn't think it was anything special when I did it.

    Do editors not read articles any more? shit.

    1. Re:Are you joking? by Neurotoxic666 · · Score: 1, Funny

      This is what passes for a comment on slashdot these days? This isn't new. People have been re-creating flame and rant comments using CTRL-C/CTRL-V for YEARS. Shit, I remember first doing it 2 years ago, and I didn't think it was anything special when I did it.

      --
      You are more than the sum of what you consume. Desire is not an occupation.
  6. Patent It! by ryanjm · · Score: 3, Funny

    The author should apply for a patent for this. I'm sure it'd be approved.

  7. Slow News Day by adinu79 · · Score: 2, Funny

    Definetely a slow news day on Slashdot today. What will they report next? Seeing the back of your head finally possible thanks to an ingenious mirror system. Sheeesh.

  8. Re:Not really new, but interesting by Anonymous Coward · · Score: 1, Funny

    I'm going to have to start a new campaign called "Slap the Stupid out of Everyone"

    I find your ideas intriguing, and would like
    to subscribe to your newsletter.

  9. Re:Fucking graphic design majors by AutopsyReport · · Score: 1, Funny
    There are only two truly intuitive interfaces in existance. The nipple and the vagina. The rest you have to learn how to use.

    Spoken like a true virgin.

    --

    For he today that sheds his blood with me shall be my brother.