NeptuneLabs FSI Viewer JS User Manual page 388

Table of Contents

Advertisement

GFX
x
You can add your own graphics to be used as a label for custom buttons. You will
need Adobe Flash™ editor to add custom icons.
Using Templates in URL parameters
Starting from FSI version 3.2.3 you can use templates when defining URLs for
custom buttons. These templates will be replaced by FSI Viewer when the user
clicks a custom button. This way you can retrieve parameters from FSI Viewer
dynamically and pass the values to a JavaScript function or a server side script.
Templates in CustomButton URLs
<Plugin src="custombutton" buttons="btn1"
btn1.URL="javascript:alert
$$cfg.FPXHeight$$'')" />
The example above outputs the size of the source image via JavaScript.
NeptuneLabs - FSI Viewer
ID
Example
1
Information
2
Close
3
Resize or Restore
4
Open Window
5
Print
("$$cfg.FPXWidth$$ 
12 Plug-in Reference
x
388

Advertisement

Table of Contents
loading

Table of Contents