ViewONE JavaScript Overview
The ViewONE Javascript API offers an alternative mechanism to configure and control the ViewONE applet.
In many cases the use of the Javascript API will not be required simply because most configuration parameters can be implemented using simple HTML (see ViewONE HTML manual).
However, where a more dynamic operation is required, for example, where it is desired to configuration parameters during the operation of ViewONE, perhaps to change a document without reloading a web page, rotate a page, invert etc then the JavaScript API is ideal.
Additionally, traditional web viewing applications habitually reload a web page in order to view or change the currently viewed image/document.
But with ViewONE’s extensive Image/Document open/close JavaScript API methods it is possible to avoid web page refreshing entirely. This can result in significant performance improvements since all delays due to web page rehfreshing (and therefore Java Engine reloading and applet restarting) are avoided.
Daeja has produced white paper specifically addressing performance tuning which covers the area of web page refreshing and applet reloading. Please visit Daeja’s web site to download white papers www.daeja.com.
Browser Note:
Please note, some browsers are case sensitive and so we advise the use of method names in exactly the same case as specified in this manual. Failure to adhere to this may result in methods not being called correctly.
15