PageSourceSearch

https://claudiomorandini.com/wp-content/themes/slate/includes/js/custom/custom.js?ver=5.4.12

js claudiomorandini.com collected 2026-10-02 14:13:40 UTC 2,577 bytes, 93 lines download raw bytes

1jQuery(document).ready(function( $ ) { 
2
3		
4		function mainmenu(){
5		$('#nav ul').css({display: "none"}); // Opera Fix
6		
7		$('#nav li').hover(function(){
8			$(this).find('ul:first').css({visibility: "visible",display: "none"}).fadeIn(200);
9			},function(){
10			$(this).find('ul:first').css({visibility: "hidden"});
11			});
12		}
13		
14		mainmenu();
15		
16		//Wrap portfolio items
17		var divs = $(".paginate-boxes li");
18		for(var i = 0; i < divs.length; i+=6) {
19		  divs.slice(i, i+6).wrapAll("<li class='slide-portfolio'></li>");
20		}
21		
22		//Wrap portfolio items
23		var divs = $(".paginate-boxes-inside li");
24		for(var i = 0; i < divs.length; i+=6) {
25		  divs.slice(i, i+6).wrapAll("<li class='slide-portfolio'></li>");
26		}
27		
28		//Wrap blog items
29		var divs = $(".home-blog li");
30		for(var i = 0; i < divs.length; i+=4) {
31		  divs.slice(i, i+4).wrapAll("<li class='slide-portfolio'></li>");
32		}
33		
34		//Flexslider
35		$(window).load(function() {
36			$('#header-slider,#portfolio-slider,#portfolio-sidebar,#testimonial-slider,#blog-slider').flexslider({
37				slideshow: false,
38				animationDuration: 200 
39			});
40			
41			$('.flexslider').flexslider();
42		});
43		
44		// Tabs
45		$("ul.tabs").tabs("div.panes > div",{effect: "fade" }); 
46		
47		//Sliding Boxes
48		$('.fade').mosaic();
49		
50		$('.hidden-toggle').click(function() {
51		  $('.header-hidden').slideToggle('fast', function() {
52		    // Animation complete.
53		  });
54		  $(".header-hidden-toggle-wrap").toggleClass("show-hidden");
55		});
56		
57		$('#sidebar-close').toggle(function () {
58		    $("#sidebar-wrap").addClass("show-sidebar");
59		    $(".content,.header,.page-title,.footer,.footer-widgets").addClass("content-fade");
60		}, function () {
61		    $("#sidebar-wrap").removeClass("show-sidebar");
62		    $(".content,.header,.page-title,.footer,.footer-widgets").removeClass("content-fade");
63		});
64		
65		//FitVids
66		$(".okvideo").fitVids();
67		
68		//Menu
69		$('#nav').mobileMenu();
70		
71		//Select
72		$(document).ready(function(){	
73		
74		    if (!$.browser.opera) {
75		
76		        $('select.select-menu').each(function(){
77		            var title = $(this).attr('title');
78		            if( $('option:selected', this).val() != ''  ) title = $('option:selected',this).text();
79		            $(this)
80		                .css({'z-index':10,'opacity':0,'-khtml-appearance':'none'})
81		                .after('<span class="select">' + title + '</span>')
82		                .change(function(){
83		                    val = $('option:selected',this).text();
84		                    $(this).next().text(val);
85		                    })
86		        });
87		
88		    };
89				
90		});
91		
92				
93});

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.