From: Anthony Talarico Date: Wed, 13 Jan 2016 13:45:35 +0000 (-0500) Subject: testing cookies to show only sub cats X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7e3869c5437c15baa3fe125000fe75fd93a4ccf6;p=WP-Themes%2Fmichsci.git testing cookies to show only sub cats --- 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;