]> matita.cs.unibo.it Git - helm.git/commitdiff
onLoad="window.focus()" added to every interface window
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 23 Aug 2001 13:06:10 +0000 (13:06 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 23 Aug 2001 13:06:10 +0000 (13:06 +0000)
In this way, when a link opens a document in another window, that
window is also raised.

helm/on-line/html/cic/index.html
helm/on-line/html/theory/index.html
helm/on-line/xslt/metadataLib.xsl

index c40fd06cb4007b5b383dd0f3a636c1761286554a..e115523d464a32cc5a54994dbb48a6324e5f42eb 100644 (file)
@@ -7,7 +7,7 @@
  <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"/>');
 /*
index a1f6e6c464f3685fe7e69ce453f64e976a5031d9..c2a2ef50463a0224fefeaee74b5e022b340a4690 100644 (file)
@@ -7,7 +7,7 @@
  <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>');
index e4c18b3cc378f439a05a4eff874d87bcf327c183..5b78e2b9eb35237e7e94257e3ed3b0bb87f0d2ef 100644 (file)
@@ -15,7 +15,7 @@
    <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>