From 6ae22fe0d8e4215c266ccc29af3f1e483716c17a Mon Sep 17 00:00:00 2001 From: nikita Date: Mon, 5 Mar 2018 13:12:17 +0530 Subject: [PATCH] showhide tooltip issue in ipad resolved --- 400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html | 19 ++++++++++++++++--- 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 8 ++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html index 0cbcdac..66ecfdd 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html @@ -2,7 +2,7 @@
-
+

@@ -39,8 +39,21 @@ $(function () { $(function () { - $('[data-toggle="tooltip"]').tooltip(); - }) + + var $ua = navigator.userAgent; + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + $(".tooltip-sidebar").tooltip({ + tooltipClass: 'tooltipsidebar' + }); + } + else { + $(".tooltip-sidebar").tooltip({ + tooltipClass: 'customTooltip' + }); + } + + + }); }); diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css index 4202515..8243214 100644 --- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css @@ -166,6 +166,14 @@ footer.dark { color: #fff !important; /*opacity: 0.9 !important;*/ } +.tooltipsidebar + { + background: #333 !important; + color: #fff !important; + top : 82px !important; + padding:2px !important; + left:50px !important; +} /*.tools { background: #eeeeee none repeat scroll 0 0; -- libgit2 0.21.4