Commit 81d655e7 authored by Jan Kiene's avatar Jan Kiene
Browse files

make logfile link clickable by moving tooltip under cursor

parent e2c4a742
Loading
Loading
Loading
Loading
+18 −6
Original line number Diff line number Diff line
@@ -450,8 +450,8 @@
  function showToolTip(x, y, contents) {
    var tipWidth = 165;
    var tipHeight = 75;
    var xOffset = 5;
    var yOffset = 5;
    var xOffset = -15;
    var yOffset = -15;
    var ie = document.all && !window.opera;
    var iebody = (document.compatMode == "CSS1Com[at")
               ? document.documentElement
@@ -533,7 +533,10 @@
		
        elt.bind("plothover", function (event, pos, item) {
            if (!item) {
                // only remove if not in tooltip anymore
                if ($('#tooltip:hover').length == 0) {
                  $("#tooltip").remove();
                }
                previousPoint = null;
                return;
            }
@@ -1080,7 +1083,10 @@ function RAM() {
		
        elt.bind("plothover", function (event, pos, item) {
            if (!item) {
                // only remove if not in tooltip anymore
                if ($('#tooltip:hover').length == 0) {
                  $("#tooltip").remove();
                }
                previousPoint = null;
                return;
            }
@@ -1238,7 +1244,10 @@ function ROM() {
		
        elt.bind("plothover", function (event, pos, item) {
            if (!item) {
                // only remove if not in tooltip anymore
                if ($('#tooltip:hover').length == 0) {
                  $("#tooltip").remove();
                }
                previousPoint = null;
                return;
            }
@@ -1404,7 +1413,10 @@ function PROM() {
		
        elt.bind("plothover", function (event, pos, item) {
            if (!item) {
                // only remove if not in tooltip anymore
                if ($('#tooltip:hover').length == 0) {
                  $("#tooltip").remove();
                }
                previousPoint = null;
                return;
            }