As demonstrated in prior examples, hotspots can include click-links that open a URL in a browser window. As a powerful alternative, these click-links can call JavaScript functions in the hotspots.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 hotspot to accomplish anything possible with JavaScript and anything supported by the many powerful functions of the Zoomify JavaScript API. Click the hotspots above to see the effect each demonstrates, and view the hotspots.xml file and the source of this example web page to see how easy it is to implement these effects.