Difference between revisions of "Dev/Results"

(stupid regexes)
(screw toggle-links. just use buttons.)
Line 21: Line 21:
 
#table_team tbody img {
 
#table_team tbody img {
 
padding: 0px;
 
padding: 0px;
}
 
a.toggle-selected {
 
color: red;
 
}
 
.toggle a {
 
cursor: pointer;
 
 
}
 
}
 
</style>
 
</style>
Line 218: Line 212:
 
}
 
}
 
} );
 
} );
 
//General click binding for all toggle elements
 
$("#contentWrap").on('click', '.toggle a', function(event) {
 
$(this).addClass('toggle-selected');
 
$(this).siblings().removeClass('toggle-selected');
 
});
 
 
 
 
$("#view-all-teams").click(function(event){
 
$("#view-all-teams").click(function(event){
Line 249: Line 237:
 
<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 id="view-all-teams">[All Teams]</a> <a id="view-award-winners">[Award Winners]</a></span> | [Africa] [Asia] [Europe] [Latin America][other?]</p>
+
<p>View: <input type="button" id="view-all-teams" value="All Teams"> <input type="button" id="view-award-winners" value="Award Winners"> | [Africa] [Asia] [Europe] [Latin America][other?]</p>
  
  

Revision as of 23:33, 23 September 2015

Comprehensive Results from iGEM

View: | [Africa] [Asia] [Europe] [Latin America][other?]

Team Medal Award
Please enable JavaScript in your browser to view results.