403Webshell
Server IP : 104.21.17.213  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/corbizrealestate.com/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/corbizrealestate.com/js/common.js
$(document).ready(function(){
    $( ".spaces-accordion" ).accordion({
        active: false,
        collapsible: true,
        create: function( event, ui ) {
            $( ".spaces-accordion .ui-accordion-content" ).css('height','auto');
        }
    });
    // gallery
    $('#largeImage').attr('src',$('#original-img img').first().attr('src'));
    $('#largeImage').attr('alt',$('#original-img img').first().attr('alt'));
    $('#thumbs').delegate('img','click', function(){
        $('#largeImage').attr('src',$('#original-img').find('.'+$(this).attr('class')).attr('src'));
        $('#largeImage').attr('alt',$('#original-img').find('.'+$(this).attr('class')).attr('alt'));
    });
    var scroll_width = $('#thumbs-container img').first().width() + parseInt($('#thumbs-container img').first().css('margin-right')) + 2;
    var animated = false;
    $('#thumbs-left').click(function(){
        if (!animated) {
            var curr_left = parseInt($('#thumbs-container').css('left'));
            if(isNaN(curr_left)) curr_left = 0;
            if (curr_left < 0) {
                animated = true;
                $('#thumbs-container').animate({'left': '+='+scroll_width},400,function(){
                    animated = false;
                });
            }
        }
    });
    var img_fill = Math.floor($('#thumbs').width() / $('#thumbs').find('img').first().outerWidth(true));
    $('#thumbs-right').click(function(){
        if (!animated) {
            var curr_left = parseInt($('#thumbs-container').css('left'));
            if(isNaN(curr_left)) curr_left = 0;
            if (curr_left > -1 * ($('#thumbs-container img').length - img_fill) * scroll_width) {
                animated = true;
                $('#thumbs-container').animate({'left': '-='+scroll_width},400,function(){
                    animated = false;
                });
            }
        }
    });
});

Youez - 2016 - github.com/yon3zu
LinuXploit