diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-08-26 23:30:22 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-08-26 23:30:22 +0200 |
commit | 1edbca46b0aef5d6bc9ca2d8c28dd32a7e7e9cf5 (patch) | |
tree | 20be87efcda4501b17fca9056628aa92985445d7 /module/web/themes/default/js/tinytab.min.static.js | |
parent | Version number: 0.4.10 (diff) | |
download | pyload-1edbca46b0aef5d6bc9ca2d8c28dd32a7e7e9cf5.tar.xz |
Diffstat (limited to 'module/web/themes/default/js/tinytab.min.static.js')
-rw-r--r-- | module/web/themes/default/js/tinytab.min.static.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/web/themes/default/js/tinytab.min.static.js b/module/web/themes/default/js/tinytab.min.static.js new file mode 100644 index 000000000..2f4fa0436 --- /dev/null +++ b/module/web/themes/default/js/tinytab.min.static.js @@ -0,0 +1 @@ +!function(){this.TinyTab=new Class({Implements:Events,initialize:function(s,t,e){this.tabs=s,this.contents=t,e||(e={}),this.css=e.selectedClass||"selected",this.select(this.tabs[0]),s.each(function(s){s.addEvent("click",function(t){this.select(s),t.stop()}.bind(this))}.bind(this))},select:function(s){this.tabs.removeClass(this.css),s.addClass(this.css),this.contents.setStyle("display","none");var t=this.contents[this.tabs.indexOf(s)];t.setStyle("display","block"),this.fireEvent("change",[t,s])}})}(document.id);
\ No newline at end of file |