DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/app/webroot/news/tmp/install_531c697551ee5/js/ext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/app/webroot/news/tmp/install_531c697551ee5/js/ext/slideshow.flash.js
/**
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);
			}
		}
	});
})();

Anon7 - 2022
AnonSec Team