%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/modules/mod_news_pro_gk4/interface/scripts/ |
Upload File : |
window.addEvent("load", function(){ $$('.nspMainPortalMode2').each(function(module){ var id = module.getProperty('id'); var $G = $Gavick[id]; var current_art = 0; var arts = module.getElements('.nspArt'); var headline_size = module.getElement('.nspArtHeadline').getSize().y; var headline_titles = module.getElements('.nspArtHeadline'); var auto_anim = module.hasClass('autoanim'); var anim_speed = $G['animation_speed']; var anim_interval = $G['animation_interval']; var animation = false; var scrollWrap = module.getElement('.nspArts'); var scroller = new Fx.Scroll(scrollWrap, {duration: anim_speed, wheelStops: false}); var headlines = new Fx.Morph(module.getElement('.nspTextWrap'), {duration: anim_speed, wheelStops: false}); var dimensions = scrollWrap.getSize(); var startItem = 0; var sizeWrap = scrollWrap.getCoordinates(); module.getElement('.nspArt').addClass('active'); module.getElement('.nspArtsScroll').setStyle('width', (arts[arts.length-1].getSize().x * arts.length) + 2); // reset scroller.start(0,0); // if(module.getElement('.nspBotInterface .nspPrev')) { module.getElement('.nspBotInterface .nspPrev').addEvent('click', function() { animation = true; new Fx.Morph(headline_titles[current_art], {duration:anim_speed / 2}).start({'opacity':0}); if(current_art == 0) { current_art = arts.length - 1; } else { current_art--; } scroller.toElement(arts[current_art]); headlines.start({'margin-top':-1 * headline_size * current_art}); new Fx.Morph(headline_titles[current_art],{duration:anim_speed * 2}).start({'opacity':1}); arts.each(function(art,i){ if(i !== current_art && arts[i].hasClass('active')) { arts[i].removeClass('active'); } else if(i == current_art) { if(!arts[i].hasClass('active')) arts[i].addClass('active'); } }); }); } if(module.getElement('.nspBotInterface .nspNext')) { module.getElement('.nspBotInterface .nspNext').addEvent('click', function() { animation = true; new Fx.Morph(headline_titles[current_art], {duration:anim_speed / 2}).start({'opacity':0}); if(current_art < arts.length - 1) { current_art++; } else { current_art = 0; } scroller.toElement(arts[current_art]); headlines.start({'margin-top': -1 * headline_size * current_art}); new Fx.Morph(headline_titles[current_art], {duration:anim_speed * 2}).start({'opacity':1}); arts.each(function(art,i){ if(i !== current_art && arts[i].hasClass('active')) { arts[i].removeClass('active'); } else if(i == current_art) { if(!arts[i].hasClass('active')) arts[i].addClass('active'); } }); }); } if(auto_anim){ (function(){ if(!animation) module.getElement('.nspBotInterface .nspNext').fireEvent("click"); else animation = false; }).periodical($G['animation_interval'] / 2); } }); });