[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 ? ' <font face="webdings">5</font>' : ' ▴';
+ sortrevind.innerHTML = stIsIE ? ' <span style="font-family:webdings">5</span>' : ' ▴';
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 ? ' <font face="webdings">6</font>' : ' ▾';
+ sortfwdind.innerHTML = stIsIE ? ' <span style="font-family:webdings">6</span>' : ' ▾';
this.appendChild(sortfwdind);
return;
}
@@ -142,7 +142,7 @@
this.className += ' sorttable_sorted';
sortfwdind = document.createElement('span');
sortfwdind.id = "sorttable_sortfwdind";
- sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
+ sortfwdind.innerHTML = stIsIE ? ' <span style="font-family:webdings">6</span>' : ' ▾';
this.appendChild(sortfwdind);
// build an array to sort. This is a Schwartzian transform thing,
More information about the Yanel-commits
mailing list