PageSourceSearch

https://www.ambragaming.com/wp-content/themes/radius/includes/js/custom/custom.js?ver=5.4.23

js ambragaming.com collected 2026-10-06 13:15:27 UTC 3,487 bytes, 130 lines download raw bytes

1jQuery(document).ready(function( $ ) { 
2
3		
4		//Wrap Instagram widget
5		$('.wpinstagram').wrap('<div class="wpinstagram-wrap" />');
6		
7	
8		//Drop Down Menu
9		function mainmenu(){
10		$('#nav ul').css({display: "none"}); // Opera Fix
11		
12		$('#nav li').hover(function(){
13			$(this).find('ul:first').css({visibility: "visible",display: "none"}).fadeToggle(200);
14			},function(){
15			$(this).find('ul:first').css({visibility: "hidden"});
16			});
17		}
18		
19		mainmenu();
20		
21		
22		//Add Menu Items
23		$('#nav .entypo a').wrap('<div class="entypo-inner" />');	
24		//Flexslider
25		$(window).load(function() {
26			$('#header-slider').flexslider({
27				animationDuration: 400,
28				slideshowSpeed: 4000,
29				pauseOnHover:false,
30				slideshow:true,
31				maxItems: 8
32			});
33			
34			$('.flexslider').flexslider();
35			
36			// Carrousell da pagina de portfolio, para os banners pequenos
37			//carr();
38			$('#carousel').carouFredSel({
39				responsive  : true,
40				scroll:1,
41				auto: {pauseDuration : 5000},
42				items:{
43					width: 199,
44					height: 142,
45					visible     : {
46            		min         : 2,
47            		max         :6
48        			}
49				}      
50			});
51
52				
53		});
54		
55		// Tab Box
56		$("ul.tabs").tabs("div.panes > div",{effect: "fade" }); 
57		
58		$('.hidden-toggle').click(function() {
59		  $('.header-hidden').slideToggle('fast', function() {
60		    // Animation complete.
61		  });
62		  $(".header-hidden-toggle-wrap").toggleClass("show-hidden");
63		});
64		
65		
66		// Show the goddamn sidebar
67		$('#sidebar-close').click(function () {
68		    $("#sidebar-wrap").addClass("show-sidebar");
69		    $(".content,.header,.page-title,.footer,.footer-widgets").addClass("content-fade");
70		});
71		
72		//Hide the goddamn sidebar
73		$('#sidebar-close2').click(function () {
74		    $("#sidebar-wrap").removeClass("show-sidebar");
75		    $(".content,.header,.page-title,.footer,.footer-widgets").removeClass("content-fade");
76		});
77
78		
79		//FitVids
80		$(".okvideo").fitVids();
81		
82		
83		//Menu
84		$('#nav').mobileMenu();
85		
86		
87		//Responsive Select Menu		
88	    if (!J.browser.opera) {
89	        $('select.select-menu').each(function(){
90	            var title = $(this).attr('title');
91	            if( $('option:selected', this).val() != ''  ) title = $('option:selected',this).text();
92	            $(this)
93	                .css({'z-index':10,'opacity':0,'-khtml-appearance':'none'})
94	                .after('<span class="select">' + title + '</span>')
95	                .change(function(){
96	                    val = $('option:selected',this).text();
97	                    $(this).next().text(val);
98	                    })
99	        });
100	    };
101		
102		
103		//Toggle
104		$('.showcase-toggle').click(function() {
105		  $(".showcase,#header-slider").toggleClass("showcase-open");
106		  $(".showcase-image").toggleClass("showcase-image-hide");
107		  $(".showcase-info").toggleClass("showcase-info-open");
108		  $(".showcase-title h2").toggleClass("showcase-title-white");
109		  $(".showcase-text").toggleClass("showcase-text-show");
110		  return false;
111		});
112		
113		
114		//Flickr Fancybox		
115		$(".fancybox").fancybox({
116			"transitionIn":			"elastic",
117			"transitionOut":		"elastic",
118			"easingIn":			"easeOutBack",
119			"easingOut":			"easeInBack",
120			"titlePosition":		"over",
121			"padding":			0,
122			"hideOnContentClick":		"true"
123		});
124		
125			
126		$(".social-widget").each(function(index) {
127		    $(this).delay(400*index).fadeIn(200);
128		});
129				
130});

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.