Uname: Linux premium193.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.34 [ PHP INFO ] PHP os: Linux
Server Ip: 192.64.117.120
Your Ip: 216.73.216.119
User: mercnlgf (820) | Group: mercnlgf (812)
Safe Mode: OFF
Disable Function:
NONE

name : envo.js
( function ( $ ) {
    'use strict';

    // float cart

    var $myDiv = $( '.woo-float-info' );
    if ( $myDiv.length ) {
        $( window ).scroll( function () {
            var distanceTop = $( '.woocommerce div.product form.cart' ).offset().top - 60;

            if ( $( window ).scrollTop() > distanceTop )
                $myDiv.animate( { 'bottom': '0' }, 200 );
            else
                $myDiv.stop( true ).animate( { 'bottom': '-400px' }, 100 );
        } );

        $( '.woo-float-info .close-me' ).bind( 'click', function () {
            $( this ).parent().remove();
        } );
    }
    ;

    // return to top button
    // ===== Scroll to Top ==== 
    $( window ).scroll( function () {
        if ( $( this ).scrollTop() >= 50 ) {        // If page is scrolled more than 50px
            $( '#return-to-top' ).fadeIn( 200 );    // Fade in the arrow
        } else {
            $( '#return-to-top' ).fadeOut( 200 );   // Else fade out the arrow
        }
    } );
    $( '#return-to-top' ).click( function () {      // When arrow is clicked
        $( 'body,html' ).animate( {
            scrollTop: 0                       // Scroll to top of body
        }, 500 );
    } );

} )( jQuery );
© 2026 MAINHACK