X Lines 1 Goal

  Home  |   Contact  |   Syndication    |   Login
  2 Posts | 0 Stories | 3 Comments | 0 Trackbacks

News

Archives

Post Categories

Javascript

Here be dragons. And Javascript code.
Selecting Items in a list using DIVs instead of Radio Buttons Problem: Radio buttons cannot be styled using CSS. Another problem is that they simply f*** up your design if used incorrectly. They are also not very useful if you would like a user to be able to click on a large item in order to select it. Solution: A solution to this problem would be to allow the user to click on whole DIVs in order to select an item. This is done using some javascript, CSS and a hidden textbox. This is how it's done...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati