Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 52354 invoked by uid 500); 27 Apr 2003 09:03:40 -0000 Mailing-List: contact forrest-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-cvs@xml.apache.org Received: (qmail 52342 invoked from network); 27 Apr 2003 09:03:40 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 27 Apr 2003 09:03:40 -0000 Received: (qmail 64688 invoked by uid 1352); 27 Apr 2003 09:03:39 -0000 Date: 27 Apr 2003 09:03:39 -0000 Message-ID: <20030427090339.64687.qmail@icarus.apache.org> From: jefft@apache.org To: xml-forrest-cvs@apache.org Subject: cvs commit: xml-forrest/src/resources/skins/krysalis-site/scripts breadcrumbs.js X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 @@ + + Get breadcrumbs working in Mac IE 5, and don't capitalize the first + letter of each link in the forrest-site skin. + Fixed bug where absolute paths to images were created in the build/site 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 ======================================================================== */