setTimeout method

Sets and starts a usage timer.

Syntax

ViewONE.setTimeout(int seconds)

If the user does not use the applet for the specified number of seconds, the applet is automatically disabled.

The applet can be re-enabled in the following ways:
  • By calling one of the timeout JavaScript methods
  • By calling a JavaScript open method to open a document
  • By revisiting the page that contains the applet in Netscape
  • By reloading the page in internet Explorer
Security note: This method is disabled by default unless the JavaScriptExtensions parameter is set to true.

Requirements

  • IBM® Daeja™ ViewONE Standard, any version
  • IBM Daeja ViewONE Professional, any version
  • No additional modules

Example

ViewONE.setTimeout(30);