https://www.rlcomputing.com/DesktopModules/EasyDNNnewsCategoriesMenu/js/category_menu_2.2.js?cdv=690
1!function () { 2var eds_category_menu = function ($) { 3 var $category_menue_items = $('.edn_category_menu_wrapper li, .edn_archive_menu_wrapper li'); 4 5 $category_menue_items.click(function (e) { 6 var $target = $(e.target), 7 $clicked, 8 $child_list, 9 $expand_collapse; 10 11 if ($target.is('div') || $target.is('a.expand_collapse')) { 12 $clicked = $(this); 13 $child_list = $clicked.find('> ul'); 14 $expand_collapse = $clicked.find('> div > a.expand_collapse'); 15 16 if ($child_list.length == 1) { 17 if ($child_list.is(':visible')) { 18 $child_list.slideUp(200); 19 $expand_collapse.removeClass('collapse'); 20 $clicked.removeClass('opened'); 21 } else { 22 $child_list.slideDown(200); 23 $expand_collapse.addClass('collapse'); 24 $clicked.addClass('opened'); 25 } 26 } 27 28 return false; 29 } 30 }); 31}; 32 33 if (typeof eds3_5_jq !== 'undefined') 34 eds3_5_jq(eds_category_menu); 35else if (typeof jQuery !== 'undefined') 36 jQuery(eds_category_menu); 37}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.