diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js
index 6d6772d..c493351 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js
@@ -1,54 +1,54 @@
-'use strict';
-
-AIA.controller("LinkController", ["$scope", "$rootScope","$log", "pages", "$routeParams",
-function ($scope, $rootScope, log, pages, $routeParams) {
-
- //$rootScope.currentActiveModuleTitle = Modules[10].Name;
- //$rootScope.currentActiveModuleTitle = $routeParams.modname;
- $scope.links = [
- new link("encyclopedia", "Encyclopedia", 'https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=117', "100%", "750px"),
- new link("IP-10", "IP 10", "http://interactiveanatomy.com/IPWeb10/index.aspx", "100%", "750px"),
- new link("indepth-reports", "InDepth Reports", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=10", "100%", "4000px"),
- new link("complementary-and-alternate-medicine", "Complementary and Alternative Medicine", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=107", "100%", "750px"),
- new link("bodyguide", "Body Guide", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=25 ", "100%", "1050px"),
- new link("health-navigator", "Health Navigator", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=65 ", "100%", "1000px"),
- new link("wellness-tools", "The Wellness Tools", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=20 ", "100%", "1500px"),
- new link("aod", "A.D.A.M OnDemand", "http://uat.adamondemand.com/Home/AIACatalog?categoriesID=2", "100%", "1500px")
- ];
-
- $scope.$on('$viewContentLoaded', function (event) {
- // code that will be executed ...
- // every time this view is loaded
-
-
- for (var i = 0; i < $scope.links.length; i++) {
- if ($scope.links[i].modname == $routeParams.modname) {
- $rootScope.currentActiveModuleTitle = $scope.links[i].title;
- if ($rootScope.currentActiveModuleTitle == "IP 10")
+'use strict';
+
+AIA.controller("LinkController", ["$scope", "$rootScope","$log", "pages", "$routeParams",
+function ($scope, $rootScope, log, pages, $routeParams) {
+
+ //$rootScope.currentActiveModuleTitle = Modules[10].Name;
+ //$rootScope.currentActiveModuleTitle = $routeParams.modname;
+ $scope.links = [
+ new link("encyclopedia", "Encyclopedia", 'https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=117', "100%", "750px"),
+ new link("IP-10", "IP 10", "http://interactiveanatomy.com/IPWeb10/index.aspx", "100%", "750px"),
+ new link("indepth-reports", "InDepth Reports", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=10", "100%", "4000px"),
+ new link("complementary-and-alternate-medicine", "Complementary and Alternative Medicine", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=107", "100%", "750px"),
+ new link("bodyguide", "Body Guide", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=25 ", "100%", "1050px"),
+ new link("health-navigator", "Health Navigator", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=65 ", "100%", "1000px"),
+ new link("wellness-tools", "The Wellness Tools", "https://ssl.adam.com/content.aspx?site=aia5se3.adam.com&login=AIA41842&productId=20 ", "100%", "1500px"),
+ new link("aod", "A.D.A.M OnDemand", "http://uat.adamondemand.com/Home/AIACatalog?categoriesID=2", "100%", "1500px")
+ ];
+
+ $scope.$on('$viewContentLoaded', function (event) {
+ // code that will be executed ...
+ // every time this view is loaded
+
+
+ for (var i = 0; i < $scope.links.length; i++) {
+ if ($scope.links[i].modname == $routeParams.modname) {
+ $rootScope.currentActiveModuleTitle = $scope.links[i].title;
+ if ($rootScope.currentActiveModuleTitle == "IP 10" || $rootScope.currentActiveModuleTitle == "A.D.A.M OnDemand")
{
document.getElementById('externalLink').style.height = "1024px";
- }
- $scope.objdata = $scope.links[i].objurl;
- $scope.myObj = $scope.links[i].objstyle;
- }
- }
- });
-
- $scope.showTabButton = false;
- $scope.IsVisible = function () {
- $scope.scroll();
-
- }
-
- $scope.scroll = function () {
- // $window.scrollTo(0, 0);
- $("html,body").scrollTop(0);
- //alert("scroll");
- }
-}]
-
-
-);
-
-
+ }
+ $scope.objdata = $scope.links[i].objurl;
+ $scope.myObj = $scope.links[i].objstyle;
+ }
+ }
+ });
+
+ $scope.showTabButton = false;
+ $scope.IsVisible = function () {
+ $scope.scroll();
+
+ }
+
+ $scope.scroll = function () {
+ // $window.scrollTo(0, 0);
+ $("html,body").scrollTop(0);
+ //alert("scroll");
+ }
+}]
+
+
+);
+
+
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/css/print-main.css b/400-SOURCECODE/AIAHTML5.Web/content/css/print-main.css
index b8acd80..4cf303e 100644
--- a/400-SOURCECODE/AIAHTML5.Web/content/css/print-main.css
+++ b/400-SOURCECODE/AIAHTML5.Web/content/css/print-main.css
@@ -1,57 +1,57 @@
-
-.print-box{padding: 10px 0;}
-.print-paper{ background: #fff; padding: 20px 10px; border: 1px solid #ccc; overflow: auto;}
-
-.portrait-box { width: 451px; height: 571px; border: 2px solid #000; border-radius: 5px; padding: 10px; position:relative;} /*width: 600px; height: 1000px; width: 624px; height: 768px;*/
-.landscape-box { width: 571px; height: 451px; border: 2px solid #000; border-radius: 5px; padding: 10px; position: relative;} /*width: 1000px; height: 600px; width: 768px; height: 624px;*/
-
-#dvLandscape, #dvPortrait {
- border-radius: 5px;
- padding: 0px !important;
-}
-
- #dvPortrait { margin-top:42%;}
-
-.pp-col-sm-4 .print-col-sm-4{
- padding-left: 0px !important;
- padding-right: 0px !important;
-}
-
-.pp-marginTop10 .print-marginTop10 {
- margin-top: 0px;
-}
-
-#imgPortrait, #imgLandscape {
- padding: 10px;
-}
-
-@media (min-width: 768px) {
- .print-footer-port div, .print-footer-land div {
- width: 50%;
- }
-}
-#minSpan {
- margin-top: 6px;
-}
-
-.bgnone img{ background: none;}
-.scan-scenario{ position: absolute; top: 30px; right: 30px}
-.pp-main-full {
- margin-top: 10px;
-}
-.pp-form-control {
- border-right: 0;
- box-shadow: 0 0 0;
- border-color: #ccc;
- width: 100%;
- float: right;
-}
-.font12{ font-size:12px;}
-.marginbtm10{ margin-bottom:10px;}
-.width-auto {
- width: auto;
-}
-
+
+.print-box{padding: 10px 0;}
+.print-paper{ background: #fff; padding: 20px 10px; border: 1px solid #ccc; overflow: auto;}
+
+.portrait-box { width: 451px; height: 571px; border: 2px solid #000; border-radius: 5px; padding: 10px; position:relative;} /*width: 600px; height: 1000px; width: 624px; height: 768px;*/
+.landscape-box { width: 571px; height: 451px; border: 2px solid #000; border-radius: 5px; padding: 10px; position: relative;} /*width: 1000px; height: 600px; width: 768px; height: 624px;*/
+
+#dvLandscape, #dvPortrait {
+ border-radius: 5px;
+ padding: 0px !important;
+}
+
+ #dvPortrait { margin-top:42%;}
+
+.pp-col-sm-4 .print-col-sm-4{
+ padding-left: 0px !important;
+ padding-right: 0px !important;
+}
+
+.pp-marginTop10 .print-marginTop10 {
+ margin-top: 0px;
+}
+
+#imgPortrait, #imgLandscape {
+ padding: 10px;
+}
+
+@media (min-width: 768px) {
+ .print-footer-port div, .print-footer-land div {
+ width: 50%;
+ }
+}
+#minSpan {
+ margin-top: 6px;
+}
+
+.bgnone img{ background: none;}
+.scan-scenario{ position: absolute; top: 30px; right: 30px}
+.pp-main-full {
+ margin-top: 10px;
+}
+.pp-form-control {
+ border-right: 0;
+ box-shadow: 0 0 0;
+ border-color: #ccc;
+ width: 100%;
+ float: right;
+}
+.font12{ font-size:12px;}
+.marginbtm10{ margin-bottom:10px;}
+.width-auto {
+ width: auto;
+}
+
.externalFrame {
width:100%;