NeptuneLabs FSI Viewer JS User Manual page 109

Table of Contents

Advertisement

4 FSI QuickZoom
Example:
function setQuickZoomPos(oModify,oInfo){
oModify.left
// relative to the left of the image's clientRect
oModify.top
// relative to the top of the image's clientRect
oModify.width
oModify.height = 200;
oModify.srcZoomImage += "&effects=Sepia()";
// oInfo contains various information you can read
// modifying oInfo does not change anything
// e.g.
// oInfo.elementPosition
(clientPosition of the original
image tag)
// oInfo.imgPaddings
}
109
= 0;
= 0;
= 200;
(margin and border of the image)
NeptuneLabs - FSI Viewer

Advertisement

Table of Contents
loading

Table of Contents