From 7e3869c5437c15baa3fe125000fe75fd93a4ccf6 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 13 Jan 2016 08:45:35 -0500 Subject: [PATCH] testing cookies to show only sub cats --- css/app.css | 4 ++-- js/app.js | 3 +++ js/custom/upcp.js | 3 +++ scss/_body.scss | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/css/app.css b/css/app.css index ff15f1d..a75f35d 100644 --- a/css/app.css +++ b/css/app.css @@ -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 { diff --git a/js/app.js b/js/app.js index 4c748ba..2ec97c3 100644 --- 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'); diff --git a/js/custom/upcp.js b/js/custom/upcp.js index c56d61b..5006ba9 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -183,6 +183,9 @@ $(document).ready(function () { $("expandable-hitarea").triggerHandler("click"); }); + $(".catContainer").on("click", function() { + createCookie("subcat", "subcat"); + }); // $("document").ready(function() { // $(".hitarea").trigger('click'); diff --git a/scss/_body.scss b/scss/_body.scss index 78d0995..7bc39bf 100644 --- a/scss/_body.scss +++ b/scss/_body.scss @@ -133,7 +133,7 @@ body { #catSearchBtn{ display: none; } -#catContainer{ +.catContainer{ height: 180px; border: 1px solid white; height: 210px; -- 2.17.1