diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index b47358a..b44383a 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -4030,7 +4030,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } $scope.createSpeechBubbleBasedOnAnnotationLength = function (pointClicked, x, y, id) { - var sppechBubbleHTML = "
"; + var sppechBubbleHTML = "
"; //Issue #7286 :Undefined annotation should not appear for (var i = 0; i <= $scope.MultiLanguageAnnationArray.length - 1; i++) { var annotation = $scope.MultiLanguageAnnationArray[i]; @@ -4085,7 +4085,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l - var sppechBubbleDotHTML = '' + var sppechBubbleDotHTML = '' + '' @@ -4163,8 +4163,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var Globe = []; Globe.push({ currentX: x, currentY: y }); document.getElementById('dot').style.display = 'block'; - document.getElementById('dot').style.left = ((Globe[0].currentX) - 10) + 'px'; - document.getElementById('dot').style.top = ((Globe[0].currentY) + 10) + 'px'; + document.getElementById('dot').style.left = ((Globe[0].currentX) - 6) + 'px'; + document.getElementById('dot').style.top = ((Globe[0].currentY) + 11) + 'px'; document.getElementById('bord').style.display = 'block'; document.getElementById('bord').style.left = ((Globe[0].currentX) - 2) + 'px'; document.getElementById('bord').style.top = ((Globe[0].currentY) + 1) + 'px'; @@ -4177,7 +4177,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } $scope.createSpeechBubbleBasedOnTransparencyWithCtrl = function (pointClicked_annotation, Exists_annotation, x, y, sub_id_annotation) { - var sppechBubbleHTML_annotation = "
"; + var sppechBubbleHTML_annotation = "
"; if ($scope.longest_annotationT1.length > $scope.longest_annotationT2.length) { if (Exists_annotation == 0) { $("#canvasDiv").append(sppechBubbleHTML_annotation); @@ -4272,7 +4272,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $("#bord_annotation").remove(); $("#sppeachBubble_annotation").remove(); $("#dot_annotation").remove(); - var sppechBubbleDotHTML_annotation = '' + var sppechBubbleDotHTML_annotation = '' + '' @@ -4364,8 +4364,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var Globe = []; Globe.push({ currentX: x, currentY: y }); document.getElementById('dot_annotation').style.display = 'block'; - document.getElementById('dot_annotation').style.left = ((Globe[0].currentX) - 10) + 'px'; - document.getElementById('dot_annotation').style.top = ((Globe[0].currentY) + 10) + 'px'; + document.getElementById('dot_annotation').style.left = ((Globe[0].currentX) - 6) + 'px'; + document.getElementById('dot_annotation').style.top = ((Globe[0].currentY) + 11) + 'px'; document.getElementById('bord_annotation').style.display = 'block'; document.getElementById('bord_annotation').style.left = ((Globe[0].currentX) - 2) + 'px'; document.getElementById('bord_annotation').style.top = ((Globe[0].currentY) + 1) + 'px'; diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index bf2ba70..0f411ef 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -1189,7 +1189,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.isAnnotationDivAlreadyPresent = true; } if ($scope.isAnnotationDivAlreadyPresent == true) { - var speechBubbleHTML = '' + var speechBubbleHTML = '' + '
' + '' + '
' @@ -1271,7 +1271,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $rootScope.speechBubbleDimaensions.push({ "currentX": x, "currentY": y, "id": PinId }); speechBubbleDims.push({ currentX: x, currentY: y }); document.getElementById('speechBubbleLine' + PinId + '').style.display = 'block'; - document.getElementById('speechBubbleLine' + PinId + '').style.left = ((speechBubbleDims[0].currentX - 12)) + 'px'; + document.getElementById('speechBubbleLine' + PinId + '').style.left = ((speechBubbleDims[0].currentX - 10)) + 'px'; if ($scope.sliderVal == 25) { document.getElementById('speechBubbleLine' + PinId + '').style.top = ((speechBubbleDims[0].currentY + 5)) + 'px'; }