ASP.NET Image Zoom Documentation - Client-side Methods

<%@ Register TagPrefix="obout" Namespace="OboutInc.ImageZoom" Assembly="obout_ImageZoom_NET" %>

Methods

Name Description
methodzoomIn Start loading big image and perform zooming in.

imageZoom.zoomIn();
 
methodzoomOut Close the zooming panel.

imageZoom.zoomOut();
 
methodgetStatus Get the status of imagezoom. The available value are "loading"|"opening"|opened"|"closing"|"closed".

alert(imageZoom.getStatus());
 
methodregisterEvent Register client-side event handles

Allowed events are:
"OnBeforeZoomIn"
"OnZoomIn"
"OnBeforeZoomOut"
"OnZoomOut"
"OnBeforeImageClick"
"OnImageClick"
"OnBeforeBigImageClick"
"OnBigImageClick"
"OnBeforeBackgroundClick"
"OnBackgroundClick"
"OnBeforeCloseButtonClick"
"OnCloseButtonClick"

imageZoom.registerEvent("OnZoomIn",function(sender,arg){
    alert("ZoomIn");
});