diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 18427f7..ef93e99 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -8395,20 +8395,6 @@ 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(); - - } $scope.OnSearchBtnClick = function (e) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index e2785f7..e3e9b53 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3336,5 +3336,21 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#adminModal").modal('hide'); $("adminAccessTextArea").text(''); } + + + $rootScope.addToolTip = 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.remaveToolTipOnMouseOut = function () { + + $(".custom-tooltip-annotation-toolbar").css('display', 'none'); + $("#cursor-block").removeClass("custom-tooltip-annotation-toolbar"); + $("#cursor-block").html(); + + } }] ); \ No newline at end of file diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index fcef2c3..d5eb366 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -629,24 +629,24 @@
- - - - + + + +
- - - - + + + +
-
+
-
+
@@ -656,23 +656,23 @@
- - + + -   +  
-
+
-
-
@@ -681,7 +681,7 @@
-
+