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


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.


  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:

    var Win1=open(...

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

    For ArcIMS 3.0:

    window.parent.location = inData;

    For ArcIMS 3.1 and above:

    window.parent.location = theLinkURL;

  5. Save the file.