HOW TO

Make a hyperlinked document replace the ArcIMS HTML viewer in the main browser window

Last Published: April 25, 2020

Summary

When the HTML viewer's hyperlink functionality is enabled, linked documents appear in new windows. It may be useful to have linked documents display in the main browser window, completely replacing the HTML viewer.

Procedure



  1. Open the aimsIdentify.js file for the Web site in a text editor, such as WordPad. This file is in the Web site's Javascript folder.
  2. Locate the parseHyperLink function within the aimsIdentify.js file.
  3. Comment out the line of code in the pareHyperLink function that begins with:

    Code:
    var Win1=open(...

  4. On the line following the code commented out, add the following line of code:

    For ArcIMS 3.0:

    Code:
    window.parent.location = inData;

    For ArcIMS 3.1 and above:

    Code:
    window.parent.location = theLinkURL;

  5. Save the file.

Article ID:000003813

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