drilldownrow_test.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2011 The Closure Library Authors. All Rights Reserved.
  5. Use of this source code is governed by the Apache License, Version 2.0.
  6. See the COPYING file for details.
  7. Author: nicksantos@google.com (Nick Santos)
  8. -->
  9. <head>
  10. <meta charset="UTF-8" />
  11. <title>
  12. DrilldownRow Tests
  13. </title>
  14. <script type="text/javascript" src="../base.js">
  15. </script>
  16. <script>
  17. goog.require('goog.ui.DrilldownRowTest');
  18. </script>
  19. <style type="text/css">
  20. .toggle {
  21. cursor: pointer;
  22. cursor: hand;
  23. background-repeat: none;
  24. background-position: right;
  25. }
  26. tr.goog-drilldown-expanded .toggle {
  27. background-image: url('../images/minus.png');
  28. }
  29. tr.goog-drilldown-collapsed .toggle {
  30. background-image: url('../images/plus.png');
  31. }
  32. tr.goog-drilldown-hover td {
  33. background-color: #CCCCFF;
  34. }
  35. td {
  36. background-color: white;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <table id="table" style="background-color: silver">
  42. <tr>
  43. <th>
  44. Column Head
  45. </th>
  46. <th>
  47. Second Head
  48. </th>
  49. </tr>
  50. <tr id="firstRow">
  51. <td>
  52. First row
  53. </td>
  54. <td>
  55. Second column
  56. </td>
  57. </tr>
  58. </table>
  59. </body>
  60. </html>