var expires = "; expires="+date.toGMTString();
document.cookie = name+"="+value+expires+"; path=/";
}
+ // createCookie("link", "null");
document.cookie = "catView=grid";
// don't display products on the main "products page"
if ((window.location.href.indexOf("products-2") >= 0)){
$('#tags a').click(function() {
link = $(this).text();
createCookie("link", link);
- // $("#tagBox :checkbox").trigger("click");
-
});
// get value of clicked tag /////////////////////
function getCookie(cname) {
$("#tagBox :checkbox:checked").each(function() {
$("." + $(this).val()).show();
});
- }
-
+ }
});
\ No newline at end of file
var expires = "; expires="+date.toGMTString();
document.cookie = name+"="+value+expires+"; path=/";
}
+ // createCookie("link", "null");
document.cookie = "catView=grid";
// don't display products on the main "products page"
if ((window.location.href.indexOf("products-2") >= 0)){
$('#tags a').click(function() {
link = $(this).text();
createCookie("link", link);
- // $("#tagBox :checkbox").trigger("click");
-
});
// get value of clicked tag /////////////////////
function getCookie(cname) {
$("#tagBox :checkbox:checked").each(function() {
$("." + $(this).val()).show();
});
- }
-
+ }
});
\ No newline at end of file