[jsword-svn] r1475 - trunk/bibledesktop-web/src/web
dmsmith at www.crosswire.org
dmsmith at www.crosswire.org
Thu Jul 5 18:00:01 MST 2007
Author: dmsmith
Date: 2007-07-05 17:59:59 -0700 (Thu, 05 Jul 2007)
New Revision: 1475
Modified:
trunk/bibledesktop-web/src/web/template.xsl
Log:
fixed a javascript IE bug.
Modified: trunk/bibledesktop-web/src/web/template.xsl
===================================================================
--- trunk/bibledesktop-web/src/web/template.xsl 2007-07-04 23:27:59 UTC (rev 1474)
+++ trunk/bibledesktop-web/src/web/template.xsl 2007-07-06 00:59:59 UTC (rev 1475)
@@ -37,7 +37,9 @@
{
var div = document.createElement("div");
parent.appendChild(div);
- div.setAttribute("class", "lsidecell current");
+ // IE and W3C differ on the attribute name.
+ //div.setAttribute("class", "lsidecell current");
+ div.className = "lsidecell current";
div.appendChild(document.createTextNode(title));
}
else
@@ -45,7 +47,9 @@
var div = document.createElement("div");
var a = document.createElement("a");
parent.appendChild(div);
- div.setAttribute("class", "lsidecell pagelink");
+ // IE and W3C differ on the attribute name.
+ //div.setAttribute("class", "lsidecell pagelink");
+ div.className = "lsidecell pagelink";
div.appendChild(a);
a.setAttribute("href", dest);
a.appendChild(document.createTextNode(title));
More information about the jsword-svn
mailing list