12 Plug-in Reference
385
NeptuneLabs - FSI Viewer
12.7 CustomButton
Plug-in Extends:
• FSI Viewer
• FSI Showcase
Custom Button 1
Custom Button 2
x
Plug-in Location:
/plugins/custombutton.swf
Function
:
Adds custom buttons to the FSI Viewer menu
bar
Syntax:
<Plugin src="CustomButton" buttons="btn1,btn2" />
The "CustomButton" plug-in can be used to integrate one or more custom buttons
into the menu bar of FSI viewer. Clicking a button invokes the URL specified in the
plug-in parameter. This way you can integrate buttons performing a JavaScript call
or opening up a web page.
Plug-in Parameters
MenuOffset
Description
Offset in pixel to previous menu elements
Syntax
Number in pixel
Default
0
Context
Plug-in tag
Defines an offset of all custom buttons in pixels to elements of the menu bar.
Buttons
Description
Comma separated list of unique identifiers
Syntax
String
Default
—
Context
Plug-in tag