PageSourceSearch

https://www.oaklandsymphony.org/wp-content/themes/cc_child/js/theme/front-end.js?ver=7.0.5

js oaklandsymphony.org collected 2026-09-25 14:00:54 UTC 1,384 bytes, 60 lines download raw bytes

1(function($){
2	jQuery(document).ready(function() {
3		home_do_superslides();
4		create_last_menu_item();
5	});
6
7	jQuery(window).load(function() {
8		home_do_slimscroll();
9	});
10	
11	jQuery(window).resize(function() {
12		home_reset_superslides();
13	});
14}(jQuery));
15
16function home_do_slimscroll() {
17	if( jQuery('body').hasClass('home') ) {
18		jQuery('.front-box .box-padding .content').each(function() {
19			var box_height = jQuery(this).outerHeight();
20			jQuery(this).slimScroll({
21				height:			box_height,
22				railVisible:	true,
23				wheelStep:		10
24			});
25		});
26	}
27}
28
29function home_do_superslides() {
30	sliderTime = 4000;
31	if( typeof(slider) != 'undefined' ) {
32		sliderTime = slider.timing;
33	}
34	
35	if( jQuery('body').hasClass('home') ) {
36		adjust_home_slider();
37		jQuery('#front-slider').superslides({
38			play:					sliderTime,
39			animation:				'fade',
40			inherit_width_from:		'#front-slider',
41			inherit_height_from:	'#front-slider'
42		});
43	}
44}
45
46function home_reset_superslides() {
47	if( jQuery('body').hasClass('home') ) {
48		adjust_home_slider();
49	}
50}
51
52function adjust_home_slider() {
53	var slider_width = jQuery('#front-slider').width();
54	var slider_height = Math.floor(slider_width * .395);
55	jQuery('#front-slider').height(slider_height);
56}
57
58function create_last_menu_item() {
59	jQuery('#main-menu > ul > li:last-child').addClass('last');
60}

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.