PageSourceSearch

https://huntingtonny.gov/data/layout/js/ez_accordion.js?_=63922661744

js huntingtonny.gov collected 2026-10-02 05:45:57 UTC 1,858 bytes, 55 lines download raw bytes

1/***********************************************************************************************************************
2DOCUMENT: includes/javascript.js
3DEVELOPED BY: Ryan Stemkoski
4COMPANY: Zipline Interactive
5EMAIL: [email protected]
6PHONE: 509-321-2849
7DATE: 3/26/2009
8UPDATED: 3/25/2010
9DESCRIPTION: This is the JavaScript required to create the acc style menu.  Requires jQuery library
10NOTE: Because of a bug in jQuery with IE8 we had to add an IE stylesheet hack to get the system to work in all browsers. I hate hacks but had no choice :(.
11************************************************************************************************************************/
12$(document).ready(function() {
13
14	//acc BUTTON ACTION (ON CLICK DO THE FOLLOWING)
15	$('.accButton').click(function() {
16
17		//REMOVE THE ON CLASS FROM ALL BUTTONS
18		$('.accButton').removeClass('on');
19
20		//NO MATTER WHAT WE CLOSE ALL OPEN SLIDES
21	 	$('.accContent').slideUp('normal');
22
23		//IF THE NEXT SLIDE WASN'T OPEN THEN OPEN IT
24		if($(this).next().is(':hidden') == true) {
25
26			//ADD THE ON CLASS TO THE BUTTON
27			$(this).addClass('on');
28
29			//OPEN THE SLIDE
30			$(this).next().slideDown('normal');
31		 }
32
33	 });
34
35
36	/*** REMOVE IF MOUSEOVER IS NOT REQUIRED ***/
37
38	//ADDS THE .OVER CLASS FROM THE STYLESHEET ON MOUSEOVER
39	$('.accButton').mouseover(function() {
40		$(this).addClass('over');
41
42	//ON MOUSEOUT REMOVE THE OVER CLASS
43	}).mouseout(function() {
44		$(this).removeClass('over');
45	});
46
47	/*** END REMOVE IF MOUSEOVER IS NOT REQUIRED ***/
48
49
50	/********************************************************************************************************************
51	CLOSES ALL S ON PAGE LOAD
52	********************************************************************************************************************/
53	$('.accContent').hide();
54
55});

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.