Shadow-Here


Server : Apache/2.4.41 (Ubuntu)
System : Linux cls 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : iscuser ( 1001)
PHP Version : 7.4.12
Disable Function : shell_exec,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/html/all-domains/srh/www/ars-marino-website/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : /var/www/html/all-domains/srh/www/ars-marino-website/assets/js/ars.js
(function($) {
    "use strict";

    $(document).on('ready', function() {

        /* ==================================================
            # Smooth Scroll
         ===============================================*/
        $("body").scrollspy({
            target: ".navbar-collapse",
            offset: 200
        });
        $('a.smooth-menu').on('click', function(event) {
            var $anchor = $(this);
            var headerH = '100';
            $('html, body').stop().animate({
                scrollTop: $($anchor.attr('href')).offset().top - headerH + "px"
            }, 1500, 'easeInOutExpo');
            event.preventDefault();
        });

		$('.smooth-menu').on('click', function() {  
			$('html, body').animate({scrollTop: $(this.hash).offset().top - -60}, 100);
			return false;
		});

        // scrollTop init  
        var win = $(window); 
        var totop = $('#scrollUp');    
        win.on('scroll', function() {
            if (win.scrollTop() > 250) {
                totop.fadeIn();
            } else {
                totop.fadeOut();
            }
        });
        totop.on('click', function() {
            $("html,body").animate({
                scrollTop: 0
            }, 100)
        });

        /* ==================================================
            # Example Carousel
         ===============================================*/
        $('.features-carousel').owlCarousel({
            loop: true,
            nav: true,
            dots: true,
            autoplay: true,
            items: 1,
            navText: [
                "<i class='fa fa-angle-left'></i>",
                "<i class='fa fa-angle-right'></i>"
            ],
			
            
        });
		
		


        /* ==================================================
            # Example Carousel
         ===============================================*/
        $('.testimonial-carousel').owlCarousel({
            loop: false,
            nav: false,
            dots: false,
            autoplay: true,
			margin: 30,
            items: 3,
            navText: [
                "<i class='fa fa-angle-left'></i>",
                "<i class='fa fa-angle-right'></i>"
            ],
			
			responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 3
                }
            }
        });


        /* ==================================================
            # Cookies Functions
         ===================================================*/

        // load
        cookieConsent();

        function eraseCookie(name) {
            document.cookie = name + '=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
        }

        function cookieConsent() {
            if (!getCookie('allowCookiesMarinoHr')) {
                $('.fixed-bottom').show();
            }
        }

        $('#btnDeny').click(() => {
            eraseCookie('allowCookiesMarinoHr')
            $('.toast').hide();
        });

        $('#btnAccept').click(() => {
            setCookie('allowCookiesMarinoHr', '1', 60)
            $('.toast').fadeOut('slow');
        });

        // for demo / testing only
        $('#btnReset').click(() => {
            // clear cookie to show toast after acceptance
            eraseCookie('allowCookiesMarinoHr')
            $('.toast').toast('show')
        });


    }); // end document ready function
})(jQuery); // End jQuery

var setCookie = function (name, value, days) {
    var expires = "";
    if (days) {
        var date = new Date();
        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
        expires = "; expires=" + date.toUTCString();
    }
    document.cookie = name + "=" + (value || "") + expires + "; path=/";
}

var getCookie = function (name) {
    var nameEQ = name + "=";
    var ca = document.cookie.split(';');
    for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') c = c.substring(1, c.length);
        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
    }
    return null;
}


Samx