diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index d8aa8e3..084f23e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -7464,6 +7464,22 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } + $rootScope.mouseMoveToolTip = function (toolTipTopPosition, toolTipLeftPosition, toolTipWidth, toolTipText) { + + $("#cursor-block").addClass("custom-tooltip-annotation-toolbar"); + $(".custom-tooltip-annotation-toolbar").css({ "display": "block", "top": toolTipTopPosition + "px", "width": toolTipWidth + "px", "left": toolTipLeftPosition + "px" }); + $("#cursor-block").html(toolTipText); + } + + $rootScope.mouseOutToolTip = function () { + + $(".custom-tooltip-annotation-toolbar").css('display', 'none'); + $("#cursor-block").removeClass("custom-tooltip-annotation-toolbar"); + $("#cursor-block").html(); + + } + + }] diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 63918be..55e41d0 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -136,6 +136,21 @@ border-radius: 0; } + .custom-tooltip-annotation-toolbar { + background-color: #fff; + border: 0 none; + color: #000; + opacity: 0.9; + padding: 3px 0; + position: absolute; + text-align: center; + display: none; + z-index: 10000; + border: 1px solid #000; + color: #000; + border-radius: 0; + } + @@ -491,18 +506,19 @@