NeptuneLabs FSI Viewer JS User Manual page 180

Table of Contents

Advertisement

7 FSI Pages JS
onPageSizeChanged(nWidth, nHeight);
This optional callback function can be used to call an action
as soon as the page size is changed.
onPageZoomed(nPage);
This optional callback function can be used to call an action
as soon as the page size is zoomed.
onPrintPage(arPageIndices, arImageURLs);
This optional callback function can be used to call an action
as soon as the pages are printed.
onPageToolTip(nLinkAreaIndex, strURL,
strTipContent);
This optional callback function returns a string that is useful if
you want to modify the tool tip content.
onOpenPageLink(nLinkAreaIndex, strURL,
strTarget);
This optional callback function can be used to call an action if
links are clicked. Return "false" to prevent opening the link.,
return {strURL:"foo", strTarget: "bar"} to modifiy
the URL or the target (both are optional)
onResize(nWidth, nHeight, bResizeDone,
BFullScreen);
Called when the fsi-pages element is resized.
NeptuneLabs - FSI Viewer
180

Advertisement

Table of Contents
loading

Table of Contents