Oh I see. Charles, instead of using the sniff (in the init function) try the conditional compile statements I have in mine:
Code:
function init(tId)
{
/*@cc_on
@if (@_mac && @_jscript_version < 5.6) // Mac IE5
return null;
@end @*/
var tbl = xGetElementById(tId);
var h = xFirstChild(tbl, 'thead');
var t = document.createElement('table');
t.appendChild(h.cloneNode(true));
var d = document.createElement('div');
d.id = tId + 'thead';
d.style.position = 'absolute';
d.style.visibility = 'hidden';
d.appendChild(t);
document.body.appendChild(d);
//xParent(tbl).appendChild(d);
xMoveTo(d, 0, -100); // this fixed (hides) a rendering problem in IE6
}
Bookmarks