arcticPigs release V1.0 helpefiles |
![]() |
Sets a function to be executed when any part of this group gets clicked
function onclick;
In JScript you can easily assign a function to the onclick property. The second assignment makes use of the 'new Function(...)' syntax. This will create a hidden function declaration containing only a single statement.
Example: | function StartLocationChange { // function body ..... } ... { hModel.groups("slider").onclick = StartLocationChange; hModel.groups("play").onclick = new Function("SetMode(mPlay)"); } |
See also:
Last Updated: 06/18/02 |