����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 3.135.211.95 Web Server : Apache/2.4.41 (Ubuntu) System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 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_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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/admin/assets/plugins/jquery.pulsate/ |
Upload File : |
(function( $ ){ var methods = { init: function(options) { var settings = { color: $(this).css("background-color"), reach: 20, speed: 1000, pause: 0, glow: true, repeat: true, onHover: false }; $(this).css({ "-moz-outline-radius": $(this).css("border-top-left-radius"), "-webkit-outline-radius": $(this).css("border-top-left-radius"), "outline-radius": $(this).css("border-top-left-radius") }); if (options) { $.extend(settings, options); } settings.color = $("<div style='background:" + settings.color + "'></div>").css("background-color"); if(settings.repeat !== true && !isNaN(settings.repeat) && settings.repeat > 0) { settings.repeat -=1; } return this.each(function() { if(settings.onHover) { $(this).bind("mouseover", function () {pulse(settings, this, 0);}) .bind("mouseout", function (){$(this).pulsate("destroy");}); } else { pulse(settings, this, 0); } }); }, destroy: function() { return this.each(function() { clearTimeout(this.timer); $(this).css("outline",0); }); } }; var pulse = function(options, el, count) { var reach = options.reach, count = count>reach ? 0 : count, opacity = (reach-count)/reach, colorarr = options.color.split(","), color = "rgba(" + colorarr[0].split("(")[1] + "," + colorarr[1] + "," + colorarr[2].split(")")[0] + "," + opacity + ")", cssObj = { "outline": "2px solid " + color }; if(options.glow) { cssObj["box-shadow"] = "0px 0px " + parseInt((count/1.5)) + "px " + color; userAgent = navigator.userAgent || ''; if(/(chrome)[ \/]([\w.]+)/.test(userAgent.toLowerCase())) { cssObj["outline-offset"] = count + "px"; cssObj["outline-radius"] = "100 px"; } } else { cssObj["outline-offset"] = count + "px"; } $(el).css(cssObj); var innerfunc = function () { if(count>=reach && !options.repeat) { $(el).pulsate("destroy"); return false; } else if(count>=reach && options.repeat !== true && !isNaN(options.repeat) && options.repeat > 0) { options.repeat = options.repeat-1; } else if(options.pause && count>=reach) { pause(options, el, count+1); return false; } pulse(options, el, count+1); }; el.timer = setTimeout(innerfunc, options.speed/reach); }; var pause = function (options, el, count) { innerfunc = function () { pulse(options, el, count); }; setTimeout(innerfunc, options.pause); }; $.fn.pulsate = function( method ) { // Method calling logic if ( methods[method] ) { return methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 )); } else if ( typeof method === 'object' || ! method ) { return methods.init.apply( this, arguments ); } else { $.error( 'Method ' + method + ' does not exist on jQuery.pulsate' ); } }; })( jQuery );