goba            Mon May 20 10:40:37 2002 EDT

  Modified files:              
    /phpdoc/xsl htmlhelp.xsl.in 
  Log:
  Correcting JS problems with moving calls below the HTML tag used
  
  
Index: phpdoc/xsl/htmlhelp.xsl.in
diff -u phpdoc/xsl/htmlhelp.xsl.in:1.27 phpdoc/xsl/htmlhelp.xsl.in:1.28
--- phpdoc/xsl/htmlhelp.xsl.in:1.27     Mon May 20 08:27:52 2002
+++ phpdoc/xsl/htmlhelp.xsl.in  Mon May 20 10:40:21 2002
@@ -3,7 +3,7 @@
 
   HTML Help specific stylesheet
 
-  $Id: htmlhelp.xsl.in,v 1.27 2002/05/20 12:27:52 goba Exp $
+  $Id: htmlhelp.xsl.in,v 1.28 2002/05/20 14:40:21 goba Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -38,15 +38,13 @@
   <title>
     <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
   </title>
-
-  <script language="JavaScript1.2">function displayNotes(){_displayNotes();}</script>
   <script language="JavaScript1.2" src="_script.js"></script>
 
 </xsl:template>
 
 <!-- We need quite different body attributes than the defaults -->
 <xsl:template name="body.attributes">
-  <xsl:attribute name="onload">st_html=true; displayPage();</xsl:attribute>
+  <xsl:attribute name="onload">displayPage();</xsl:attribute>
   <xsl:attribute name="oncontextmenu">if(prefs_context_override){return 
false;}</xsl:attribute>
 </xsl:template>
 
@@ -68,6 +66,10 @@
   
   <a name="_user_notes"></a>
   <div id="unotes"></div>
+  <script language="JavaScript1.2">
+   function displayNotes() { _displayNotes(); }
+   loadNotes();
+  </script>
   
   <table width="100%" border="0" cellspacing="10" cellpadding="0" class="navigation">
     <tr align="left" valign="middle"> 


Reply via email to