PageSourceSearch

https://njseagrant.org/wp-content/themes/seagrant/js/main.js

js njseagrant.org collected 2026-10-01 11:24:25 UTC 1,605 bytes, 53 lines download raw bytes

1/* ==========================================================================
2   Author: XHTMLmaster.com
3   ========================================================================== */
4$(function() {
5	
6	var config = {    
7		sensitivity: 9, // number = sensitivity threshold (must be 1 or higher)    
8		interval: 200,  // number = milliseconds for onMouseOver polling interval    
9		over: doOpen,   // function = onMouseOver callback (REQUIRED)    
10		timeout: 200,   // number = milliseconds delay before onMouseOut    
11		out: doClose    // function = onMouseOut callback (REQUIRED)    
12  };	
13	function doOpen() {
14		$('a:first', this).addClass("hover");
15		$('ul:first',this).slideToggle(300);
16	}
17	function doClose() {
18		$('a:first', this).removeClass("hover");
19		$('ul:first',this).slideToggle(300);
20	}
21	$("#nav ul li").hoverIntent(config);
22	
23	$('#nav ul li').each(function(){
24		if($(this).has("ul").length){
25			$(this).addClass('sub');
26		}
27	});
28	
29	if(!Modernizr.input.placeholder){
30
31		$('[placeholder]').focus(function() {
32		  var input = $(this);
33		  if (input.val() == input.attr('placeholder')) {
34			input.val('');
35			input.removeClass('placeholder');
36		  }
37		}).blur(function() {
38		  var input = $(this);
39		  if (input.val() == '' || input.val() == input.attr('placeholder')) {
40			input.addClass('placeholder');
41			input.val(input.attr('placeholder'));
42		  }
43		}).blur();
44		$('[placeholder]').parents('form').submit(function() {
45		  $(this).find('[placeholder]').each(function() {
46			var input = $(this);
47			if (input.val() == input.attr('placeholder')) {
48			  input.val('');
49			}
50		  })
51		});
52	}
53});

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.