PageSourceSearch

https://www.hertfordshire.gov.uk/siteelements/js/project/styleswit…?version=134682&build=172184

js hertfordshire.gov.uk collected 2026-10-01 10:29:34 UTC 9,524 bytes, 169 lines download raw bytes

1$( document ).ready(function() {
2
3		elementArray = "html, body, .content, .content p, footer, footer a, h3, h4, h5, .notice, .container.nav, .resetStyle, nav a, nav, .primary.nav, nav a, nav, .landing .intro .container .content ul.altlight li a, .altlandingMid h3 span, .content a, a.sys_form-submit, .content .primary, .content .secondary, .content .primary:hover, .content .secondary:hover, .resultsList__item:nth-of-type(2n+1), .ACS-radiowrapper .radio, .form-panel, .content .icon.save a:after, .content .icon.actions a:after, #spydusfloatlanding .icon.save a:after, a.greenbuttonspydus, #spydusfloatlanding .icon.actions a:after, .landing .intro.light .container .content h1, .landing .intro.light .container .content p, header .search input:not([type=submit]), header .search button, .searchButton, header .search button:before, .searchButton:before, #scrollUp:after, .content .dashboard h2, .slideshow .slide .content p, .slideshow .slide.light .content p, .content .widget .content .card_location .menuList li a, .content .widget .content .card_location .menuList li a:hover, #spydusfloatlanding .icon.save, .altlanding #spydusfloatlanding, #spydusfloatlanding .icon.actions, .content .widget.filter .resultsFilterQuickClear, .content .widget.filter .resultsFilterQuickClear div, .content .widget.filter ul, li.selected, .paginator .paginator__current, .content input[type=text], .content input[type=email], .content input[type=password], .content textarea, .sys_cms-form-body li input, .sys_cms-form-body li select, .sys_cms-form-body li textarea, .sys_cms-form-body li label, .sys_cms-form-body li .sys_legend, .sys_cms-form-body li .sys_fieldlabel, .sys_cms-form-body .sys_sectionbreak-header, .sys_form-submit, .sys_pagebreak button, .sys_cms-form-body .error, .sys_cms-form-body .sys_cms-form-error, .venueinfo, .venueopen, .venueclosed, #tab1, #tab2, #tab3, tbody, table.venuehours th, table.venuehours td, .faq .faq-toggle, .faq h3, .faq .faq-content p, .faq .faq-content, .faq .faq-toggle:hover, .faq .faq-toggle.minus, .faq .faq-toggle.plus, .content .resultsControl .resultsDisplayNumber select, .content .panel.info, .ui-autocomplete, .responsivetable, paginate_button, .content .widget .content .menuList li > a, .resultsFilterSearch__submit, .content .widget .menu input[type=submit], .content .newsevents-slider, .content .newsevents-slider h2, .content .widget.filter a span, .content article ul:not([class]) li, .events-title, .events-titlebar, .detail, .events-toolbar, .book-button, .event-tab-item, .events-title, .event-listing-entry";
4
5    	$("#styleOptions #theme1").click(function() {
6        cssClass = $(this).attr("data-css");
7        createCookie("css_href", cssClass, "30");
8		location.reload(); 
9		});
10
11        $("#styleOptions #theme2").click(function() {
12
13        cssClass = $(this).attr("data-css");
14        createCookie("css_href", cssClass, "30");
15
16        $('body').addClass('highContrast');
17
18			//Set multiple styles:
19
20		   //$("html, body, .content, .content p, footer, footer a, h3, h4, h5, .notice, .container.nav, .resetStyle, nav a, nav, .primary.nav, nav a, nav, .landing .intro .container .content ul.altlight li a, .altlandingMid h3 span, .content a, a.sys_form-submit, .content .primary, .content .secondary, .content .primary:hover, .content .secondary:hover, .resultsList__item:nth-of-type(2n+1), .ACS-radiowrapper .radio, .form-panel, .content .icon.save a:after, .content .icon.actions a:after, #spydusfloatlanding .icon.save a:after, a.greenbuttonspydus, #spydusfloatlanding .icon.actions a:after, .landing .intro.light .container .content h1, .landing .intro.light .container .content p, header .search input:not([type=submit]), header .search button, .searchButton, header .search button:before, .searchButton:before, #scrollUp:after, .content .dashboard h2, .slideshow .slide .content p, .slideshow .slide.light .content p, .content .widget .content .card_location .menuList li a, .content .widget .content .card_location .menuList li a:hover, #spydusfloatlanding .icon.save, .altlanding #spydusfloatlanding, #spydusfloatlanding .icon.actions, .content .widget.filter .resultsFilterQuickClear, .content .widget.filter .resultsFilterQuickClear div, .content .widget.filter ul, li.selected, .paginator .paginator__current, .content input[type=text], .content input[type=email], .content input[type=password], .content textarea, .sys_cms-form-body li input, .sys_cms-form-body li select, .sys_cms-form-body li textarea, .sys_cms-form-body li label, .sys_cms-form-body li .sys_legend, .sys_cms-form-body li .sys_fieldlabel, .sys_cms-form-body .sys_sectionbreak-header, .sys_form-submit, .sys_pagebreak button, .sys_cms-form-body .error, .sys_cms-form-body .sys_cms-form-error, .venueinfo, .venueopen, .venueclosed, #tab1, #tab2, #tab3, tbody, table.venuehours th, table.venuehours td, .faq .faq-toggle, .faq h3, .faq .faq-content p, .faq .faq-content, .faq .faq-toggle:hover, .faq .faq-toggle.minus, .faq .faq-toggle.plus, .content .resultsControl .resultsDisplayNumber select, .content .panel.info, .ui-autocomplete, .responsivetable, paginate_button, .content .widget .content .menuList li > a, .resultsFilterSearch__submit, .content .widget .menu input[type=submit], .content .newsevents-slider, .content .newsevents-slider h2, .content .widget.filter a span").removeClass('lowContrast');
21
22		   $(elementArray).css({
23				background: "black",
24				color: "yellow"
25			});
26
27			$('.card_loading').css({
28				display: "none"
29			});
30
31			$("header .search button,.searchButton em").css({
32				color: "black"
33			});
34
35			$(".breadcrumb ul li").css({
36				border: "1px solid yellow"
37			});
38
39			$("#spydusfloatlanding .icon.actions a").css({
40				background: "none"
41			});
42
43			$(".slideshow .controls .prev, .slideshow .controls .next").css({
44				background: "none"
45			});
46
47          
48          	$(".content article.altStandardArticle, .content aside.altStandardAside").css({
49              	border: "none"
50            });
51          
52          
53			$("#search-field").keypress(function() {
54				if ($('.ui-autocomplete').css('display') == 'block') {
55
56					$('.ui-autocomplete').addClass('highContrast');
57			}
58            });
59
60			$('.menuList, .faq, .faq .faq-toggle, .faq .faq-content, .faq h3, .responsivetable, .responsivetable tbody, .responsivetable td, .responsivetable tr, .responsivetable p, .dataTables_wrapper, .dataTables_paginate, .paginate_button, .responsivetable th, .dataTables_filter, .dataTables_filter input, .dataTables_length, .dataTables_length select, .dataTables_info, .content .widget .menu input[type=submit], .content .panel.info, .universalContainer, .content .icon a::after, .actionPanel').addClass('highContrast');
61
62			$('.faq .faq-toggle').css({
63				background: 'blue'
64			});
65
66            $("header .searchButton, .searchButton em").css({
67			display: ""
68		});
69
70		$("#textResize a.sys_form-submit, #styleSwitchExample a.sys_form-submit").css({
71			background: "",
72			color: ""
73		});
74
75		$('.card_loading').css({
76			display: "inline"
77		});
78		$("#spydusfloatlanding .icon.actions a").css({
79			background: "none"
80		});
81		$(".breadcrumb ul li").css({
82			border: ""
83		});
84      
85      
86          	$(".content article.altStandardArticle, .content aside.altStandardAside").css({
87              	border: ""
88            });
89
90		//$('body').removeClass('highContrast');
91	  
92		$(elementArray).removeClass('lowContrast');
93	
94        });
95
96        $("#styleOptions #theme3").click(function() {
97        cssClass = $(this).attr("data-css");
98        createCookie("css_href", cssClass, "30");
99
100        $("header .searchButton, .searchButton em").css({
101			display: ""
102		});
103
104		$("#textResize a.sys_form-submit, #styleSwitchExample a.sys_form-submit").css({
105			background: "",
106			color: ""
107		});
108
109		$('.card_loading').css({
110			display: "inline"
111		});
112		$("#spydusfloatlanding .icon.actions a").css({
113			background: "none"
114		});
115		$(".breadcrumb ul li").css({
116			border: ""
117		});
118      
119      
120          	$(".content article.altStandardArticle, .content aside.altStandardAside").css({
121              	border: ""
122            });
123
124	  
125		$(elementArray).removeClass('highContrast');
126	
127        $('body').addClass('lowContrast');
128          
129			$(elementArray).css({
130				background: "PaleGoldenRod",
131				color: "Grey"
132			});
133
134			$(".content input, .content textarea").css({
135				border: "1px solid darkgrey"
136			})
137			
138			$("header .search button,.searchButton em").css({
139				color: "grey"
140			});
141
142			$('.card_loading').css({
143				display: "none"
144			});
145
146
147			$(".breadcrumb ul li").css({
148				border: "1px solid grey"
149			});
150
151			$(".slideshow .controls .prev, .slideshow .controls .next").css({
152				background: "none"
153			});
154		  
155          
156          	$(".content article.altStandardArticle, .content aside.altStandardAside").css({
157              	border: "none"
158            });
159          
160          
161			 $('.menuList, .faq, .faq .faq-toggle, .faq .faq-content, .faq h3, .responsivetable, .responsivetable tbody, .responsivetable td, .responsivetable tr, .responsivetable p, .dataTables_wrapper, .dataTables_paginate, .paginate_button, .responsivetable th, .dataTables_filter, .dataTables_filter input, .dataTables_length, .dataTables_length select, .dataTables_info, .content .widget .menu input[type=submit], .content .panel.info, .universalContainer').addClass('lowContrast');
162		  
163
164
165        
166        
167        });
168
169});

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.