Signin  Pricing  Examples  Support

Libraries > cat_toggle.js

cat_toggle.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://gamekiller.net/styles/gamekiller/js/cat_toggle.js


Libraries on gamekiller.net


xenforo.js

cat_toggle.js

stickyMojo.js

totop.js



Explore More


smoothScroll.js

selectivizr-min.js

selectivizr-1.0.2-min.js

js_07adbd2ce455ed2cc5d23f6e94953288.js

cat_toggle.js
				
$(document).ready(function(){var e=function(a,d){var b=$(a).find("a.ForumToggle");d?(a.addClass("collapsed"),b.addClass("collapsed"),b.removeClass("collapse")):(a.removeClass("collapsed"),b.addClass("collapse"),b.removeClass("collapsed"))},c=function(a,d){var b=$(a).find("ol.nodeList:first"),c=$(b).is(":visible");c?(d?b.hide():b.slideUp(1E3,"easeOutBounce"),e(a,!0)):(d?b.show():b.slideDown(1E3,"easeOutBounce"),e(a,!1));$.setCookie("toggle-"+a[0].id,!c)};$(".nodeList a.ForumToggle").click(function(){var a=$(this).closest(".level_1");c(a)});$("li.node.category").each(function(){"false"===$.getCookie("toggle-"+this.attributes.id.value)&&c($(this),!0)});console.log("Collapse Categories initialized")});


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z