Raster.setSibling( element, sibling [, after] )
Removes an element from its current location in the DOM tree and inserts
it before or after a given sibling element.
Parameters
Name |
Type |
|
Description |
element |
object |
|
DOM element to be relocated. This argument can be one of the
following: a string containing the ID of a DOM
element, a reference to a DOM element, or a Control
object. An error will occur if this argument is null . |
sibling |
object |
|
The new sibling for the relocated element. This argument can
be one of the following: a string containing the ID of a DOM
element, a reference to a DOM element, or a Control
object. An error will occur if this argument is null . |
after |
boolean |
optional |
true moves the element after the
given sibling; false inserts this element before the
given sibling (default). |