openOnClick parameter

This parameter determines whether IBM® Daeja™ ViewONE redirects the browser to open the specified page when the user clicks the image area.

This parameter is similar to the hyperlink parameter. However, this parameter includes extra options.

The value of this parameter can be a web page, or any server-side script, object, or executable that generates the HTML for a web page.

If the hyperlinkDblClick parameter is set to true, the link is followed only after the user double-clicks the image. The default is a single-click operation.

If you include any of the following optional identifiers, then IBM Daeja ViewONE substitutes them as follows:
<f>
Replaced by the current page file name or URL as appropriate.
<fo>
Replaced by the current page file name only, not including path.
<x>
The "X" coordinate on the image, where the user clicked with the mouse.
<y>
The "Y" coordinate on the image, where the user clicked with the mouse.
<r>
The rotation of the image display, when the user clicked with the mouse.
<z>
The zoom factor of the image display, when the user clicked with the mouse.

Requirements

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

Example

<param name="openOnClick" value="http://myserver/myopenscript.cgi?file=<f>" />