dojo._setBox
<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js
sets width/height/left/top in the current (native) box-model dimentions. Uses the unit passed in u.
Usage
parameter | type | description |
---|---|---|
node | DomNode | DOM Node reference. Id string not supported for performance reasons. |
l | Number | Optional. optional. left offset from parent. |
t | Number | Optional. optional. top offset from parent. |
w | Number | Optional. optional. width in current box model. |
h | Number | Optional. optional. width in current box model. |
u | String | Optional. optional. unit measure to use for other measures. Defaults to "px". |