Differences
Darin Kadrioski 05/22/2006
Basic Manipulations
- Line .:
- Line 7:
This is not meant to be an exhaustive list of methods available to Elms, but is intended
- Line .:
- Line 8:
merely to get you aquainted with some of the basics. For a full list, see the
- Line .:
- Line 9:
documentation on <SA_SP699>. <!-- domapi.Elm -->
- Line .:
- Line 11:
<h5>setX( value )</h5>
- Line .:
- Line 13:
Use this method to set the 'left' attribute of the Elm, relative to its parent element. <b>Note</b> that this
- Line .:
- Line 14:
and all other methods related to Elms automatically take into account all browser and DTD
- Line .:
- Line 15:
variations. In other words, they are already aware of any 'boxing' problems related to
- Line .:
- Line 16:
margins, paddings and borders, and will always faithfully produce whatever you ask of them,
- Line .:
- Line 17:
regardless of browser quirks.
- Line .:
- Line 19:
<h5>setY( value )</h5>
- Line .:
- Line 21:
Used to set the 'top' attribute of the Elm, relative to its parent.
- Line .:
- Line 23:
<h5>setSize( x-value, y-value )</h5>
- Line .:
- Line 25:
If you needed to set both the top and left at the same time, then calling setSize can save you some overhead.