HOW TO

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

Last Published: April 25, 2020

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.

Article ID:000002207

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic