%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/old/templates/sj_icenter/js/ |
Upload File : |
//JS script
var boxes=[];
var ytoverlaywrap = null;
showBox=function(box,focusobj,caller,e){
if(!ytoverlaywrap){
ytoverlaywrap=new Element('div',{id:"yt_overlaywrap"}).injectAfter($(box));
ytoverlaywrap.setStyle('opacity',0.3);
ytoverlaywrap.addEvent('click',function(e){boxes.each(function(box){
if(box.status=='show'){
box.status = 'hide';
var fx = new Fx.Tween (box);
fx.pause();
fx.start ('opacity',box.getStyle('opacity'), 0); box.toggle();
if (box._caller) box._caller.removeClass ('show');
}
},this);
ytoverlaywrap.setStyle('display','none');
});
}
caller.blur();
box=$(box);
if(!box)return;
if($(caller))box._caller=$(caller);
if(!boxes.contains(box)){
boxes.include(box);
}
if(box.getStyle('display')=='none'){
box.setStyles({display:'block',opacity:0}); box.toggle();
}
if(box.status=='show'){
//hide
box.status = 'hide';
var fx = new Fx.Tween (box);
fx.pause();
fx.start ('opacity',box.getStyle('opacity'), 0); box.toggle();
if (box._caller) box._caller.removeClass ('show');
ytoverlaywrap.setStyle('display','none');
}else{
boxes.each(function(box1){
if (box1!=box && box1.status=='show') {
box1.status = 'hide';
var fx = new Fx.Tween (box1);
fx.pause();
fx.start ('opacity',box1.getStyle('opacity'), 0); box1.toggle();
if (box1._caller) box1._caller.removeClass ('show');
}
},this);
box.status = 'show';
var fx = new Fx.Tween (box,{onComplete:function(){if($(focusobj))$(focusobj).focus();}});
fx.pause();
fx.start ('opacity',box.getStyle('opacity'), 1); box.toggle();
if (box._caller) box._caller.addClass ('show');
ytoverlaywrap.setStyle('display','block');
}
}