Commit cdc2ad8078a92c010ed45bf69bd2e5597f1dfae6
1 parent
8f52532a
added auto hide scrollbar for index page.
removed debugger
Showing
3 changed files
with
2 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | </div> | 16 | </div> |
17 | <!--Sidebar--> | 17 | <!--Sidebar--> |
18 | <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide "> | 18 | <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide "> |
19 | - <ul class="nav nav-sidebar"> | 19 | + <ul class="nav nav-sidebar" ng-init="hideScrollbar()"> |
20 | <li><a href="da-view-list" ng-click="IsVisible()">Dissectible Anatomy</a></li> | 20 | <li><a href="da-view-list" ng-click="IsVisible()">Dissectible Anatomy</a></li> |
21 | <!--<li><a href="atlas-anatomy.html">Atlas Anatomy</a></li>--> | 21 | <!--<li><a href="atlas-anatomy.html">Atlas Anatomy</a></li>--> |
22 | <li><a href="3dA-view" ng-click="IsVisible()">3D Anatomy</a></li> | 22 | <li><a href="3dA-view" ng-click="IsVisible()">3D Anatomy</a></li> |
400-SOURCECODE/AIAHTML5.Web/app/widget/MainView.html
1 | <div class="bodyWrap row" ng-init="ClearIframe()"> | 1 | <div class="bodyWrap row" ng-init="ClearIframe()"> |
2 | - <div ng-include="'app/widget/MainMenu.html'" /> | 2 | + <div ng-include="'app/widget/MainMenu.html'" /> |
3 | <div class="main"> | 3 | <div class="main"> |
4 | <div class="col-sm-12" style="padding-left:25px; width:99%"> | 4 | <div class="col-sm-12" style="padding-left:25px; width:99%"> |
5 | <div align="center" id="MainImage"><img src="content/images/img1.png" alt="" title="" class="img-responsive"></div> | 5 | <div align="center" id="MainImage"><img src="content/images/img1.png" alt="" title="" class="img-responsive"></div> |
400-SOURCECODE/AIAHTML5.Web/content/js/custom/main.js
@@ -8,7 +8,6 @@ $(function(){ | @@ -8,7 +8,6 @@ $(function(){ | ||
8 | var bar = $('.sidebar'); | 8 | var bar = $('.sidebar'); |
9 | var main = $('.main'); | 9 | var main = $('.main'); |
10 | $('.toggleBar').click(function () { | 10 | $('.toggleBar').click(function () { |
11 | - debugger; | ||
12 | barPos = parseInt($('.sidebar').css('left')); | 11 | barPos = parseInt($('.sidebar').css('left')); |
13 | if(barPos!==0 && !bar.hasClass('active')) | 12 | if(barPos!==0 && !bar.hasClass('active')) |
14 | { | 13 | { |