From: <ni...@pr...> - 2001-02-20 00:41:46
|
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> |
From: Pascal <pb...@oi...> - 2001-02-20 08:11:28
|
just another example to not work with CVS code :-) Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Doug Melvin Verzonden: dinsdag 20 februari 2001 4:13 Aan: dyn...@li... Onderwerp: [Dynapi-Dev] errorHandler who the heck made this default? errorHandler : function (msg, url, lno) { if (is.ie) { lno-=1 alert("DynAPI reported an error\n\nError in project: '" + url + "'.\nLine number: " + lno + ".\n\nMessage: " + msg) } 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 }, And why didn't anyone mention it? Here I am, looking at a blank Browser (IE) and wondering why my page wasn't rendering, and why no error where being generated. BTW: it DON'T work in IE5.5 The error gets lost, as if it never happened. --- 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 |
From: Raymond S. <dst...@or...> - 2001-02-20 09:14:43
|
I've been filtering thru and printing all non-duplicate threads so I can = break down the input from all effectively. I will probably produce a = rough dicussion-brief divided into two key areas with subsections: 1) DynAPI issues still requiring focus. 2) DynAPI3alpha discussion brief which will include everyones inputs on = "anything" topically related to the next-gen of this API. I will most likely distill the first draft as a PDF file that I hope = stays under the 40K limit, but eventually we are gonna need a more = colaborative environment probably located at the DynAPI homepage. = Thoughts on web-based colaboration tool options would be appreciated. = Might actually be something right here at Source Forge. =20 This tool should allow for draft inputs and notations to a more text = based document with supplemental drawings and diagrams (knew I had a = special purpose here), I don't think the standard CVS will serve in that = roll. Additionally, I think all thoses who would like to actively "be = involved" in this "Planning Stage" should raise their hands now and = express an interest, or throw a rock. I recommend we develop a = "start-team" of those interested to at least get us through the planning = stages and to a presentable draft that can then be shared with everyone = in a open forum. All of the above is of course subject to administrative change, I am = just trying to create a better environment for an open-source team = effort and I truely think having a "plan" is the best first step here. |
From: francesco A. <fa...@we...> - 2001-02-20 11:34:42
|
A suggestion, I think that dynapi should not based only on the user of the layer, but at the use of all the object of the DOM (in this case only beowser = that support DOM1+ ----- Original Message -----=20 From: Raymond Smith=20 To: dyn...@li...=20 Sent: Tuesday, February 20, 2001 10:13 AM Subject: [Dynapi-Dev] API3,alpha I've been filtering thru and printing all non-duplicate threads so I = can break down the input from all effectively. I will probably produce = a rough dicussion-brief divided into two key areas with subsections: 1) DynAPI issues still requiring focus. 2) DynAPI3alpha discussion brief which will include everyones inputs = on "anything" topically related to the next-gen of this API. I will most likely distill the first draft as a PDF file that I hope = stays under the 40K limit, but eventually we are gonna need a more = colaborative environment probably located at the DynAPI homepage. = Thoughts on web-based colaboration tool options would be appreciated. = Might actually be something right here at Source Forge. =20 This tool should allow for draft inputs and notations to a more text = based document with supplemental drawings and diagrams (knew I had a = special purpose here), I don't think the standard CVS will serve in that = roll. Additionally, I think all thoses who would like to actively "be = involved" in this "Planning Stage" should raise their hands now and = express an interest, or throw a rock. I recommend we develop a = "start-team" of those interested to at least get us through the planning = stages and to a presentable draft that can then be shared with everyone = in a open forum. All of the above is of course subject to administrative change, I am = just trying to create a better environment for an open-source team = effort and I truely think having a "plan" is the best first step here. |
From: Doug M. <do...@cr...> - 2001-02-20 18:58:26
|
If anyone want's to help me finish my messagelist widget, or if this can = wait a week, I will make a discussion board available at www.allthewhile.com. Messages are posted in real-time, and we would have real threads, which = makes it easiers to fallow any particular topic ----- Original Message -----=20 From: Raymond Smith=20 To: dyn...@li...=20 Sent: Tuesday, February 20, 2001 1:13 AM Subject: [Dynapi-Dev] API3,alpha I've been filtering thru and printing all non-duplicate threads so I = can break down the input from all effectively. I will probably produce = a rough dicussion-brief divided into two key areas with subsections: 1) DynAPI issues still requiring focus. 2) DynAPI3alpha discussion brief which will include everyones inputs = on "anything" topically related to the next-gen of this API. I will most likely distill the first draft as a PDF file that I hope = stays under the 40K limit, but eventually we are gonna need a more = colaborative environment probably located at the DynAPI homepage. = Thoughts on web-based colaboration tool options would be appreciated. = Might actually be something right here at Source Forge. =20 This tool should allow for draft inputs and notations to a more text = based document with supplemental drawings and diagrams (knew I had a = special purpose here), I don't think the standard CVS will serve in that = roll. Additionally, I think all thoses who would like to actively "be = involved" in this "Planning Stage" should raise their hands now and = express an interest, or throw a rock. I recommend we develop a = "start-team" of those interested to at least get us through the planning = stages and to a presentable draft that can then be shared with everyone = in a open forum. All of the above is of course subject to administrative change, I am = just trying to create a better environment for an open-source team = effort and I truely think having a "plan" is the best first step here. --- 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 |
From: Pascal B. <pa...@dy...> - 2001-02-20 19:15:06
|
uhm.. sourceforge has excellent forums.. but we closed them in favour of this mailing list. just butting in again Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Doug Melvin Verzonden: dinsdag 20 februari 2001 22:57 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Dev] API3,alpha If anyone want's to help me finish my messagelist widget, or if this can wait a week, I will make a discussion board available at www.allthewhile.com. Messages are posted in real-time, and we would have real threads, which makes it easiers to fallow any particular topic ----- Original Message ----- From: Raymond Smith To: dyn...@li... Sent: Tuesday, February 20, 2001 1:13 AM Subject: [Dynapi-Dev] API3,alpha I've been filtering thru and printing all non-duplicate threads so I can break down the input from all effectively. I will probably produce a rough dicussion-brief divided into two key areas with subsections: 1) DynAPI issues still requiring focus. 2) DynAPI3alpha discussion brief which will include everyones inputs on "anything" topically related to the next-gen of this API. I will most likely distill the first draft as a PDF file that I hope stays under the 40K limit, but eventually we are gonna need a more colaborative environment probably located at the DynAPI homepage. Thoughts on web-based colaboration tool options would be appreciated. Might actually be something right here at Source Forge. This tool should allow for draft inputs and notations to a more text based document with supplemental drawings and diagrams (knew I had a special purpose here), I don't think the standard CVS will serve in that roll. Additionally, I think all thoses who would like to actively "be involved" in this "Planning Stage" should raise their hands now and express an interest, or throw a rock. I recommend we develop a "start-team" of those interested to at least get us through the planning stages and to a presentable draft that can then be shared with everyone in a open forum. All of the above is of course subject to administrative change, I am just trying to create a better environment for an open-source team effort and I truely think having a "plan" is the best first step here. --- 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 |
From: Jordi - I. - M. <jmi...@or...> - 2001-02-20 19:36:34
|
We do have discussion forums at Sourceforge, and didn't prove to be any lively in the past. Doug Melvin wrote: > If anyone want's to help me finish my messagelist widget, or if this > can wait a week,I will make a discussion board available at > www.allthewhile.com. Messages are posted in real-time, and we would > have real threads, which makes it easiers to fallow any particular > topic > > ----- Original Message ----- > From: Raymond Smith > To: dyn...@li... > Sent: Tuesday, February 20, 2001 1:13 AM > Subject: [Dynapi-Dev] API3,alpha > I've been filtering thru and printing all non-duplicate > threads so I can break down the input from all effectively. > I will probably produce a rough dicussion-brief divided into > two key areas with subsections: 1) DynAPI issues still > requiring focus.2) DynAPI3alpha discussion brief which will > include everyones inputs on "anything" topically related to > the next-gen of this API. I will most likely distill the > first draft as a PDF file that I hope stays under the 40K > limit, but eventually we are gonna need a more colaborative > environment probably located at the DynAPI homepage. > Thoughts on web-based colaboration tool options would be > appreciated. Might actually be something right here at > Source Forge. This tool should allow for draft inputs and > notations to a more text based document with supplemental > drawings and diagrams (knew I had a special purpose here), I > don't think the standard CVS will serve in that > roll. Additionally, I think all thoses who would like to > actively "be involved" in this "Planning Stage" should raise > their hands now and express an interest, or throw a rock. I > recommend we develop a "start-team" of those interested to > at least get us through the planning stages and to a > presentable draft that can then be shared with everyone in a > open forum. All of the above is of course subject to > administrative change, I am just trying to create a better > environment for an open-source team effort and I truely > think having a "plan" is the best first step here. > --- > 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 > |
From: Robert R. <rra...@ya...> - 2001-02-20 20:28:55
|
I've actually got some php code we can use at dynapi.sourceforge.net that allows you to make comments on php pages. So if people have drafts we can post them on the dynapi site and allow people to comment. I'm not a big fan of added another message board since we already have these lists, but I do see the need for some other time of communication system. By the way we could use the demo site we have up to post ideas and allow people to comment as well. -- // Robert Rainwater On 2/20/2001, 4:57:05 PM EST, Doug wrote about "[Dynapi-Dev] API3,alpha": > If anyone want's to help me finish my messagelist widget, or if this can wait a week, > I will make a discussion board available at www.allthewhile.com. > Messages are posted in real-time, and we would have real threads, which makes it easiers to fallow any particular topic > ----- Original Message ----- > From: Raymond Smith > To: dyn...@li... > Sent: Tuesday, February 20, 2001 1:13 AM > Subject: [Dynapi-Dev] API3,alpha > I've been filtering thru and printing all non-duplicate threads so I can break down the input from all effectively. I will probably produce a rough dicussion-brief divided into two key areas > with subsections: > 1) DynAPI issues still requiring focus. > 2) DynAPI3alpha discussion brief which will include everyones inputs on "anything" topically related to the next-gen of this API. > I will most likely distill the first draft as a PDF file that I hope stays under the 40K limit, but eventually we are gonna need a more colaborative environment probably located at the DynAPI > homepage. Thoughts on web-based colaboration tool options would be appreciated. Might actually be something right here at Source Forge. > This tool should allow for draft inputs and notations to a more text based document with supplemental drawings and diagrams (knew I had a special purpose here), I don't think the standard CVS > will serve in that roll. > Additionally, I think all thoses who would like to actively "be involved" in this "Planning Stage" should raise their hands now and express an interest, or throw a rock. I recommend we develop a > "start-team" of those interested to at least get us through the planning stages and to a presentable draft that can then be shared with everyone in a open forum. > All of the above is of course subject to administrative change, I am just trying to create a better environment for an open-source team effort and I truely think having a "plan" is the best first > step here. > --- > 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 Snapshots: http://dynapi.sourceforge.net/snapshot/ DynAPI Homepage: http://dynapi.sourceforge.net/ |
From: Doug M. <do...@cr...> - 2001-02-20 00:48:13
|
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: <ni...@pr...> To: <dyn...@li...> 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 > Dyn...@li... > 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 |
From: Richard B. <ma...@ri...> - 2001-02-20 00:59:19
|
> (BTW: what else do you guys want? how about a Popup/menu widget with a > simple interface?) Like this one ?? http://www.dansteinman.com/dynapi/docs/examples/collapsemenu2.html And maybe port glide.js to be a pathanim extension while you're at it. Richard ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Tuesday, February 20, 2001 4:46 AM Subject: Re: [Dynapi-Dev] errorHandler > 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: <ni...@pr...> > To: <dyn...@li...> > 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 > > Dyn...@li... > > 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 > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your free domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Michael P. <mp...@ph...> - 2001-02-20 01:16:57
|
it was discussed and decided that it should be included. It can be replaced with my smaller version. This allows you to disable the alert and even disable the internal capture of the error. displayerrors : true, returnerrors : false, errorHandler : function (msg, url, lno) { if (DynAPI.loaded||DynAPI.displayerrors) alert("Error in '" + url + "'.\nLine number: " + lno + ".\nMessage: " + msg); return DynAPI.returnerrors; }, Doug Melvin wrote: > 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: <ni...@pr...> > To: <dyn...@li...> > 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 > > Dyn...@li... > > 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 > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |