JavaScript Reference

The JavaScript examples in this manual do not refer to their use in any particular context. The examples could be used within functions of a JavaScript program or directly as event handlers to buttons, hyper-links etc. Our web site illustrates such uses; alternatively refer to an appropriate JavaScript guide.

Filenames and hyperlink addresses are expressed using the Internet URL address format (Uniform Resource Locator), e.g. “http://mysite/myimage.tif”. If any part of the address before “myimage.tif” is not included then the applet will assume a base address that is the same as the applet location (the codebase).

With the exception of filenames and hyperlink addresses, all parameters are case insensitive.

Security note: Change since ViewONE 3.0.99 Standard and 1.0.99 Pro

Some Javascript methods are disabled by default and can only be enabled by setting the JavaScripExtensions HTML parameter set to true.

e.g. <PARAM NAME=“JavaScriptExtensions” VALUE=“true”>

This is to prevent unauthorized users from attempting to manipulate ViewONE through Javascript methods in order to obtain access to secure information/documents/annotations.

The methods that are restricted in this manner are clearly marked within this document.

16

Page 16
Image 16
JAVA Tech VERSION 3.0 manual JavaScript Reference