PageSourceSearch

https://www.electricianul.ro/wp-content/themes/elecanor/js/elecanor-custom.js?ver=6.3.12

js electricianul.ro collected 2026-10-06 17:46:20 UTC 1,122 bytes, 34 lines download raw bytes

1// For Search Icon Toggle effect added at the top
2jQuery(document).ready(function(){
3   jQuery('.search-top').click(function(){
4      jQuery('#masthead .search-form-top').toggle();
5   });
6});
7
8jQuery(document).ready(function(){
9	jQuery('#scroll-up').hide();
10	jQuery(function () {
11		jQuery(window).scroll(function () {
12			if (jQuery(this).scrollTop() > 1000) {
13				jQuery('#scroll-up').fadeIn();
14			} else {
15				jQuery('#scroll-up').fadeOut();
16			}
17		});
18		jQuery('a#scroll-up').click(function () {
19			jQuery('body,html').animate({
20				scrollTop: 0
21			}, 800);
22			return false;
23		});
24	});
25});
26
27jQuery(document).ready(function() {
28    jQuery('.better-responsive-menu #site-navigation .menu-item-has-children').append('<span class="sub-toggle"> <i class="fa fa-caret-down"></i> </span>');
29    jQuery('.better-responsive-menu #site-navigation .sub-toggle').click(function() {
30        jQuery(this).parent('.menu-item-has-children').children('ul.sub-menu').first().slideToggle('1000');
31        jQuery(this).children('.fa-caret-right').first().toggleClass('fa-caret-down');
32        jQuery(this).toggleClass('active');
33    });
34});

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.