25,29d24 < } else if (isset($_POST['value'])) { < $GETtitle = urldecode($_POST['title']); < $GETlabel = str_replace("\\","",urldecode($_POST['label'])); < $GETvalue = str_replace("\\","",urldecode($_POST['value'])); < $GETdata = urldecode($_POST['data']); 42c37 < if ((isset($_GET['value']) || isset($_POST['value'])) && (isset($_GET['tooltip']) || isset($_POST['tooltip']) || strpos($GETdata, "'") !== false || strpos($GETdata, '"') !== false)) { --- > if (isset($_GET['value']) && (isset($_GET['tooltip']) || strpos($GETdata, "'") !== false)) { 70,75c65 < //echo " chart.draw(data, {showTip: true, focusTarget: 'category', tooltip: {isHtml: true}}); \n } \n"; < //echo " chart.draw(data, {focusTarget: 'category', tooltip: {isHtml: true}, showTip: true}); \n } \n"; < //echo " chart.draw(data, {focusTarget: 'category', tooltip.isHtml: true, showTip: true}); \n } \n"; < //echo " chart.draw(data, { tooltip: {isHtml: true}, showTip: true }); \n } \n"; < echo " chart.draw(data, { tooltip: {isHtml: true}, showTip: true }); \n } \n"; < --- > echo " chart.draw(data, {showTip: true}); \n } \n"; 79,81d68 < < < if (!isset($_GET['value']) && !isset($_POST['value'])) { 83,85d69 < } else { < echo "
\n"; < } 91c75 < if (!isset($_GET['value']) && !isset($_POST['value'])) { --- > if (!isset($_GET['value'])) { 116c100 < echo ' var dlsa, dlp2="", datac = ""; ' . "\n"; --- > echo ' var datac = ""; ' . "\n"; 120c104 < echo ' if (label.length != 0) { datalineprefix2 = prompt("Enter ' . " " . $GETtitle . ' Name' . " " . ' " + thisline, ""); if (datalineprefix2 != null) { dlp2=datalineprefix2; } } ' . "\n"; --- > echo ' if (label.length != 0) datalineprefix2 = prompt("Enter ' . " " . $GETtitle . ' Name' . " " . ' " + thisline, ""); ' . "\n"; 125c109 < echo ' if (datalinesuffix.length != 0 && label.length != 0) { datalineprefix = prompt("Enter ' . " " . $GETtitle . ' Name' . " " . ' " + thisline + " (for no more hit Cancel button)", ""); if (datalineprefix != null) { dlp2=datalineprefix; } } ' . "\n"; --- > echo ' if (datalinesuffix.length != 0 && label.length != 0) datalineprefix = prompt("Enter ' . " " . $GETtitle . ' Name' . " " . ' " + thisline + " (for no more hit Cancel button)", ""); ' . "\n"; 132,133c116 < echo " datalinesuffix = prompt('Enter decimal Latitude,Longitude ' + thisline + extra + ' (for no more hit Cancel button and append with ' + '\\n\\n' + ',\"A tooltip and clicking link for Google Map of ' + dlp2 + '\" ' + '\\n\\n' + ' or maybe perhaps ' + '\\n\\n' + ',\"A tooltip and clicking link for Google Map based on latitude and longitude of ' + dlp2 + '\"' + '\\n\\n' + ' optionally (as (just) two examples of what is possible with HTML included (activates with onclick bit not onmouseover))', thisdef); " . "\n"; < echo ' if (datalinesuffix != null) { datalinesuffix=datalinesuffix.replace(/#/g, "%23"); if (datalinesuffix.indexOf("{latitude}") != -1) { dlsa=datalinesuffix.split(","); if (dlsa[0].indexOf(".") == -1) { dlsa[0]=dlsa[0]+".0"; } if (dlsa[0].indexOf("-") == -1) { datalinesuffix=datalinesuffix.replace("{latitude}",encodeURIComponent("" + dlsa[0])); } else { datalinesuffix=datalinesuffix.replace("{latitude}",encodeURIComponent(dlsa[0])); } } if (datalinesuffix.indexOf("{longitude}") != -1) { dlsa=datalinesuffix.split(","); if (dlsa.length > 1) { if (dlsa[0].indexOf(".") == -1) { dlsa[0]=dlsa[0]+".0"; } if (dlsa[1].indexOf(".") == -1) { dlsa[1]=dlsa[1]+".0"; } if (dlsa[1].indexOf("-") == -1) { datalinesuffix=datalinesuffix.replace("{longitude}",encodeURIComponent("+" + dlsa[1])); } else { datalinesuffix=datalinesuffix.replace("{longitude}","+" + encodeURIComponent(dlsa[1])); } } } datalinesuffix=("@!@" + datalinesuffix).replace(/loc:+/g, "loc:").replace(/,0,/g, ",0.00000001,").replace(/@!@0,/g, "0.00000001,").replace(/@!@/g, ""); } ' . "\n"; --- > echo ' datalinesuffix = prompt("Enter decimal Latitude,Longitude " + thisline + extra + " (for no more hit Cancel button and append with ,' . "'a tooltip'" . ' optionally)", thisdef); ' . "\n";