Someone else will have to look at it..
I'm working on widgets at the moment..
:-)
I was just surprised to find that this function had been added, and enabled
by default,
without anyone being told about it.
(BTW: what else do you guys want? how about a Popup/menu widget with a
simple interface?)
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 4:42 PM
Subject: Re: [Dynapi-Dev] errorHandler
> 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> </DIV>
> > <DIV><FONT face=Arial size=2> errorHandler : function (msg, url,
lno)
> > {<BR> if (is.ie)
> > {<BR> lno-=1<BR> alert("DynAPI
reported an
> > error\n\nError in project: '" + url + "'.\nLine number: " + lno +
".\n\nMessage:
> > " + msg)<BR> } else if (is.ns4)
{<BR> alert("DynAPI
> > reported an error\n\nError in file: '" + url + "'.\nLine number: " + lno
+
> > ".\n\nMessage: " + msg)<BR> } else return
> > false<BR> return
> > true<BR> },</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT> </DIV>
> > <DIV><FONT face=Arial size=2></FONT> </DIV>
> > <DIV><FONT face=Arial size=2>And why didn't anyone mention
it?</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT> </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> </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> </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
---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev