English

How To: Change the choices on the right-click menu of the Java Custom Viewer's legend

Summary

You can add to or remove the two choices on the right-click menu of the Java Custom Viewer’s legend.

Procedure

When the Java Custom Viewer is created by ArcIMS Designer, two choices are on the legend’s right-click menu, Zoom to Active Layer and Use In Overview Map. You can disable these choices or enable other choices by editing the web site’s default.js file.

Open the web site’s default.js file in a text editor and uncomment the following line in the function init

Code:
setupTOCPopupMenuItems();

Then you can uncomment the disable or enable lines in the setupTOCPopupMenuItems function.