Actions  -

The “Delay” Action is a deceptively powerful function in NetObjects Fusion’s DHTML Action set - it can trigger other Actions or events on your web page after a set interval of time (measured in seconds) passes.

A “Delay” Action will send a Custom Message to a targeted object (or Layout Area) after a set interval of time passes from the trigger event.
plainbutton

In the Sample to the right, if you click on the button conveniently marked “Click Me”, a small version of the NetObjects Workbench logo will appear below it after 5 seconds.

You can make the logo go away again by clicking on it.

Here´s how I did it:

  1. an Action to the small logo (named “smalllogo”) according to the following recipe:

    When -> Custom -> Edit -> ShowMe
    (this creates a message named ShowMe)
    Target -> smallogo
    Message -> Object -> Show

    ... which sets the “smalllogo” image up to be shown when it receives the “ShowMe” message
  2. Create an Action for the “Click Me” image according to the following recipe:

    When -> Mouse -> Clicked
    Target -> (samplelayout)
    (this is the name of the Layout Area with “sample” as a background)
    Message -> Object -> Delay
    Parameter(s) -> Values...

    Values:
    Custom Message -> ShowMe
    Delay -> 5
    Loop -> False

    ... and click on the “Cascade Message” checkbox. This will send the Custom Message “ShowMe” to the  “samplelayout” area 5 seconds after the “Click Me” button is clicked.

Note:  All Actions described in this section have been tested with Fusion 3.x, 4.x, 5.x and MX.
           Actions will not currently work properly when viewed with Netscape 6.0

Go Back to Previous Page

Have a question that you can´t find the answer to? Want to report a possible bug?

Send a help request to NetObjects Technical Support