JAVA Tech nologies Co. Ltd. Marine Radio VERSION 3.0 Instrukcja Użytkownika Strona 80

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 88
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 79
80
8080
80
Timeout/User Idle Control
setTimeout(seconds)
E.g. var ready = ViewONE.setTimeout(30);
This method sets and starts a usage timer. If the user does not use the applet for the
number of seconds specified then the applet will automatically be disabled. It can be re-
enabled by calling one of the timeout JavaScript methods (see below), opening a
document using one of the JavaScript open methods, by revisiting the page containing the
applet (Netscape) or reloading the page (Internet Explorer).
Security note: This method is disabled by default unless the
“JavascriptExtensions” parameter is set to “true”.
getTimeout()
E.g. var seconds = ViewONE.getTimeout();
This method returns the timeout value (integer seconds) set using either the setTimeout()
method or the HTML tag “timeout”.
stopTimeout()
E.g. ViewONE.stopTimeout();
This method will disable the timer set using either the setTimeout() method or the HTML
tag “timeout” and if the applet had timed-out then it will wake-up (i.e. be re-enabled).
Security note: This method is disabled by default unless the
“JavascriptExtensions” parameter is set to “true”.
isTimedOut()
E.g. var timedout = ViewONE.isTimedOut();
This method returns a value of true if the applet has timed-out as a result of the user not
using the applet for the time specified by the setTimeout() method or the HTML tag
“timeout”. It otherwise returns false.
Method:
Method:
Method:
Method:
Przeglądanie stron 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 86 87 88

Komentarze do niniejszej Instrukcji

Brak uwag