diff options
| author | 2015-02-16 10:46:28 +0100 | |
|---|---|---|
| committer | 2015-02-16 10:46:28 +0100 | |
| commit | ce1c2b6b05c08b669357947e61ae40efce7fc50f (patch) | |
| tree | 0b5f7996960cf35c4eface53a89eba18a37519b7 /pyload/webui/themes/Dark/js/static/tinytab.js | |
| parent | Fix filename case (diff) | |
| download | pyload-ce1c2b6b05c08b669357947e61ae40efce7fc50f.tar.xz | |
module temp
Diffstat (limited to 'pyload/webui/themes/Dark/js/static/tinytab.js')
| -rw-r--r-- | pyload/webui/themes/Dark/js/static/tinytab.js | 43 | 
1 files changed, 0 insertions, 43 deletions
| diff --git a/pyload/webui/themes/Dark/js/static/tinytab.js b/pyload/webui/themes/Dark/js/static/tinytab.js deleted file mode 100644 index de50279fc..000000000 --- a/pyload/webui/themes/Dark/js/static/tinytab.js +++ /dev/null @@ -1,43 +0,0 @@ -/* ---- -description: TinyTab - Tiny and simple tab handler for Mootools. - -license: MIT-style - -authors: -- Danillo César de O. Melo - -requires: -- core/1.2.4: '*' - -provides: TinyTab - -... -*/ -(function($) { -	this.TinyTab = new Class({ -		Implements: Events, -		initialize: function(tabs, contents, opt) { -			this.tabs = tabs; -			this.contents = contents; -			if(!opt) opt = {}; -			this.css = opt.selectedClass || 'selected';  -			this.select(this.tabs[0]); -			tabs.each(function(el){ -				el.addEvent('click',function(e){ -					this.select(el); -					e.stop(); -				}.bind(this)); -			}.bind(this)); -		}, - -		select: function(el) { -			this.tabs.removeClass(this.css); -			el.addClass(this.css); -			this.contents.setStyle('display','none'); -			var content = this.contents[this.tabs.indexOf(el)]; -			content.setStyle('display','block'); -			this.fireEvent('change',[content,el]); -		} -	}); -})(document.id);
\ No newline at end of file | 
