ANNOTATION CLICK-FUNCTIONS EXAMPLE


Annotations extend hotspot functionality - as demonstrated in prior examples. They support all the features of hotspots, including click-links that open a URL in a browser window - or - click-links that call JavaScript functions. These functions can be in the annotations.xml file or the web page or the Viewer. The functions can show an alert, change the current view, display a different image, or create a custom display in the web page.

This feature enables web designers and developers to extend the click of a label to accomplish anything possible with JavaScript and anything supported by the many powerful functions of the Zoomify JavaScript API. Click the labels above to see the effect each demonstrates, and view the annotations.xml file and the source of this example web page to see how easy it is to implement these effects.