changed li width for online services menu
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 15:56:18 +0000 (10:56 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 15:56:18 +0000 (10:56 -0500)
js/app.js
js/custom/pageSetup.js

index 43fac07..ef998b3 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -71,7 +71,7 @@ $(document).ready(function () {
         .css("max-height", "165px");
     $menu2
         .children("li.menu-item")
-        .css("width", "202px");
+        .css("width", "300px");
     $menu3
         .css("-moz-columns", "1")
         .css("-webkit-columns", "1")
@@ -83,6 +83,7 @@ $(document).ready(function () {
     $menu6
         .css("-moz-columns", "1");
     
+    // current page active link highlighting
     $('.side-links ul li a').each(function() {
         if ($(this).prop('href') == window.location.href) {
             $(this).addClass('current');
@@ -91,7 +92,11 @@ $(document).ready(function () {
             $(this).parent("li").addClass("current");
         }
     });
-   // get number of elements in DOM -> console.log($("*").length);
+   /* get number of elements in DOM console.log($("*").length);
+    var pageBytes = $('html').html().length;
+    var kbytes = pageBytes / 1024;
+    console.log(kbytes); */
+    
         //console.log('ul = ' + menuImg);
         //console.log('menu-id = ' + menuNum);
 });
index ab1a81a..1a93a21 100644 (file)
@@ -62,7 +62,7 @@ $(document).ready(function () {
         .css("max-height", "165px");
     $menu2
         .children("li.menu-item")
-        .css("width", "202px");
+        .css("width", "300px");
     $menu3
         .css("-moz-columns", "1")
         .css("-webkit-columns", "1")
@@ -74,6 +74,7 @@ $(document).ready(function () {
     $menu6
         .css("-moz-columns", "1");
     
+    // current page active link highlighting
     $('.side-links ul li a').each(function() {
         if ($(this).prop('href') == window.location.href) {
             $(this).addClass('current');
@@ -82,7 +83,11 @@ $(document).ready(function () {
             $(this).parent("li").addClass("current");
         }
     });
-   // get number of elements in DOM -> console.log($("*").length);
+   /* get number of elements in DOM console.log($("*").length);
+    var pageBytes = $('html').html().length;
+    var kbytes = pageBytes / 1024;
+    console.log(kbytes); */
+    
         //console.log('ul = ' + menuImg);
         //console.log('menu-id = ' + menuNum);
 });