Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <label><input type="checkbox" id="col_1">Hide Column 1</input></label>
  2. <label><input type="checkbox" id="col_2">Hide Column 2</input></label>
  3. <label><input type="checkbox" id="col_3">Hide Column 3</input></label>
  4.  
  5. <div class="selected-counter">Selected: <span>0</span></div>
  6. <div class="highlighted-counter">Highlighted: <span>0</span></div>
  7.  
  8. <table width="100%" cellpadding="0" cellspacing="0" class="reddyTable">
  9. <thead>
  10. <tr>
  11. <th><input type="checkbox" name="cbAll" id="cbAll" /></th>
  12. <th>Column 1</th>
  13. <th>Column 2</th>
  14. <th>Column 3</th>
  15. </tr>
  16. </thead>
  17.  
  18. <tbody>
  19. <tr>
  20. <td><input type="checkbox" id="cb1" name="cb1" /></td>
  21. <td>Lorem Ipsum</td>
  22. <td>Dolar sit</td>
  23. <td>Amet</td>
  24. </tr>
  25. <tr>
  26. <td><input type="checkbox" id="cb2" name="cb2" /></td>
  27. <td>Pellentesque</td>
  28. <td>semper arcu</td>
  29. <td>eget molestie</td>
  30. </tr>
  31. <tr>
  32. <td><input type="checkbox" id="cb3" name="cb3" /></td>
  33. <td>ex rutrum et</td>
  34. <td>Vivamus</td>
  35. <td>efficitur</td>
  36. </tr>
  37. </tbody>
  38.  
  39. </table>
  40.  
  41. body{font-family:Arial;}
  42.  
  43. label{margin-right:15px;}
  44. table.reddyTable{border:1px solid #ccc;margin-top:20px;border-collapse:collapse;}
  45. table.reddyTable th{text-align:left;border:1px solid #aaa;padding:5px;background:#ddd;}
  46. table.reddyTable td{border:1px solid #ccc;padding:5px;}
  47. table.reddyTable tr.highlightTr td{background:#ffe599;}
  48. table.reddyTable tr.selectTr td{background:#6aa84f;}
  49.  
  50.  
  51. .selected-counter,.highlighted-counter{margin-top:20px;font-weight:normal;font-size:12px;}
  52. .selected-counter span,.highlighted-counter span{font-weight:bold;font-size:16px;position:relative;bottom:-2px;}
  53. .selected-counter{color:#555;}
  54. .highlighted-counter{color:#2e4267;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement