MainMenu.html
9.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<div class="bodyWrap row container-fluid">
<div class="col-sm-12 col-md-12 pageHeading">
<!--<button type="button" class="btn btn-success pull-left toggleBar btn-sm" data-toggle="tooltip" data-placement="top" title="Show/Hide Sidebar"> <i class="fa fa-bars"></i> </button>-->
<div class=" pull-left toggleBar toggleHeadingButton" data-toggle="tooltip" data-placement="top" title="Show/Hide Sidebar" style="padding-left: 15px; "> <i class="fa fa-bars"></i> </div>
<h4 class="pull-left">{{currentActiveModuleTitle}}</h4>
<div class="pull-right paddTop4 ">
<!--<div class="pull-right paddTop4 ">-->
<div role="group" ng-show="showme" class="btn-group">
<ul class="listgrid-view" role="tablist">
<!--<li role="presentation" class="active" title="Image View"><a href="#grid-view" aria-controls="grid-view" role="tab" data-toggle="tab" class="" ><i class=" fa fa-image"></i></a></li>
<li role="presentation" title="List View"><a href="#list-view" aria-controls="list-view" role="tab" data-toggle="tab" class="" ><i class="fa fa-list-alt"></i></a></li>-->
<!--Working-->
<!--<li role="presentation" class="active" title="Image View"><i class=" fa fa-image txt-white cur-pot" href="#grid-view" aria-controls="grid-view" role="tab" data-toggle="tab"></i></li>
<li role="presentation" title="List View"><i class="fa fa-list-alt txt-white cur-pot" href="#list-view" aria-controls="list-view" role="tab" data-toggle="tab"></i></li>-->
<li role="presentation" ng-class="{'active':activeTab==1}" title="Image View"><i class=" fa fa-image txt-white cur-pot" ng-click="setActiveTab(1)" href="#grid-view" aria-controls="grid-view" role="tab" data-toggle="tab"></i></li>
<li role="presentation" ng-class="{'active':activeTab==2}" title="List View"><i class="fa fa-list-alt txt-white cur-pot" ng-click="setActiveTab(2)" href="#list-view" aria-controls="list-view" role="tab" data-toggle="tab"></i></li>
</ul>
</div>
</div>
<div class="clearfix" style=""></div>
</div>
<!--Sidebar-->
<div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide ">
<ul class="nav nav-sidebar" ng-init="hideScrollbar()">
<li><a href="da-view-list" ng-click="IsVisible()">Dissectible Anatomy</a></li>
<li><a href="tiny-view-list" ng-init="loadForModuleById(1)">Atlas Anatomy</a></li>
<li><a href="3dAnatomy" ng-click="IsVisible()">3D Anatomy</a></li>
<li><a href="clinical-illustrations" ng-click="IsVisible()">Clinical Illustrations</a></li>
<li><a href="clinical-animations" ng-click="IsVisible()">Clinical Animations</a></li>
<!--<li><a href="http://aia5.adam.com/content.aspx?productId=117&ref=www.interactiveanatomy.com&url=aia5.adam.com" target="_blank">Encyclopedia</a></li>-->
<li><a href="Link/encyclopedia" ng-click="IsVisible()">Encyclopedia</a></li>
<li><a href="curriculum-builder" ng-click="IsVisible()">Curriculum Builder</a></li>
<li><a href="anatomy-test" ng-click="IsVisible()">Anatomy Tests</a></li>
<!--<li><a href="http://182.19.10.91:92/IPWeb10/index.aspx" target="_blank">IP 10</a></li>-->
<!--<li><a href="IP10-view" ng-click="IsVisible()">IP 10</a></li>-->
<li><a href="Link/IP-10" ng-click="IsVisible()">IP 10</a></li>
<li><a href="lab-exercises" ng-click="IsVisible()">Lab Exercises</a></li>
<!--<li><a href="http://182.19.10.91:92/IndepthHome.aspx" target="_blank">In-Depth Reports</a></li>-->
<li><a href="Link/indepth-reports" ng-click="IsVisible()">In-Depth Reports</a></li>
<!--<li><a href="http://182.19.10.91:92/CAMHome.aspx" target="_blank">Complementary and Alternative Medicine</a></li>-->
<li><a href="Link/complementary-and-alternate-medicine" ng-click="IsVisible()">Complementary and Alternative Medicine</a></li>
<li><a href="ADAM-Images" ng-click="IsVisible()">A.D.A.M Images</a></li>
<!--<li><a href="http://aia5.adam.com/content.aspx?productId=25&ref=www.interactiveanatomy.com&url=aia5.adam.com" target="_blank">Body Guide</a></li>-->
<li><a href="Link/bodyguide" ng-click="IsVisible()">Body Guide</a></li>
<!--<li><a href="http://aia5.adam.com/content.aspx?productId=44&pid=44&gid=000001&ref=www.interactiveanatomy.com&url=aia5.adam.com" target="_blank">Symptom Navigator</a></li>-->
<li><a href="Link/symptom-navigator" ng-click="IsVisible()">Symptom Navigator</a></li>
<!--<li><a href="http://aia5.adam.com/content.aspx?productId=20&ref=www.interactiveanatomy.com&url=aia5.adam.com" target="_blank">The Wellness Tools</a></li>-->
<li><a href="Link/wellness-tools" ng-click="IsVisible()">The Wellness Tools</a></li>
<li><a href="ADAM-on-demand" ng-click="IsVisible()">A.D.A.M OnDemand</a></li>
</ul>
</div>
</div>
<script>
$(function () {
$("#slider-range-min-2").slider({
range: "min",
min: 1,
max: 60,
value: 10,
slide: function (event, ui) {
$("#amount-2").val(ui.value);
}
});
$("#amount-2").val($("#slider-vertical-2").slider("value"));
$(function () {
$('[data-toggle="tooltip"]').tooltip();
})
var appPath = window.location.pathname;
var appPathvalue = appPath.substring(appPath.lastIndexOf('/') + 1);
if (appPathvalue == "da-view-list") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:first-child a").addClass('active');
}
else if (appPathvalue == "3dAnatomy") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(2) a").addClass('active');
}
else if (appPathvalue == "clinical-illustrations") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(3) a").addClass('active');
}
else if (appPathvalue == "clinical-animations") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(4) a").addClass('active');
}
else if (appPathvalue == "encyclopedia") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(5) a").addClass('active');
}
else if (appPathvalue == "curriculum-builder") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(6) a").addClass('active');
}
else if (appPathvalue == "anatomy-test") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(7) a").addClass('active');
}
else if (appPathvalue == "IP-10") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(8) a").addClass('active');
}
else if (appPathvalue == "lab-exercises") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(9) a").addClass('active');
}
else if (appPathvalue == "indepth-reports") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(10) a").addClass('active');
}
else if (appPathvalue == "complementary-and-alternate-medicine") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(11) a").addClass('active');
}
else if (appPathvalue == "ADAM-Images") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(12) a").addClass('active');
}
else if (appPathvalue == "bodyguide") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(13) a").addClass('active');
}
else if (appPathvalue == "symptom-navigator") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(14) a").addClass('active');
}
else if (appPathvalue == "wellness-tools") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(15) a").addClass('active');
}
else if (appPathvalue == "ADAM-on-demand") {
$(".nav-sidebar li a").removeClass('active');
$(".nav-sidebar li:nth-child(16) a").addClass('active');
}
});
</script>
<script>
(function ($) {
$(window).load(function () {
$(".sidebar").mCustomScrollbar({
autoHideScrollbar: true,
//theme:"rounded"
});
});
})(jQuery);
</script>
<script>
$(function () {
$(".modal").draggable();
});
</script>
<script>
$(function () {
"use strict";
/*** Sidebar Toggle ***/
var barPos = 0;
var bar = $('.sidebar');
var main = $('.main');
$('.toggleBar').click(function () {
bar.toggleClass('active');
main.toggleClass('active');
});
});
</script>