summaryrefslogtreecommitdiffstats
path: root/htdocs/scripts/combined.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/scripts/combined.js')
-rw-r--r--htdocs/scripts/combined.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/scripts/combined.js b/htdocs/scripts/combined.js
index 5657663..9285e69 100644
--- a/htdocs/scripts/combined.js
+++ b/htdocs/scripts/combined.js
@@ -25,7 +25,7 @@ MooTools More, <http://mootools.net/more>. Copyright (c) 2006-2009 Aaron Newton
MooTools.More={version:"1.2.5.1",build:"254884f2b83651bf95260eed5c6cceb838e22d8e"};Fx.Slide=new Class({Extends:Fx,options:{mode:"vertical",wrapper:false,hideOverflow:true,resetHeight:false},initialize:function(b,a){this.addEvent("complete",function(){this.open=(this.wrapper["offset"+this.layout.capitalize()]!=0);if(this.open&&this.options.resetHeight){this.wrapper.setStyle("height","")}if(this.open&&Browser.Engine.webkit419){this.element.dispose().inject(this.wrapper)}},true);this.element=this.subject=document.id(b);this.parent(a);var d=this.element.retrieve("wrapper");var c=this.element.getStyles("margin","position","overflow");if(this.options.hideOverflow){c=$extend(c,{overflow:"hidden"})}if(this.options.wrapper){d=document.id(this.options.wrapper).setStyles(c)}this.wrapper=d||new Element("div",{styles:c}).wraps(this.element);this.element.store("wrapper",this.wrapper).setStyle("margin",0);this.now=[];this.open=true},vertical:function(){this.margin="margin-top";this.layout="height";this.offset=this.element.offsetHeight},horizontal:function(){this.margin="margin-left";this.layout="width";this.offset=this.element.offsetWidth},set:function(a){this.element.setStyle(this.margin,a[0]);this.wrapper.setStyle(this.layout,a[1]);return this},compute:function(c,b,a){return[0,1].map(function(d){return Fx.compute(c[d],b[d],a)})},start:function(b,e){if(!this.check(b,e)){return this}this[e||this.options.mode]();var d=this.element.getStyle(this.margin).toInt();var c=this.wrapper.getStyle(this.layout).toInt();var a=[[d,c],[0,this.offset]];var g=[[d,c],[-this.offset,0]];var f;switch(b){case"in":f=a;break;case"out":f=g;break;case"toggle":f=(c==0)?a:g}return this.parent(f[0],f[1])},slideIn:function(a){return this.start("in",a)},slideOut:function(a){return this.start("out",a)},hide:function(a){this[a||this.options.mode]();this.open=false;return this.set([-this.offset,0])},show:function(a){this[a||this.options.mode]();this.open=true;return this.set([0,this.offset])},toggle:function(a){return this.start("toggle",a)}});Element.Properties.slide={set:function(b){var a=this.retrieve("slide");if(a){a.cancel()}return this.eliminate("slide").store("slide:options",$extend({link:"cancel"},b))},get:function(a){if(a||!this.retrieve("slide")){if(a||!this.retrieve("slide:options")){this.set("slide",a)}this.store("slide",new Fx.Slide(this,this.retrieve("slide:options")))}return this.retrieve("slide")}};Element.implement({slide:function(d,e){d=d||"toggle";var b=this.get("slide"),a;switch(d){case"hide":b.hide(e);break;case"show":b.show(e);break;case"toggle":var c=this.retrieve("slide:flag",b.open);b[c?"slideOut":"slideIn"](e);this.store("slide:flag",!c);a=true;break;default:b.start(d,e)}if(!a){this.eliminate("slide:flag")}return this}});/*!
JavaScript for the W3C Markup Validation Service.
- Copyright 2007-2012 W3C (MIT, INRIA, Keio). All Rights Reserved.
+ Copyright 2007-2013 W3C (MIT, INRIA, Keio). All Rights Reserved.
See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
*/
var W3C={start:function(){W3C.Legends=$$("legend.toggletext");W3C.LegendImage=$$(".toggleicon");W3C.Options=$$("div.options");W3C.TabSet=$("tabset_tabs");W3C.Tabs=W3C.TabSet.getElements("li");W3C.TabLinks=W3C.TabSet.getElements("a");W3C.Sections=$$("fieldset.tabset_content");W3C.Submits=$$("input[type=submit]");W3C.Forms=$$("form");W3C.Submits.each(function(e,a){var d=e.value;e.setStyle("display","none");var c=new Element("a",{"class":"submit",href:"#"});var b=new Element("span").set("text",d).inject(c);c.injectAfter(e).addEvent("click",function(f){new Event(f).stop();W3C.Forms[a].submit()})});W3C.SectionFx=[];W3C.OptionsFx=[];W3C.Options.each(function(b,a){W3C.OptionsFx[a]=new Fx.Slide(b,{wait:false,duration:180});W3C.OptionsFx[a].addEvent("onComplete",function(){if(this.element.getStyle("margin-top").toInt()==0){this.wrapper.setStyle("height","auto")}else{this.element.setStyle("display","none")}})});W3C.Legends.each(function(e,c){var a=W3C.Sections[c].id.replace(/-/g,"_");var b="+with_options";var d=W3C.Options[c];var f=e.getFirst();f.addEvent("click",function(g){d.setStyle("display","block");var h=(d.getStyle("margin-top").toInt()==0);W3C.setHash((h)?a:a+b);new Event(g).stop();W3C.refreshOptionLinks(!h,c)})});W3C.Tabs.each(function(a,b){var c=a.getFirst();c.href=c.original="#"+c.href.split("#")[1].replace(/-/g,"_");a.addEvent("click",function(){W3C.updateLocation();W3C.displaySection(b)})});W3C.updateLocation();W3C.refreshOptionLinks(W3C.WithOptions);W3C.Sections.each(function(c,b){var a=c.id.replace(/-/g,"_");W3C.SectionFx[b]=new Fx.Tween(c,{property:"opacity",link:"cancel",duration:220});c.setStyle("display","none");if(W3C.Location[0]&&a.contains(W3C.Location[0].replace(/-/g,"_"))){W3C.displaySection(b,true);W3C.Located=true}});if(!W3C.Located){W3C.displaySection(0,true)}if(window.ie){$$("legend").setStyle("margin-left","-0.4em")}},updateLocation:function(){W3C.Location=window.location.hash.replace("#","").split("+");W3C.WithOptions=(W3C.Location[1]&&W3C.Location[1].contains("with_options"))},refreshOptionLinks:function(b,a){if(!b){W3C.LegendImage.each(function(d,c){d.setProperties({src:"./images/arrow-closed.png",alt:"Show "});d.removeClass("toggled")});if($chk(a)){W3C.OptionsFx[a].slideOut()}W3C.Legends.removeClass("toggled")}else{W3C.LegendImage.each(function(d,c){d.setProperties({src:"./images/arrow-open.png",alt:"Hide "});d.addClass("toggled");if($chk(a)){W3C.OptionsFx[a].slideIn()}W3C.Legends.addClass("toggled");W3C.Legends.each(function(g,f){var h=g.getFirst();var e=h.getProperty("href").replace("+with_options","");h.setProperty("href",e)})})}W3C.TabLinks.each(function(c){c.href=(b)?c.original+"+with_options":c.original})},displaySection:function(b,a){W3C.Sections.each(function(d,c){var e=d.getStyle("display")=="block";if(c==b){if(e){return}W3C.Sections[c].setStyles({opacity:a?1:0,display:"block"});if(!a){W3C.SectionFx[c].start(1)}if(W3C.WithOptions){W3C.OptionsFx[c].show().fireEvent("onComplete")}else{W3C.OptionsFx[c].hide()}}else{if(!e){return}W3C.Sections[c].setStyles({display:"none",opacity:0})}});W3C.Tabs.each(function(d,c){if(c==b){d.addClass("selected")}else{d.removeClass("selected")}})},setHash:function(a){if(window.webkit419){W3C.FakeForm=W3C.FakeForm||new Element("form",{method:"get"}).injectInside(document.body);W3C.FakeForm.setProperty("action","#"+a).submit()}else{window.location.hash=a}}};window.addEvent("domready",W3C.start); \ No newline at end of file