Thanks Cr3, I'll assume that it is, if so, here is the solution:
With that doctype:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
the UpdateIt script must be rewritten as 'document.body' no longer works as expected. This UpdateIt script now works in IE with or without that doctype and possibly with other doctypes but, I can't say as much for the rest of the menu. Here is the new UpdateIt script:
Code:
<script type="text/javascript">
function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = iecompattest().scrollTop+"px";
setTimeout("UpdateIt()", 200);
}
UpdateIt();
</script>
Use it to replace this:
Code:
<script language="JavaScript">
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = document.body.scrollTop;
setTimeout("UpdateIt()", 200);
}
UpdateIt();
</script>
and all will be right with the world.
Bookmarks