Server IP : 195.201.23.43 / Your IP : 18.119.165.116 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/kdecoratie/public_html/modules/mod_showplus/js/ext/ |
Upload File : |
/** Script: Slideshow.Flash.js Slideshow.Flash - Flash extension for Slideshow. License: MIT-style license. Copyright: Copyright (c) 2008 [Aeron Glemann](http://www.electricprism.com/aeron/). Dependencies: Slideshow. */ (function(){ Slideshow.Flash = new Class({ Extends: Slideshow, options: { color: ['#FFF'] }, /** Constructor: initialize Creates an instance of the Slideshow class. Arguments: element - (element) The wrapper element. data - (array or object) The images and optional thumbnails, captions and links for the show. options - (object) The options below. Syntax: var myShow = new Slideshow.Flash(element, data, options); */ initialize: function(el, data, options){ options = options || {}; options.overlap = true; if (options.color) options.color = Array.from(options.color); this.parent(el, data, options); }, /** Private method: show Does the slideshow effect. */ _show: function(fast){ if (!this.image.retrieve('tween')) $$(this.a, this.b).set('tween', {'duration': this.options.duration, 'link': 'cancel', 'onStart': this._start.bind(this), 'onComplete': this._complete.bind(this), 'property': 'opacity'}); if (fast) this.image.get('tween').cancel().set(1); else { this.el.retrieve('images').setStyle('background', this.options.color[this.slide % this.options.color.length]); var img = (this.counter % 2) ? this.a : this.b; img.get('tween').cancel().set(0); this.image.get('tween').set(0).start(1); } } }); })();Private