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.Push.js Slideshow.Push - Push extension for Slideshow. License: MIT-style license. Copyright: Copyright (c) 2008 [Aeron Glemann](http://www.electricprism.com/aeron/). Dependencies: Slideshow. Mootools 1.3.1 More: Fx.Elements. */ Slideshow.Push = new Class({ Extends: Slideshow, /** 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.Push(element, data, options); */ initialize: function(el, data, options){ options = options || {}; options.overlap = true; this.parent(el, data, options); }, /** Private method: show Does the slideshow effect. */ _show: function(fast){ var images = [this.image, ((this.counter % 2) ? this.a : this.b)]; if (!this.image.retrieve('fx')) this.image.store('fx', new Fx.Elements(images, {'duration': this.options.duration, 'link': 'cancel', 'onStart': this._start.bind(this), 'onComplete': this._complete.bind(this), 'transition': this.options.transition })); this.image.set('styles', {'left': 'auto', 'right': 'auto' }).setStyle(this.direction, this.width); var values = {'0': {}, '1': {} }; values['0'][this.direction] = [this.width, 0]; values['1'][this.direction] = [0, -this.width]; if (images[1].getStyle(this.direction) == 'auto'){ var width = this.width - (images[1].width ? images[1].width : 0); // [Levente Hunyadi] Guard against NaN values in width images[1].set('styles', {'left': 'auto', 'right': 'auto' }).setStyle(this.direction, width); values['1'][this.direction] = [width, -this.width]; } if (fast){ for (var prop in values) values[prop][this.direction] = values[prop][this.direction][1]; this.image.retrieve('fx').cancel().set(values); } else this.image.retrieve('fx').start(values); } });Private