# HG changeset patch # User Michiel Broek # Date 1442515087 -7200 # Node ID 6205c79316594f78e1df816e3f14a0ef116dd155 # Parent 230a9a169adb35befd95c4de09a24e8a15e21e83 More tooltips again. diff -r 230a9a169adb -r 6205c7931659 www-thermferm/liveview.php --- a/www-thermferm/liveview.php Thu Sep 17 17:31:43 2015 +0200 +++ b/www-thermferm/liveview.php Thu Sep 17 20:38:07 2015 +0200 @@ -249,17 +249,20 @@ /* * Tooltips */ - $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 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; + $outstr .= ' $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The target low temperature.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The target high temperature.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#load_select_'.$unr.'").jqxTooltip({ content: "Select unit mode.", theme: "'.$my_style.'" });'.PHP_EOL; if (($mode == "NONE") && ($cooler == "yes")) - $outstr .= ' $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + $outstr .= ' $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", theme: "'.$my_style.'" });'.PHP_EOL; if (($mode == "NONE") && ($heater == "yes")) - $outstr .= ' $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + $outstr .= ' $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", theme: "'.$my_style.'" });'.PHP_EOL; if (($mode == "NONE") && ($fan== "yes")) - $outstr .= ' $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + $outstr .= ' $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#print_'.$unr.'").jqxTooltip({ content: "Print the current graph.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#pngButton_'.$unr.'").jqxTooltip({ content: "Save the current graph as png image.", theme: "'.$my_style.'" });'.PHP_EOL; + $outstr .= ' $("#pdfButton_'.$unr.'").jqxTooltip({ content: "Save the current graph as PDF file.", theme: "'.$my_style.'" });'.PHP_EOL; $outstr .= ' });'.PHP_EOL; $outstr .= ' '.PHP_EOL;