PageSourceSearch

https://formesign.com/dosis/assets/dist/js/dosis.custom.js?_=v7

js formesign.com collected 2026-09-24 09:06:19 UTC 5,058 bytes, 154 lines download raw bytes

1/* 
2Dosis Minimal Agency Portfolio
3Author - design_mylife
4Project Version - v1.2
5 */
6(function ($) {
7    "use strict";
8    /**Preloader*/
9    $(window).preloader({
10        delay: 500
11    });
12    /* Bootstrap tooltips / toast / popovers */
13    $('[data-toggle="tooltip"]').tooltip();
14    $('[data-toggle="popover"]').popover();
15    $('.toast').toast('show')
16    //auto close navbar-collapse on click a
17    $('.navbar .nav-item>.anchor-scroll').on('click', function () {
18        $('.navbar-toggler:visible').click();
19    });
20    /*sticky navbar*/
21    $("#navbar-sticky").sticky({ topSpacing: 0 });
22    /**transparent header fixed-top */
23    /*header shrink*/
24    $(window).on('scroll', function () {
25        var scroll = $(window).scrollTop();
26
27        if (scroll >= 90) {
28            $("#navbar-fixed-top").addClass("sticky-active");
29        } else {
30            $("#navbar-fixed-top").removeClass("sticky-active");
31        }
32    });
33    /*Tetimonials swiper*/
34    var swiper = new Swiper('.swiper-testimonials', {
35        navigation: {
36            nextEl: '.swiper-button-next',
37            prevEl: '.swiper-button-prev',
38        },
39        autoplay: {
40            delay: 8000,
41        },
42    });
43    /* Partners swiper slider */
44    var swiper = new Swiper('.swiper-partners', {
45        slidesPerView: 5,
46        slidesPerColumn: 3,
47        slidesPerGroup: 5,
48        spaceBetween: 50,
49        grabCursor: true,
50        autoplay: {
51            delay: '3000'
52        },
53        breakpoints: {
54            768: {
55                slidesPerView: 3,
56                slidesPerGroup: 3,
57                spaceBetween: 30,
58            },
59            640: {
60                slidesPerView: 3,
61                slidesPerGroup: 3,
62                spaceBetween: 20,
63            },
64            320: {
65                slidesPerView: 3,
66                slidesPerGroup: 3,
67                spaceBetween: 10,
68            }
69        },
70    });
71
72
73    /* Home Slider */
74    var swiper = new Swiper('.swiper-hero', {
75        direction: 'vertical',
76        loop:true,
77        autoplay: {
78            delay: '5000'
79        },
80        pagination: {
81          el: '.swiper-pagination',
82          clickable: true,
83        },
84      });
85    /*back to top*/
86    /** --------------------------------back to top-----------------------------------**/
87    var btn = $('.scrollToTop');
88
89    $(window).scroll(function () {
90        if ($(window).scrollTop() > 300) {
91            btn.addClass('show');
92        } else {
93            btn.removeClass('show');
94        }
95    });
96    $('.scrollToTop').on("click", function () {
97        $('html, body').animate({ scrollTop: 0 }, 800);
98        return false;
99    });
100    /*smooth scroll*/
101    $('.anchor-scroll').on('click', function (event) {
102        var $anchor = $(this);
103        $('html, body').stop().animate({
104            scrollTop: $($anchor.attr('href')).offset().top - 68
105        }, 1000, 'easeInOutExpo');
106        event.preventDefault();
107    });
108
109    /* Parallax */
110    $('.parallax-me').parallaxBackground();
111})(jQuery);
112
113$(function () {
114    "use strict";
115    if ($('.scrollReveal').length && !$('html.ie9').length) {
116        $('.scrollReveal').parent().css('overflow', 'hidden');
117        window.sr = ScrollReveal({
118            reset: true,
119            distance: '25px',
120            mobile: true,
121            duration: 850,
122            scale: 1,
123            viewFactor: 0.3,
124            easing: 'ease-in-out'
125        });
126        sr.reveal('.sr-top', { origin: 'top' });
127        sr.reveal('.sr-bottom', { origin: 'bottom' });
128        sr.reveal('.sr-left', { origin: 'left' });
129        sr.reveal('.sr-long-left', { origin: 'left', distance: '70px', duration: 1000 });
130        sr.reveal('.sr-right', { origin: 'right' });
131        sr.reveal('.sr-scaleUp', { scale: '0.8' });
132        sr.reveal('.sr-scaleDown', { scale: '1.15' });
133
134        sr.reveal('.sr-delay-1', { delay: 200 });
135        sr.reveal('.sr-delay-2', { delay: 400 });
136        sr.reveal('.sr-delay-3', { delay: 600 });
137        sr.reveal('.sr-delay-4', { delay: 800 });
138        sr.reveal('.sr-delay-5', { delay: 1000 });
139        sr.reveal('.sr-delay-6', { delay: 1200 });
140        sr.reveal('.sr-delay-7', { delay: 1400 });
141        sr.reveal('.sr-delay-8', { delay: 1600 });
142
143        sr.reveal('.sr-ease-in-out-quad', { easing: 'cubic-bezier(0.455,  0.030, 0.515, 0.955)' });
144        sr.reveal('.sr-ease-in-out-cubic', { easing: 'cubic-bezier(0.645,  0.045, 0.355, 1.000)' });
145        sr.reveal('.sr-ease-in-out-quart', { easing: 'cubic-bezier(0.770,  0.000, 0.175, 1.000)' });
146        sr.reveal('.sr-ease-in-out-quint', { easing: 'cubic-bezier(0.860,  0.000, 0.070, 1.000)' });
147        sr.reveal('.sr-ease-in-out-sine', { easing: 'cubic-bezier(0.445,  0.050, 0.550, 0.950)' });
148        sr.reveal('.sr-ease-in-out-expo', { easing: 'cubic-bezier(1.000,  0.000, 0.000, 1.000)' });
149        sr.reveal('.sr-ease-in-out-circ', { easing: 'cubic-bezier(0.785,  0.135, 0.150, 0.860)' });
150        sr.reveal('.sr-ease-in-out-back', { easing: 'cubic-bezier(0.680, -0.550, 0.265, 1.550)' });
151    }
152});
153
154

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.