From Skyway Wiki
Toggle CSS Classes
Applies CSS classes to HTML elements. If a class is already applied to an element, it is removed.
Attributes
| elements
| a comma separated list of HTML elements to change
|
| classes
| a comma separated list of CSS classes defined in a STYLE block
|
Example(s)
<html>
<head>
<style>
.red {background-color:red}
.coolborder {border:1px solid black}
</style>
</head>
<body>
<div id='layer1'>layer1</div>
<div id='layer2'>layer2</div>
<skyway:button label="Toggle CSS" type="button" id="button1">
<skyway:event event="onclick">
<skyway:togglecss elements="layer1,layer2" classes="red,coolborder"/>
</skyway:event>
</skyway:button>
Move Element
Moves an HTML element.
Attributes
| element
| the HTML element to move
|
| useeventposition
| if true, move the element to the coordinates of the event
|
| relativeto
|
|
| x
|
|
| y
|
|
Example(s)