[Yanel-commits] rev 25503 - public/yanel/trunk/src/webapp/htdocs/yanel-js

simon at wyona.com simon at wyona.com
Tue Jun 26 17:40:12 CEST 2007


Author: simon
Date: 2007-06-26 17:40:12 +0200 (Tue, 26 Jun 2007)
New Revision: 25503

Modified:
   public/yanel/trunk/src/webapp/htdocs/yanel-js/sorttable.js
Log:
changed font face to span style font-family. font face didn't work in IE (strange)

Modified: public/yanel/trunk/src/webapp/htdocs/yanel-js/sorttable.js
===================================================================
--- public/yanel/trunk/src/webapp/htdocs/yanel-js/sorttable.js	2007-06-26 15:14:36 UTC (rev 25502)
+++ public/yanel/trunk/src/webapp/htdocs/yanel-js/sorttable.js	2007-06-26 15:40:12 UTC (rev 25503)
@@ -108,7 +108,7 @@
             this.removeChild(document.getElementById('sorttable_sortfwdind'));
             sortrevind = document.createElement('span');
             sortrevind.id = "sorttable_sortrevind";
-            sortrevind.innerHTML = stIsIE ? '&nbsp<font face="webdings">5</font>' : '&#160;&#x25B4;';
+            sortrevind.innerHTML = stIsIE ? '&nbsp<span style="font-family:webdings">5</span>' : '&#160;&#x25B4;';
             this.appendChild(sortrevind);
             return;
           }
@@ -121,7 +121,7 @@
             this.removeChild(document.getElementById('sorttable_sortrevind'));
             sortfwdind = document.createElement('span');
             sortfwdind.id = "sorttable_sortfwdind";
-            sortfwdind.innerHTML = stIsIE ? '&nbsp<font face="webdings">6</font>' : '&#160;&#x25BE;';
+            sortfwdind.innerHTML = stIsIE ? '&nbsp<span style="font-family:webdings">6</span>' : '&#160;&#x25BE;';
             this.appendChild(sortfwdind);
             return;
           }
@@ -142,7 +142,7 @@
           this.className += ' sorttable_sorted';
           sortfwdind = document.createElement('span');
           sortfwdind.id = "sorttable_sortfwdind";
-          sortfwdind.innerHTML = stIsIE ? '&nbsp<font face="webdings">6</font>' : '&#160;&#x25BE;';
+          sortfwdind.innerHTML = stIsIE ? '&nbsp<span style="font-family:webdings">6</span>' : '&#160;&#x25BE;';
           this.appendChild(sortfwdind);
 
 	        // build an array to sort. This is a Schwartzian transform thing,




More information about the Yanel-commits mailing list