Links in the launch card to, for example, the burst calculator, or use saved launch sites, now highlight the relevant values in the form on hover
rodzic
2983c59277
commit
c1bef45724
|
@ -373,7 +373,7 @@ google.load("jqueryui", "1.8.1");
|
|||
<tr>
|
||||
<td colspan="2">
|
||||
<a id="burst-calc-show" class="tipsyLink"
|
||||
title="Use a calculator to find burst altitude and ascent rate">
|
||||
title="Use a calculator to find highlighted values">
|
||||
Use Burst Calculator</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -32,6 +32,13 @@ function EH_BurstCalc() {
|
|||
$("#burst-calc-show").click(function() {
|
||||
$("#burst-calc-wrapper").show();
|
||||
});
|
||||
$("#burst-calc-show").hover(
|
||||
function() {
|
||||
$("#ascent,#burst").css("background-color", "#AACCFF");
|
||||
},
|
||||
function() {
|
||||
$("#ascent,#burst").css("background-color", "#FFFFFF");
|
||||
});
|
||||
$("#burst-calc-use").click(function() {
|
||||
// Write the ascent rate and burst altitude to the launch card
|
||||
$("#ascent").val($("#ar").html());
|
||||
|
@ -93,6 +100,13 @@ function EH_LaunchCard() {
|
|||
$("#setWithClick").click(function() {
|
||||
setLatLonByClick(true);
|
||||
});
|
||||
$("#setWithClick,#req_open").hover(
|
||||
function() {
|
||||
$("#lat,#lon").css("background-color", "#AACCFF");
|
||||
},
|
||||
function() {
|
||||
$("#lat,#lon").css("background-color", "#FFFFFF");
|
||||
});
|
||||
// Launch card parameter onchange event handlers
|
||||
$("#lat").change(function() {
|
||||
plotClick();
|
||||
|
|
Ładowanie…
Reference in New Issue