Open all iShare links in a new window

By default, when you click on a link in iShare, the page opens in the current window. If you wish all links to open in a new window then you will need to take the following steps.

Step-by-step guide

  1. Find atGeoJSON_BBOXDatatable.xsl (from iShare 5.4 onwards) or atGeoJSON_Datatable.xsl (prior to version 5.4) which you will find in ...\iShare\n.n\WebApps\WebService\xml folder and make a backup copy before you make any changes.
  2. Make sure that you have permission to update this file so you can save the changes.
  3. Open in the file in a Text Editor and search for "_top" - there should only be one occurrence.
  4. Replace _top with _blank and save the file. 
<xsl:if test="position()=1">&lt;strong&gt;</xsl:if>&lt;a title="Click here to go to the related web page" target="_top" href="<xsl:value-of select="substring-before($str,'|')" />"&gt;<xsl:value-of select="substring-after($str,'|')" />&lt;/a&gt;<xsl:if test="position()=1">&lt;/strong&gt;</xsl:if>

This change will be overwritten when you next upgrade iShare so you will need to remember to re-do the change after an upgrade.