PageSourceSearch

https://carlosmagan.com/js/main.js

js carlosmagan.com collected 2026-10-02 05:35:58 UTC 1,727 bytes, 83 lines download raw bytes

1/* Loading Script */
2$(window).load(function () {
3	"use strict";
4	$(".loader").delay(500).fadeOut();
5	$("#mask").delay(1000).fadeOut("slow");
6});
7
8/* Flexslider */
9$(window).load(function () {
10	"use strict";
11	$('.flexslider').flexslider({
12		animation: "fade",
13		start: function (slider) {
14			$('.np-controls a.next').click(function (event) {
15				event.preventDefault();
16				slider.flexAnimate(slider.getTarget("next"));
17			});
18			$('.np-controls a.previous').click(function (event) {
19				event.preventDefault();
20				slider.flexAnimate(slider.getTarget("previous"));
21			});
22		}
23	});
24});
25
26/* Ir Arriba */
27$(document).ready(function () {
28	$('#irArriba').hide();
29	$(function () {
30		$(window).scroll(function () {
31			if ($(this).scrollTop() > 200) {
32				$('#irArriba').fadeIn();
33			} else {
34				$('#irArriba').fadeOut();
35			}
36		});
37		$('#irArriba span').click(function () {
38			$('body,html').animate({
39				scrollTop: 0
40			}, 1000);
41			return false;
42		});
43	});
44});
45
46/* Copyright Year */
47$(document).ready(function () {
48	$('#copyright').text(new Date().getFullYear());
49});
50
51/* Mixitup Portfolio */
52jQuery(document).ready(function ($) {
53	"use strict";
54	$('#portfolio').mixitup({
55		targetSelector: '.item',
56		transitionSpeed: 450
57	});
58});
59
60/* Nivo - Lightbox */
61jQuery(document).ready(function ($) {
62	"use strict";
63	$('.nivo-lbox').nivoLightbox({
64		effect: 'fade'
65	});
66});
67
68/* Skills */
69jQuery(document).ready(function ($) {
70	"use strict";
71	$('.skills-info').appear(function () {
72		$('.skill1').css('width', '80%');
73		$('.skill2').css('width', '85%');
74		$('.skill3').css('width', '80%');
75		$('.skill4').css('width', '90%');
76		$('.skill5').css('width', '85%');
77		$('.skill6').css('width', '70%');
78	}, {
79		accX: 0,
80		accY: -150
81	});
82});
83

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.