ScriptDoc Reference

Functions

GradualZoom.delayedZoom(Number n, Number x, Number y, Number time) : static 

Actual zoom function

NumbernZoom ratio
NumberxLeft coordinate of the mouse click
NumberyTop coordinate of the mouse click
NumbertimeTime Out before image zoom

GradualZoom.zoomIn(Event e) : static 

zoomIn is triggered when normal size imaged is clicked

EventeMouse event

GradualZoom.zoomOut(Event e) : static 

zoomOut is triggered when user clicks again

EventeMouse event

GradualZoom.init(Array image, Array frame) : static 

Initializes the GradualZoom object

Arrayimageids (<img id=''> attribute)
Arrayframeids (<div id='' class='frame'> attribute)