forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/krysalis-site/scripts breadcrumbs.js
Date Sun, 27 Apr 2003 09:03:39 GMT
jefft       2003/04/27 02:03:39

  Modified:    .        status.xml
               src/resources/skins/forrest-site/scripts breadcrumbs.js
               src/resources/skins/krysalis-site/scripts breadcrumbs.js
  Log:
  o Fix breadcrumbs in IE 5.  Thanks to Stefan Bodewig
  o Don't capitalize first letters of breadcrumb links
  
  Revision  Changes    Path
  1.150     +5 -0      xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.149
  retrieving revision 1.150
  diff -u -r1.149 -r1.150
  --- status.xml	27 Apr 2003 08:39:37 -0000	1.149
  +++ status.xml	27 Apr 2003 09:03:39 -0000	1.150
  @@ -24,6 +24,11 @@
   
     <changes>
       <release version="0.5-dev" date="unreleased">
  +      <action dev="JT" type="fix" context="skins" due-to="Stefan Bodewig"
  +        due-to-email="bodewig@apache.org">
  +        Get breadcrumbs working in Mac IE 5, and don't capitalize the first
  +        letter of each link in the forrest-site skin.
  +      </action>
         <action dev="JT" type="fix" context="core">
           Fixed bug where absolute paths to images were created in the
           <code>build/site</code> directory.
  
  
  
  1.4       +13 -3     xml-forrest/src/resources/skins/forrest-site/scripts/breadcrumbs.js
  
  Index: breadcrumbs.js
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/scripts/breadcrumbs.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- breadcrumbs.js	4 Nov 2002 10:53:53 -0000	1.3
  +++ breadcrumbs.js	27 Apr 2003 09:03:39 -0000	1.4
  @@ -62,6 +62,16 @@
    *@version    1.0
    */
   
  +/**
  + * IE 5 on Mac doesn't know Array.push.
  + *
  + * Implement it - courtesy to fritz.
  + */
  +var abc	= new Array();
  +if (!abc.push) {
  +  Array.prototype.push	= function(what){this[this.length]=what}
  +}
  +
   /* ========================================================================
   	CONSTANTS
      ======================================================================== */
  @@ -132,9 +142,9 @@
    * string.
    */
   function sentenceCase( string )
  -{
  -	var lower = string.toLowerCase();
  -	return lower.substr(0,1).toUpperCase() + lower.substr(1);
  +{        return string;
  +	//var lower = string.toLowerCase();
  +	//return lower.substr(0,1).toUpperCase() + lower.substr(1);
   }
   
   /**
  
  
  
  1.2       +10 -0     xml-forrest/src/resources/skins/krysalis-site/scripts/breadcrumbs.js
  
  Index: breadcrumbs.js
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/scripts/breadcrumbs.js,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- breadcrumbs.js	7 Dec 2002 16:26:34 -0000	1.1
  +++ breadcrumbs.js	27 Apr 2003 09:03:39 -0000	1.2
  @@ -62,6 +62,16 @@
    *@version    1.0
    */
   
  +/**
  + * IE 5 on Mac doesn't know Array.push.
  + *
  + * Implement it - courtesy to fritz.
  + */
  +var abc	= new Array();
  +if (!abc.push) {
  +  Array.prototype.push	= function(what){this[this.length]=what}
  +}
  +
   /* ========================================================================
   	CONSTANTS
      ======================================================================== */
  
  
  

Mime
View raw message