PageSourceSearch

https://blog.smarthost.pl/wp-content/themes/blog/js/scripts.js?ver=1

js smarthost.pl collected 2026-10-02 03:34:42 UTC 1,846 bytes, 80 lines download raw bytes

1
2//Menu dropdown animation
3jQuery(function($) {
4	$('.sub-menu').hide();
5	$('.main-navigation .children').hide();
6	$('.menu-item').hover( 
7		function() {
8			$(this).children('.sub-menu').slideDown();
9		}, 
10		function() {
11			$(this).children('.sub-menu').hide();
12		}
13	);
14	$('.main-navigation li').hover( 
15		function() {
16			$(this).children('.main-navigation .children').slideDown();
17		}, 
18		function() {
19			$(this).children('.main-navigation .children').hide();
20		}
21	);	
22});
23
24//Open social links in a new tab
25jQuery(function($) {
26     $( '.social-navigation li a' ).attr( 'target','_blank' );
27});
28
29//Social menu
30jQuery(function($) {
31	var items = $('.social-navigation .menu-item').length;
32	itemWidth = 100/items + '%';
33	$('.social-navigation .menu-item').css('width', itemWidth);
34});
35
36//Toggle sidebar
37jQuery(function($) {
38	$('.sidebar-toggle').click(function() {
39		$('.widget-area').toggleClass('widget-area-visible');
40		$('.sidebar-toggle').toggleClass('sidebar-toggled');
41		$('.sidebar-toggle').find('i').toggleClass('fa-plus fa-times');
42	});
43	$('.sidebar-close').click(function() {
44		$('.widget-area').toggleClass('widget-area-visible');
45		$('.sidebar-toggle').find('i').toggleClass('fa-plus fa-times');
46	});	
47});
48
49//Parallax
50jQuery(function($) {
51	$(".site-header").parallax("50%", 0.3);
52});
53
54//Fit Vids
55jQuery(function($) {
56    $("body").fitVids();  
57});
58
59//Mobile menu
60jQuery(function($) {
61	$('.main-navigation .menu').slicknav({
62		label: '<i class="fa fa-bars"></i>',
63		prependTo: '.mobile-nav',
64		closedSymbol: '&#43;',
65		openedSymbol: '&#45;',
66		allowParentLinks: true
67	});
68	$('.info-close').click(function(){
69		$(this).parent().fadeOut();
70		return false;
71	});
72});	
73
74//Preloader
75jQuery(function($) {
76	$(window).bind('load', function() {
77		$('.preloader').css('opacity', 0);
78		setTimeout(function(){$('.preloader').hide();}, 600);	
79	});
80});

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.