More tooltips

Thu, 17 Sep 2015 17:31:43 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 17 Sep 2015 17:31:43 +0200
changeset 403
230a9a169adb
parent 402
6b9f0c3c7f63
child 404
6205c7931659

More tooltips

www-thermferm/liveview.php file | annotate | diff | comparison | revisions
--- a/www-thermferm/liveview.php	Thu Sep 17 17:09:09 2015 +0200
+++ b/www-thermferm/liveview.php	Thu Sep 17 17:31:43 2015 +0200
@@ -251,8 +251,15 @@
 	 */
 	$outstr .= '       $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
 	$outstr .= '       $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
-	$outstr .= '       $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The set low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
-	$outstr .= '       $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The set high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The target low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The target high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_select_'.$unr.'").jqxTooltip({ content: "Select unit mode.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	if (($mode == "NONE") && ($cooler == "yes"))
+	    $outstr .= '       $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	if (($mode == "NONE") && ($heater == "yes"))
+	    $outstr .= '       $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	if (($mode == "NONE") && ($fan== "yes"))
+	    $outstr .= '       $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
 
 	$outstr .= '     });'.PHP_EOL;
 	$outstr .= '    </script>'.PHP_EOL;

mercurial