PageSourceSearch

https://harrisburgbic.org/wp-content/themes/hallelujah/theme-specific/theme-hovers/theme-hovers.js

js harrisburgbic.org collected 2026-10-09 01:48:02 UTC 5,883 bytes, 110 lines download raw bytes

1// Buttons decoration (add 'hover' class)
2// Attention! Not use cont.find('selector')! Use jQuery('selector') instead!
3
4jQuery( document ).on(
5	'action.init_hidden_elements', function(e, cont) {
6		"use strict";
7
8		if (HALLELUJAH_STORAGE['button_hover'] && HALLELUJAH_STORAGE['button_hover'] != 'default') {
9			jQuery(
10				'button:not(.search_submit):not(.full_post_close):not([class*="sc_button_hover_"]),\
11				.theme_button:not([class*="sc_button_hover_"]),\
12				.sc_button:not([class*="sc_button_simple"]):not([class*="sc_button_bordered"]):not([class*="sc_button_hover_"]),\
13				.sc_form_field button:not([class*="sc_button_hover_"]),\
14				.post_item .more-link:not([class*="sc_button_hover_"]),\
15				.trx_addons_hover_content .trx_addons_hover_links a:not([class*="sc_button_hover_"]),\
16				.hallelujah_tabs .hallelujah_tabs_titles li a:not([class*="sc_button_hover_"]),\
17				.hover_shop_buttons .icons a:not([class*="sc_button_hover_style_"]),\
18				.mptt-navigation-tabs li a:not([class*="sc_button_hover_style_"]),\
19				.edd_download_purchase_form .button:not([class*="sc_button_hover_style_"]),\
20				.edd-submit.button:not([class*="sc_button_hover_style_"]),\
21				.widget_edd_cart_widget .edd_checkout a:not([class*="sc_button_hover_style_"]),\
22				#buddypress a.button:not([class*="sc_button_hover_"])\
23				'
24			).addClass( 'sc_button_hover_just_init sc_button_hover_' + HALLELUJAH_STORAGE['button_hover'] );
25			if (HALLELUJAH_STORAGE['button_hover'] != 'arrow') {
26				jQuery(
27					'input[type="submit"]:not([class*="sc_button_hover_"]),\
28					input[type="button"]:not([class*="sc_button_hover_"]),\
29					.vc_tta-accordion .vc_tta-panel-heading .vc_tta-controls-icon:not([class*="sc_button_hover_"]),\
30					.vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab > a:not([class*="sc_button_hover_"]),\
31					.tribe-events-button:not([class*="sc_button_hover_"]),\
32					#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a:not([class*="sc_button_hover_"]),\
33					.tribe-bar-mini #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a:not([class*="sc_button_hover_"]),\
34					.tribe-events-cal-links a:not([class*="sc_button_hover_"]),\
35					.tribe-events-sub-nav li a:not([class*="sc_button_hover_"]),\
36					.isotope_filters_button:not([class*="sc_button_hover_"]),\
37					.trx_addons_scroll_to_top:not([class*="sc_button_hover_"]),\
38					.sc_promo_modern .sc_promo_link2:not([class*="sc_button_hover_"]),\
39					.post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon:not([class*="sc_button_hover_"]),\
40					.slider_container .slider_prev:not([class*="sc_button_hover_"]),\
41					.slider_container .slider_next:not([class*="sc_button_hover_"]),\
42					.sc_slider_controller_titles .slider_controls_wrap > a:not([class*="sc_button_hover_"]),\
43					.tagcloud > a:not([class*="sc_button_hover_"])\
44					'
45				).addClass( 'sc_button_hover_just_init sc_button_hover_' + HALLELUJAH_STORAGE['button_hover'] );
46			}
47			// Add alter styles of buttons
48			jQuery(
49				'.sc_slider_controller_titles .slider_controls_wrap > a:not([class*="sc_button_hover_style_"])\
50				'
51			).addClass( 'sc_button_hover_just_init sc_button_hover_style_default' );
52			jQuery(
53				'.trx_addons_hover_content .trx_addons_hover_links a:not([class*="sc_button_hover_style_"]),\
54				.single-product ul.products li.product .post_data .button:not([class*="sc_button_hover_style_"])\
55				'
56			).addClass( 'sc_button_hover_just_init sc_button_hover_style_inverse' );
57			jQuery(
58				'.post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon:not([class*="sc_button_hover_style_"]),\
59				'
60			).addClass( 'sc_button_hover_just_init sc_button_hover_style_hover' );
61			jQuery(
62				'.sidebar .trx_addons_tabs .trx_addons_tabs_titles li a:not([class*="sc_button_hover_style_"]),\
63				.hallelujah_tabs .hallelujah_tabs_titles li a:not([class*="sc_button_hover_style_"]),\
64				.widget_tag_cloud a:not([class*="sc_button_hover_style_"]),\
65				.widget_product_tag_cloud a:not([class*="sc_button_hover_style_"])\
66				'
67			).addClass( 'sc_button_hover_just_init sc_button_hover_style_alterbd' );
68			jQuery(
69				'.vc_tta-accordion .vc_tta-panel-heading .vc_tta-controls-icon:not([class*="sc_button_hover_style_"]),\
70				.vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab > a:not([class*="sc_button_hover_style_"]),\
71				.sc_button.color_style_dark:not([class*="sc_button_simple"]):not([class*="sc_button_hover_style_"]),\
72				.slider_prev:not([class*="sc_button_hover_style_"]),\
73				.slider_next:not([class*="sc_button_hover_style_"]),\
74				.trx_addons_video_player.with_cover .video_hover:not([class*="sc_button_hover_style_"]),\
75				.trx_addons_tabs .trx_addons_tabs_titles li a:not([class*="sc_button_hover_style_"])\
76				'
77			).addClass( 'sc_button_hover_just_init sc_button_hover_style_dark' );
78			jQuery(
79				'.sc_price_item_link:not([class*="sc_button_hover_style_"])\
80				'
81			).addClass( 'sc_button_hover_just_init sc_button_hover_style_extra' );
82			jQuery(
83				'.sc_button.color_style_link2:not([class*="sc_button_simple"]):not([class*="sc_button_hover_style_"])\
84				'
85			).addClass( 'sc_button_hover_just_init sc_button_hover_style_link2' );
86			jQuery(
87				'.sc_button.color_style_link3:not([class*="sc_button_simple"]):not([class*="sc_button_hover_style_"])\
88				'
89			).addClass( 'sc_button_hover_just_init sc_button_hover_style_link3' );
90			// Remove just init hover class
91			setTimeout(
92				function() {
93					jQuery( '.sc_button_hover_just_init' ).removeClass( 'sc_button_hover_just_init' );
94				}, 500
95			);
96			// Remove hover class
97			jQuery(
98				'.mejs-controls button,\
99				.mfp-close,\
100				.sc_button_bg_image,\
101				.hover_shop_buttons a,\
102				button.pswp__button,\
103				.sc_layouts_row_type_narrow .sc_button\
104				'
105			).removeClass( 'sc_button_hover_' + HALLELUJAH_STORAGE['button_hover'] );
106
107		}
108
109	}
110);

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.