testing cookies to show only sub cats
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 13:45:35 +0000 (08:45 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 13:45:35 +0000 (08:45 -0500)
css/app.css
js/app.js
js/custom/upcp.js
scss/_body.scss

index ff15f1d..a75f35d 100644 (file)
@@ -6839,12 +6839,12 @@ body .shadow-wrapper {
 #catSearchBtn {
   display: none; }
 
-#catContainer {
+.catContainer {
   height: 180px;
   border: 1px solid white;
   height: 210px;
   float: right; }
-  #catContainer:hover {
+  .catContainer:hover {
     border: 1px solid #1d63a0; }
 
 #catImg {
index 4c748ba..2ec97c3 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -203,6 +203,9 @@ $(document).ready(function () {
         $("expandable-hitarea").triggerHandler("click");
     });
     
+    $(".catContainer").on("click", function() {
+        createCookie("subcat", "subcat");
+    });
     
 //    $("document").ready(function() {
 //        $(".hitarea").trigger('click');
index c56d61b..5006ba9 100644 (file)
@@ -183,6 +183,9 @@ $(document).ready(function () {
         $("expandable-hitarea").triggerHandler("click");
     });
     
+    $(".catContainer").on("click", function() {
+        createCookie("subcat", "subcat");
+    });
     
 //    $("document").ready(function() {
 //        $(".hitarea").trigger('click');
index 78d0995..7bc39bf 100644 (file)
@@ -133,7 +133,7 @@ body {
 #catSearchBtn{
     display: none;
 }
-#catContainer{
+.catContainer{
     height: 180px;
     border: 1px solid white;
     height: 210px;