JAVA Tech VERSION 3.0 Marine Radio User Manual


 
81
8181
81
getTimeLeft()
E.g. var timeleft = ViewONE.getTimeLeft();
This method returns the time in seconds left before the applet times-out. but only if the
setTimeout() method or HTML tag “timeout” has been used to set the time in the first
place. It otherwise returns 0. The time left is automatically reset each time the user
performs any action, such as scrolling, changing pages, zooming etc.
wakeUp()
E.g. ViewONE.wakeUp();
This method will wake-up the applet if it has timed out (see setTimeout()). The user will
then be able to use the applet as normal.
Security note: This method is disabled by default unless the
“JavascriptExtensions” parameter is set to “true”.
Method:
Method: