try this:

 errorHandler : function (msg, url, lno) {
  if (is.ie) {
   alert("DynAPI reported an error\n\nError in project: '" + event.errorUrl + 
"'.\nLine number: " + event.errorLine + ".\n\nMessage: " + event.errorMessage)
  } else if (is.ns4) {
   alert("DynAPI reported an error\n\nError in file: '" + url + "'.\nLine number: " + 
lno + ".\n\nMessage: " + msg)
  } else return false
         return true
 },

I din't test it but it should work

ciao
Y

> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="MSHTML 5.50.4611.1300" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>who the heck made this default?</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>&nbsp;errorHandler : function (msg, url, lno) 
> {<BR>&nbsp;&nbsp;if (is.ie) 
> {<BR>&nbsp;&nbsp;&nbsp;lno-=1<BR>&nbsp;&nbsp;&nbsp;alert("DynAPI reported an 
> error\n\nError in project: '" + url + "'.\nLine number: " + lno + ".\n\nMessage: 
> " + msg)<BR>&nbsp;&nbsp;} else if (is.ns4) {<BR>&nbsp;&nbsp;&nbsp;alert("DynAPI 
> reported an error\n\nError in file: '" + url + "'.\nLine number: " + lno + 
> ".\n\nMessage: " + msg)<BR>&nbsp;&nbsp;} else return 
> false<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;return 
> true<BR>&nbsp;},</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>And why didn't anyone mention it?</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Here I am, looking at a blank Browser (IE) and 
> wondering why my page wasn't rendering, and why no error where being 
> generated.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>BTW: it DON'T work in IE5.5</FONT></DIV>
> <DIV><FONT face=Arial size=2>The error gets lost, as if it never 
> happened.</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><BR>---<BR>Outgoing mail is certified Virus Free by 
> AVG Free Edition<BR>Download at: <A 
> 
>href="http://www.grisoft.com/html/us_index.cfm">http://www.grisoft.com/html/us_index.cfm</A><BR>Checked
> 
> by AVG anti-virus system (<A 
> href="http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: 6.0.231 / 
> Virus Database: 112 - Release Date: 2/12/01</FONT></DIV></BODY></HTML>



_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to