PageSourceSearch

https://aurelagace.com/new/wp-content/themes/laband/lib/shortcodes/js/jquery.quovolver.js?ver=4.5.32

js aurelagace.com collected 2026-10-02 14:17:24 UTC 1,806 bytes, 70 lines download raw bytes

1/*
2 * jQuery Quovolver v1.0 - http://sandbox.sebnitu.com/jquery/quovolver
3 *
4 * By Sebastian Nitu - Copyright 2009 - All rights reserved
5 * 
6 */
7
8(function($) {
9	$.fn.quovolver = function(speed, delay) {
10		
11		/* Sets default values */
12		if (!speed) speed = 500;
13		if (!delay) delay = 6000;
14		
15		// If "delay" is less than 4 times the "speed", it will break the effect 
16		// If that's the case, make "delay" exactly 4 times "speed"
17		var quaSpd = (speed*4);
18		if (quaSpd > (delay)) delay = quaSpd;
19		
20		// Create the variables needed
21		var	quote = $(this),
22			firstQuo = $(this).filter(':first'),
23			lastQuo = $(this).filter(':last'),
24			wrapElem = '<div id="quote_wrap"></div>';
25		
26		// Wrap the quotes
27		$(this).wrapAll(wrapElem);
28		
29		// Hide all the quotes, then show the first
30		$(this).hide();
31		$(firstQuo).show();
32		
33		// Set the hight of the wrapper
34		$(this).parent().css({height: $(firstQuo).height()});		
35		
36		// Where the magic happens
37		setInterval(function(){
38			
39			// Set required hight and element in variables for animation
40			if($(lastQuo).is(':visible')) {
41				var nextElem = $(firstQuo);
42				var wrapHeight = $(nextElem).height();
43			} else {
44				var nextElem = $(quote).filter(':visible').next();
45				var wrapHeight = $(nextElem).height();
46			}
47			
48			// Fadeout the quote that is currently visible
49			$(quote).filter(':visible').fadeOut(speed);
50			
51			// Set the wrapper to the hight of the next element, then fade that element in
52			setTimeout(function() {
53				$(quote).parent().animate({height: wrapHeight}, speed);
54			}, speed);
55			
56			if($(lastQuo).is(':visible')) {
57				setTimeout(function() {
58					$(firstQuo).fadeIn(speed*2);
59				}, speed*2);
60				
61			} else {
62				setTimeout(function() {
63					$(nextElem).fadeIn(speed);
64				}, speed*2);
65			}
66			
67		}, delay);
68	
69	};
70})(jQuery);

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.