| Layer Methods | |
|
insertCoverLayer (z-index,width,height) |
Creates and inserts a transparent layer into a layer. It can be accessed by the coverLayer property of the layer.
z-index sets z-index value of the cover layer(default is 0). |
|
moveToFront(integer) |
Sets a layer's z-index property higher then any other layer. The parameter can be used to set the number of z-index slots between the layer and the layer beneath it. Returns the calling layer. |
|
swapPosition(layerRef) |
Exchanges position with the layer specified in the parameter. Returns the calling layer. |
| setDrag(cancel) |
Makes a layer dragable. |
|
moveNextTo(layerRef,"edge",offsetX,offsetY)
Positions a layer next to another layer.
layerRef is the layer to be moved next to (the layer's previousLayer is the default). | |
| allLayers & cssLayers Array Methods | |
|
runBatch("method","include substring","exclude substring",delay,"next function")
This function allows a method to be executed for multiple layers in an array.
method is the method to be executed for each layer. | |