I think mozilla would be happier if the eval calls were changed to
document.getElementById...
----- Original Message -----
From: "Dan" <[EMAIL PROTECTED]>
To: "'Kevin Berry'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, May 21, 2004 5:02 PM
Subject: RE: [Mono-list] C# Patterns Web Site
This function seems to be the culprit, but you'd think mozilla could handle
it, wouldn't you?
<script Language="JavaScript">
<!--
function ShowHide( ref )
{
var color;
if( ref == 'Structure' )
color = 'aa0000';
else
color = '007733';
if (eval(ref).style.display =='none')
{
eval('x' + ref).innerHTML = '<font face="Arial,helvetica" color=' +
color + ' size=2><b><u>Hide code</u></b></font>';
eval(ref).style.display ='';
}
else
{
eval('x' + ref).innerHTML = '<font face="Arial,helvetica" color=' +
color + ' size=2><b><u>Show code</u></b></font>';
eval(ref).style.display ='none';
}
}
//-->
</script>
-Dan
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list