Difference between revisions of "Dev/Results"
(lol syntax errors!!!!!) |
(haha i forgot how to make a simple column. also put on the rest of the region selector event bindings. (which are not working)) |
||
Line 204: | Line 204: | ||
{ //Region Column (hidden) | { //Region Column (hidden) | ||
'className': 'region-column', | 'className': 'region-column', | ||
− | 'data': | + | 'data': "region", |
'visible': false | 'visible': false | ||
} | } | ||
Line 240: | Line 240: | ||
$("#view-africa").click(function(event) { | $("#view-africa").click(function(event) { | ||
t.column(3).search('africa').draw(); | t.column(3).search('africa').draw(); | ||
+ | }); | ||
+ | $("#view-asia").click(function(event) { | ||
+ | t.column(3).search('asia').draw(); | ||
+ | }); | ||
+ | $("#view-europe").click(function(event) { | ||
+ | t.column(3).search('europe').draw(); | ||
+ | }); | ||
+ | $("#view-latin-america").click(function(event) { | ||
+ | t.column(3).search('latin america').draw(); | ||
+ | }); | ||
+ | $("#view-north-america").click(function(event) { | ||
+ | t.column(3).search('north america').draw(); | ||
}); | }); | ||
}); | }); | ||
Line 261: | Line 273: | ||
<ul style="list-style: none;"> | <ul style="list-style: none;"> | ||
<li> | <li> | ||
− | <label><input type="radio" name="view-status" id="view-all-statuses"> All Teams</label> | + | <label><input selected type="radio" name="view-status" id="view-all-statuses"> All Teams</label> |
<label><input type="radio" name="view-status" id="view-winners"> Award Winners</label> | <label><input type="radio" name="view-status" id="view-winners"> Award Winners</label> | ||
</li> | </li> | ||
<li> | <li> | ||
− | <label><input type="radio" name="view-region" id="view-all-regions"> All Regions</label> | + | <label><input selected type="radio" name="view-region" id="view-all-regions"> All Regions</label> |
<label><input type="radio" name="view-region" id="view-africa"> Africa</label> | <label><input type="radio" name="view-region" id="view-africa"> Africa</label> | ||
<label><input type="radio" name="view-region" id="view-asia"> Asia</label> | <label><input type="radio" name="view-region" id="view-asia"> Asia</label> |
Revision as of 02:55, 28 September 2015