mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added JS for band changes
This commit is contained in:
@@ -8,6 +8,27 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
$('#band2').change(function(){
|
||||||
|
var band = $("#band2 option:selected").text();
|
||||||
|
if (band != "SAT") {
|
||||||
|
$("#sats").val('All');
|
||||||
|
$("#orbits").val('All');
|
||||||
|
$("#satrow").hide();
|
||||||
|
$("#orbitrow").hide();
|
||||||
|
} else {
|
||||||
|
$("#satrow").show();
|
||||||
|
$("#orbitrow").show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#band2').change(); // trigger the change on fresh-load to hide/show SAT-Params
|
||||||
|
|
||||||
|
$('#sats').change(function(){
|
||||||
|
var sat = $("#sats option:selected").text();
|
||||||
|
$("#band2").val('SAT');
|
||||||
|
if (sat != "All") {
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<!-- Award Info Box -->
|
<!-- Award Info Box -->
|
||||||
|
|||||||
Reference in New Issue
Block a user