PageSourceSearch

https://www.inbar.org.il/wp-content/themes/Inbar/js/scripts.js?ver=1

js inbar.org.il collected 2026-10-02 14:49:10 UTC 3,176 bytes, 117 lines download raw bytes

1jQuery(document).ready(function(){
2    
3    //jQuery('.scroll-pane').jScrollPane();
4    var site_direction = jQuery('input#site_direction').val();
5    
6    // Home - Main Slider
7    var home_slider = jQuery('.home_slider');
8    home_slider.lightSlider({
9        item:1,
10        slideMove:1,
11        mode: 'fade',
12        controls:false,
13        loop:true,
14        pager:false,
15        easing: 'cubic-bezier(0.25, 0, 0.25, 1)',
16        auto:true,
17        pause:5000,
18        speed:500,
19    }); 
20    
21    jQuery('#trigger_menu').click(function(e){
22       e.preventDefault();
23       jQuery('ul#main_menu').slideToggle(300); 
24    });
25    
26    // Tiny nav - located in sidebar
27    var quick_nav_title = jQuery('input[name="quick_nav_header_title"]').val();
28    jQuery("#quick_menu").tinyNav({
29         active: 'current-menu-item',
30         header: quick_nav_title
31    });
32    
33    // Home - Personal Stories Slider
34    var stories_slider = jQuery('.stories_slider');
35    stories_slider.lightSlider({
36        item:1,
37        slideMove:1,
38        mode: 'fade',
39        auto: true,
40        pause: 8000,
41        controls:false,
42        loop:true,
43        pager:false,
44        easing: 'cubic-bezier(0.25, 0, 0.25, 1)',
45        speed:600
46    }); 
47    // Scrolled News Widget
48    jQuery(function() { 
49        jQuery(".posts_news").simplyScroll({
50            orientation: 'vertical',
51            auto: true,
52            manualMode: 'loop',
53			frameRate: 5,
54			speed: 3
55        });
56    });
57    
58    // Fixed Contact form Trigger
59    jQuery('.fixed_contacts_trigger').click(function(e){
60        e.preventDefault();
61      
62        if(jQuery(this).hasClass('open')){
63            jQuery(this).removeClass('open');
64            jQuery(this).addClass('close');
65            
66            if(site_direction == 'ltr'){
67                jQuery( '.fixed_contact_form' ).animate({
68                    right:"-=151"
69                  }, 1000); 
70            }else{
71                jQuery( '.fixed_contact_form' ).animate({
72                    left:"-=151"
73                  }, 1000); 
74            }
75        }else{
76            jQuery(this).addClass('open');
77            jQuery(this).removeClass('close');
78            
79            if(site_direction == 'ltr'){
80                jQuery( '.fixed_contact_form' ).animate({
81                    right:"+=151"
82                  }, 1000); 
83            }else{
84                jQuery( '.fixed_contact_form' ).animate({
85                    left:"+=151"
86                  }, 1000); 
87            }
88          }
89    });
90    
91    // Magnific PopUp Initialize 
92    jQuery('a.magnific').magnificPopup({type:'image'});
93
94    
95}); /** END OF document.ready **********************************/
96
97function scrollPageToTop(){
98    //Scroll page to top / bottom
99	jQuery("#scroll_to_top").hide();
100	jQuery(function () {
101		jQuery(window).scroll(function () {
102			if (jQuery(this).scrollTop() > 250) {
103				jQuery('#scroll_to_top').fadeIn();
104			} else {
105				jQuery('#scroll_to_top').fadeOut();
106			}
107		});
108        
109        // scroll body to 0px on click
110		jQuery('#scroll_to_top').click(function () {
111			jQuery('body, html').animate({
112				scrollTop: 0
113			}, 800);
114			return false;
115		});
116	});
117}

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.