JAVA Tech JAVA Technologies Co. Ltd. Marine Radio VERSION 3.0 Manuel D’Utilisation

Page de 88
 
 
29
29
29
29
 
Document hyperlinks 
 
setHyperlink(url, dblClick) 
 
E.g. ViewONE.setHyperlink(“newpage.html”, false); 
or  
ViewONE.setHyperlink(“http://mysite/newpage.html”, false);   
Specifies a hyperlink that is activated when the user clicks on the image area. If the 
dblClick parameter is ‘true’ then the hyperlink is activated only after the user double-clicks 
on the image area, otherwise it requires only a single click.  
The hyperlink can specify either the filename relative to the code base or the full URL as 
illustrated. 
 
clearHyperlink() 
 
E.g. ViewONE.clearHyperlink();  
This method clears a hyperlink if one has previously been defined using the setHyperlink() 
method.
Method:
 
Method: