Difference between revisions of "Dev/Results"
(Let's try to make toggles work) |
(still toggles) |
||
Line 24: | Line 24: | ||
a.toggle-selected { | a.toggle-selected { | ||
color: red; | color: red; | ||
+ | } | ||
+ | .toggle a { | ||
+ | cursor: pointer; | ||
} | } | ||
</style> | </style> | ||
Line 225: | Line 228: | ||
console.log("view all teams"); | console.log("view all teams"); | ||
t.column(2).search('').draw(); | t.column(2).search('').draw(); | ||
− | |||
}); | }); | ||
$("#view-award-winners").click(function(event) { | $("#view-award-winners").click(function(event) { | ||
console.log("view award winners"); | console.log("view award winners"); | ||
t.column(2).search('.*', true, false).draw(); | t.column(2).search('.*', true, false).draw(); | ||
− | |||
}); | }); | ||
Line 248: | Line 249: | ||
<h2>Comprehensive Results from iGEM <span id="title-year"></span></h2> | <h2>Comprehensive Results from iGEM <span id="title-year"></span></h2> | ||
− | <p>View: <span class="toggle"><a | + | <p>View: <span class="toggle"><a id="view-all-teams">[All Teams]</a> <a id="view-award-winners">[Award Winners]</a></span> | [Africa] [Asia] [Europe] [Latin America][other?]</p> |
Revision as of 23:28, 23 September 2015
Comprehensive Results from iGEM
View: [All Teams] [Award Winners] | [Africa] [Asia] [Europe] [Latin America][other?]
Team | Medal | Award |
---|---|---|
Please enable JavaScript in your browser to view results. |