PageSourceSearch

https://www.mdsrbija.org/2016/wp-content/themes/activello/inc/js/functions.min.js?ver=5.1.26

js mdsrbija.org collected 2026-09-25 08:30:49 UTC 3,460 bytes, 66 lines download raw bytes

1// Bootstrap specific functions and styling
2jQuery(document).ready(function(){
3
4	// Now we'll add some classes for the WordPress default widgets - let's go
5	jQuery( '.widget_rss ul' ).addClass( 'media-list' );
6
7	// Add Bootstrap style for drop-downs
8	jQuery( '.postform' ).addClass( 'form-control' );
9
10	// Add Bootstrap styling for tables
11	jQuery( 'table#wp-calendar' ).addClass( 'table table-striped');
12
13	jQuery( '.widget_rss ul, .postform, table#wp-calendar' ).show( "fast" );
14
15});
16
17// jQuery powered scroll to top
18
19jQuery(document).ready(function(){
20
21	//Check to see if the window is top if not then display button
22	jQuery(window).scroll(function(){
23		if (jQuery(this).scrollTop() > 100) {
24			jQuery('.scroll-to-top').fadeIn();
25		} else {
26			jQuery('.scroll-to-top').fadeOut();
27		}
28	});
29
30	//Click event to scroll to top
31	jQuery('.scroll-to-top').click(function(){
32		jQuery('html, body').animate({scrollTop : 0},800);
33		return false;
34	});
35
36});
37
38// Slider functions
39// Can also be used with $(document).ready()
40jQuery(document).ready(function($){$(window).load(function(){if ($('.flexslider').length != 0) { $('.flexslider').flexslider({
41      	animation: "fade",              //String: Select your animation type, "fade" or "slide"
42	    easing: "swing",                //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported!
43	    direction: "horizontal",        //String: Select the sliding direction, "horizontal" or "vertical"
44	    reverse: false,                 //{NEW} Boolean: Reverse the animation direction
45	    animationLoop: true,            //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end
46	    smoothHeight: true,            //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode
47	    startAt: 0,                     //Integer: The slide that the slider should start on. Array notation (0 = first slide)
48	    slideshow: true,                //Boolean: Animate slider automatically
49	    slideshowSpeed: 7000,           //Integer: Set the speed of the slideshow cycling, in milliseconds
50	    animationSpeed: 600,            //Integer: Set the speed of animations, in milliseconds
51	    initDelay: 0,                   //{NEW} Integer: Set an initialization delay, in milliseconds
52	    randomize: false,               //Boolean: Randomize slide order
53	    fadeFirstSlide: true,           //Boolean: Fade in the first slide when animation type is "fade"
54
55	    // Usability features
56	    pauseOnAction: true,            //Boolean: Pause the slideshow when interacting with control elements, highly recommended.
57	    pauseOnHover: false,            //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
58	    pauseInvisible: true,       		//{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage.
59	    useCSS: true,                   //{NEW} Boolean: Slider will use CSS3 transitions if available
60	    touch: true,                    //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices
61
62	    directionNav: true,             //Boolean: Create navigation for previous/next navigation? (true/false)
63    	prevText: "",           //String: Set the text for the "previous" directionNav item
64    	nextText: ""               //String: Set the text for the "next" directionNav item
65
66})}})});

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.