diff --git a/predict/index.php b/predict/index.php index 6ea7686..fb9a4a6 100644 --- a/predict/index.php +++ b/predict/index.php @@ -373,7 +373,7 @@ google.load("jqueryui", "1.8.1"); + title="Use a calculator to find highlighted values"> Use Burst Calculator diff --git a/predict/js/pred-event.js b/predict/js/pred-event.js index 7358c9a..ac8169d 100644 --- a/predict/js/pred-event.js +++ b/predict/js/pred-event.js @@ -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();