PageSourceSearch

https://www.newrymournedown.org/scripts/verticalmenu.js

js newrymournedown.org collected 2026-10-02 11:37:09 UTC 789 bytes, 24 lines download raw bytes

1( function( $ ) {
2$( document ).ready(function() {
3$('#cssmenu ul ul li:odd').addClass('odd');
4$('#cssmenu ul ul li:even').addClass('even');
5$('#cssmenu > ul > li > a').click(function() {
6  $('#cssmenu li').removeClass('active');
7  $(this).closest('li').addClass('active');	
8  var checkElement = $(this).next();
9  if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
10    $(this).closest('li').removeClass('active');
11    checkElement.slideUp('normal');
12  }
13  if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
14    $('#cssmenu ul ul:visible').slideUp('normal');
15    checkElement.slideDown('normal');
16  }
17  if($(this).closest('li').find('ul').children().length == 0) {
18    return true;
19  } else {
20    return false;	
21  }		
22});
23});
24} )( jQuery );

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.