HEX
Server: Apache
System: Linux p3plzcpnl504740.prod.phx3.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: l2pbkn5l6xav (4972877)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: /home/l2pbkn5l6xav/www/wp-content/themes/prime-business/assets/js/jquery-custom.js
( function($) {

    /**
     * Mobile menu
     */

    $( '.dropdown-toggle' ).on( 'click', function(){
        $( this ).toggleClass( 'toggled' );
        $( this ).next().slideToggle();
    } );

    // Function to show the menu
    function show_menu() {
        $( '.nav-parent' ).addClass( 'mobile-menu-open' );
        $( '.mobile-menu-overlay' ).addClass( 'mobile-menu-active' );
    }

    // Function to hide the menu
    function hide_menu(){
        $( '.nav-parent' ).removeClass( 'mobile-menu-open' );
        $( '.mobile-menu-overlay' ).removeClass( 'mobile-menu-active' );
    }

    $( '.menubar-right' ).on( 'click', show_menu );
    $( '.mobile-menu-overlay' ).on( 'click', hide_menu );
    $( '.menubar-close' ).on( 'click', hide_menu );

    /**
     * Slick Slider
     */
    $( '.ct-slick' ).slick( {
        nextArrow: '<i class="fa fa-angle-right slick-right ct-slick-arrow"></i>',
        prevArrow: '<i class="fa fa-angle-left slick-left ct-slick-arrow"></i>',
    });
    $( '.ct-testimonial-slider' ).slick();

    /**
     * Flipbox responsive
     */

    $( '.flip-front' ).each( function() {
        $height = $( this ).height();
        $( this ).parent().parent().css( 'min-height', $height + 'px' );
    } );

    $( window ).on( 'resize', function() {
        $( '.flip-front' ).each( function() {
            $height = $( this ).height();
            $( this ).parent().parent().css( 'min-height', $height + 'px' );
        } );
    } );

    /**
     * Back to Top
     */

     $( '#back-to-top' ).on( 'click', function( e ){
        e.preventDefault();
        $( "html, body" ).animate( {scrollTop: 0}, 1000 );
     } );

     $( window ).scroll( function() {
        if ( $( this ).scrollTop() > 800 ) {
            $( '#back-to-top' ).fadeIn();
        } else {
            $( '#back-to-top' ).fadeOut();
        }
    } );

} )( jQuery );