In this way, when a link opens a document in another window, that
window is also raised.
<title>???</script></title>
</head>
<script>
- document.write('<frameset rows="18%,*" border="0" scrolling="no">');
+ document.write('<frameset onLoad="window.focus()" rows="18%,*" border="0" scrolling="no">');
document.write('<frame src="control.html?url=' + getParam('url') +'"/>');
document.write('<frame src="' + unescape(getParam('url')) + '" + name="result"/>');
/*
<title>???</script></title>
</head>
<script>
- document.write('<frameset rows="18%,*" border="0" scrolling="no">');
+ document.write('<frameset onLoad="window.focus()" rows="18%,*" border="0" scrolling="no">');
document.write('<frame src="control.html?url=' + getParam('url') +'"/>');
document.write('<frame src="' + unescape(getParam('url')) + '" + name="result"/>');
document.write('</frameset>');
<subst:script language="JavaScript" src="/javascript/control.js"/>
<title>Metadata of <xsl:value-of select="$CICURI"/></title>
</head>
- <body bgColor="white">
+ <body onLoad="window.focus()" bgColor="white">
<h1>Metadata of <xsl:value-of select="$CICURI"/></h1>
<xsl:apply-templates select="*"/>
</body>