Skip to content
Snippets Groups Projects
setup.js 529 B
Newer Older
  • Learn to ignore specific revisions
  • Jared Hancock's avatar
    Jared Hancock committed
    jQuery(function($) {
                
        $("#overlay").css({
            opacity : 0.3,
            top     : 0,
            left    : 0,
            width   : $(window).width(),
            height  : $(window).height()
            });
    
        $("#loading").css({
            top  : ($(window).height() / 3),
            left : ($(window).width() / 2 - 160)
            });
            
    
        $('form#install').submit(function(e) {
    
    Jared Hancock's avatar
    Jared Hancock committed
            $('input[type=submit]', this).attr('disabled', 'disabled');
            $('#overlay, #loading').show();
            return true;
            });
    });