PageSourceSearch

https://silviagenz.de/wp-content/themes/enfold/config-templatebuil…/magazine/magazine_ver-5.2.21.js

js silviagenz.de collected 2026-10-08 00:39:51 UTC 2,504 bytes, 76 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10// -------------------------------------------------------------------------------------------
11// 
12// AVIA Magazine function for magazine sorting
13// 
14// -------------------------------------------------------------------------------------------
15(function($)
16{ 
17	"use strict";
18	
19	var animating = false,
20		methods = {
21		
22		switchMag: function(clicked, _self)
23		{
24			var current 		= $(clicked)
25			
26			if(current.is('.active_sort') || animating) return;
27			
28			var filter			= current.data('filter'),
29				oldContainer	= _self.container.filter(':visible'),
30				newContainer	= _self.container.filter('.' + filter);
31			
32			//switch Class
33			animating = true;
34			_self.sort_buttons.removeClass('active_sort');
35			current.addClass('active_sort');
36			
37			//apply fixed heiht for transition
38			_self.magazine.height(_self.magazine.outerHeight());
39			
40			//switch items
41			oldContainer.avia_animate({opacity:0}
41, 200, function()
42			{
43				oldContainer.css({display:'none'});
44				newContainer.css({opacity:0, display:'block'}).avia_animate({opacity:1}, 150, function()
45				{
46					_self.magazine.avia_animate({height: (newContainer.outerHeight() + _self.sort_bar.outerHeight())}, 150, function()
47					{
48						_self.magazine.height('auto');
49						animating = false;
50					});
51					
52				});
53			});
54		}
55	};
56	
57	
58	$.fn.aviaMagazine = function( options )
59	{
60		if(!this.length) return; 
61
62		return this.each(function()
63		{
64			var _self = {};
65			 
66			_self.magazine		= $(this),
67			_self.sort_buttons 	= _self.magazine.find('.av-magazine-sort a');
68			_self.container		= _self.magazine.find('.av-magazine-group');
69			_self.sort_bar		= _self.magazine.find('.av-magazine-top-bar');
70			
71			_self.sort_buttons.on('click', function(e){ e.preventDefault(); methods.switchMag(this, _self);  } );
72		});
73	}
74	
75}(jQuery));
76}

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.