%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.248 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 : 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/modules/mod_jq-dailypop/js/ |
Upload File : |
/** * @package Module JQuery Daily Pop * @version 1.7 * @author Yannick Tanguy * @copyright Copyright (C) 2016 - yannick Tanguy * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html **/ var temp = 0; // Function to Show the animated effect function dpanimfull(num,tp){ if (num==1){ if (tp==0){ jQuery('#dailyposition').show(); jQuery( "#dailyfullscreen" ).animate({ opacity: "toggle" }); } if (tp==1){ jQuery( "#dailyfullscreen" ).animate({ opacity: "toggle" }, function(){ jQuery( "#dailyposition" ).animate({ opacity: "toggle" }); }); } if (tp==2){ largzone=jQuery("#dailypopupwidth").val(); jQuery('#dailyposition').css({'width': '0px'}); jQuery( "#dailyfullscreen" ).animate({ opacity: "toggle" }, function(){ jQuery('#dailyposition').show(); jQuery( "#dailyposition" ).animate({ width: largzone },1500); }); } } else { jQuery( "#dailyposition" ).toggle(); jQuery( "#dailyfullscreen" ).toggle(); } } // Function to remove the Animated effect function rmanimfull(num,tp){ if (num==1){ jQuery( "#dailyfullscreen" ).animate({ opacity: "toggle" }, function(){jQuery("#dailyfullscreen").remove();}); } else { jQuery( "#dailyfullscreen" ).remove(); } } window.onload = function(){ letexte2=jQuery("#dailycomplete").html(); largzone=jQuery("#dailypopupwidth").val(); zetimer=jQuery("#jqtimer").val(); actianim=jQuery("#actianim").val(); jqanime=jQuery("#jqanime").val(); jQuery("#dailycomplete").remove(); jQuery('body').prepend(letexte2); fermcl=jQuery('#closedailyp').val(); // width of the Popup jQuery('#dailyposition').css({'max-width': largzone+'px', 'display': 'none'}); // start show the popup with or without animated effect dpanimfull(actianim,jqanime); timetmp=zetimer*1000; //prepare the end and the effect on remove PopUp if (actianim==1){ endrem='jQuery( "#dailyfullscreen" ).animate({ opacity: "toggle" }, function(){jQuery("#dailyfullscreen").remove();});'; } else { endrem='jQuery("#dailyfullscreen").remove();'; } // timer for (i=zetimer ;i > -1;i--){ setTimeout("jQuery('#closedailyp').val('"+fermcl+" "+i+"');",temp); temp+=1000; if (temp==timetmp){ setTimeout(endrem,temp); } } jQuery('#closedailyp').click(function () { rmanimfull(actianim,jqanime); }); }