root / trunk / web / dojo / dijit / form / VerticalRuleLabels.js @ 9
History | View | Annotate | Download (845 Bytes)
1 |
/*
|
---|---|
2 |
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
3 |
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
4 |
see: http://dojotoolkit.org/license for details
|
5 |
*/
|
6 |
|
7 |
|
8 |
if(!dojo._hasResource["dijit.form.VerticalRuleLabels"]){ |
9 |
dojo._hasResource["dijit.form.VerticalRuleLabels"]=true; |
10 |
dojo.provide("dijit.form.VerticalRuleLabels");
|
11 |
dojo.require("dijit.form.HorizontalRuleLabels");
|
12 |
dojo.declare("dijit.form.VerticalRuleLabels",dijit.form.HorizontalRuleLabels,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(_1){ |
13 |
return 100-_1; |
14 |
},_isHorizontal:false}); |
15 |
} |