| Server IP : 87.229.120.60 / Your IP : 216.73.216.245 Web Server : Apache System : Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64 User : server ( 1002) PHP Version : 8.3.20 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/faktorteam/www/wp-content/plugins/maintenance/load/js/ |
Upload File : |
/**
* jQuery.browser.mobile (http://detectmobilebrowser.com/)
* jQuery.browser.mobile will be true if the browser is a mobile device
**/
jQuery(document).ready(function() {
jQuery(window).resize();
jQuery('.main-container > div:not(".preloader")').each(function() {
jQuery(this).css({ visibility: 'visible' });
});
if (jQuery('#btn-open-login-form').length > 0) {
jQuery('#btn-open-login-form').on('click', function() {
jQuery('body').toggleClass('open-login-form');
if (
jQuery(this)
.find('i')
.hasClass('fi-lock')
) {
jQuery(this)
.find('i')
.removeClass();
jQuery(this)
.find('i')
.addClass('fi-unlock');
} else {
jQuery(this)
.find('i')
.removeClass();
jQuery(this)
.find('i')
.addClass('fi-lock');
}
});
}
});
jQuery(window).on('load', function() {
jQuery('#content').center();
jQuery('.main-container > div:not(".preloader")').each(function() {
jQuery(this).css({ visibility: 'visible' });
});
setTimeout(function() {
jQuery('.main-container > .preloader').fadeOut(300, function() {
jQuery('.login-form-container').fadeIn(600);
});
}, 1000);
});
jQuery(window).resize(function() {
jQuery('#content').center();
var window_w = jQuery('.logotype').width();
jQuery('.logo').css('max-width', window_w + 'px');
jQuery('.logo-retina').css('max-width', window_w + 'px');
});
jQuery.fn.center = function() {
var window_h = Math.max(0, (jQuery(window).height() - jQuery(this).outerHeight()) / 2 + jQuery(window).scrollTop());
var content_h = jQuery('.logotype').height();
if (window_h > content_h) {
this.css('position', 'absolute');
this.css('top', window_h + 'px');
} else {
this.css('position', 'relative');
this.css('top', '0');
}
return this;
};