oeh! see Oversight :-)  getting there!

Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Dan Steinman
> Verzonden: maandag 29 januari 2001 23:44
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: [Dynapi-Help] invokeEvent error in Netscape
>
>
> Just do this:
>
> window.onerror = function (msg, url, line) {
>   alert(msg+'\n'+url+'\n'+line);
> }
>
> The Netscape JS console is horrible.  The best is to make your
> own debugger :)
>
> Dan
>
>
> On Mon, Jan 29, 2001 at 11:24:50AM -0800, Doug Melvin wrote:
> > we have an onerror handler?!?
> >
> > is this cross browser?
> > ----- Original Message -----
> > From: "GORTSILAS ANDREAS" <[EMAIL PROTECTED]>
> > To: "Dynapi-Help Mailing List (E-mail)"
> <[EMAIL PROTECTED]>
> > Sent: Monday, January 29, 2001 5:43 AM
> > Subject: [Dynapi-Help] invokeEvent error in Netscape
> >
> >
> > > In Netscape (4.7 linux) and (4.08 win95) in the following
> page when you
> > > click with the mouse on a DynLayer then a strange error occurs:
> > >   URL    :.../events.js
> > >   Line no: 146
> > >   Msg    : missing ; before statement
> > >
> > > I catch this error using an onerror handler...
> > >
> > > Any idea?
> > >
> > > Andreas Gortsilas
> > >
> > > ===================================
> > >
> > > events.js
> > > =========
> > > ...
> > > DynObject.prototype.invokeEvent=function(type,e,args) {
> > > if (!this.hasEventListeners) return
> > > var orig=null
> > > if (is.ns4) { // && is.platform=="other") {
> > > if (e) {
> > > orig=e.orig
> > > e.cancelBubble=false
> > >     }
> > > if (type=="mousedown") {
> > > if (this.dbltimer!=null) type="dblclick"
> > > else
> > > this.dbltimer=setTimeout(this+'.dbltimer=null',300)     <----
> this is no
> > > 146!!!!
> > > }
> > > }
> > > ........
> > >
> > >
> > > ==============================
> > > <html>
> > >
> > > <head>
> > >   <title>Combo-box sample</title>
> > >
> > >   <script language="Javascript1.1"
> src="/SrcDC/_gen/dynapi.js"></script>
> > >   <script language="Javascript1.1">
> > >   <!--
> > >   DynAPI.setLibraryPath('/SrcDC/_gen/')
> > >
> > >   DynAPI.include('dynacore.api.*')
> > >   DynAPI.include('dynacore.ext.keyevents')
> > >
> > >   var dlrCB, dlrEd;
> > >
> > >   DynAPI.onLoad=function() {
> > >     myLayer = new DynLayer()
> > >     myLayer.setSize(300,300)
> > >     myLayer.setBgColor('#c0c0c0')
> > >     myLayer.moveTo(100,100)
> > >     dlrCB = new DynLayer(null,25,25,100,100,'#ffffff')
> > >     dlrEd = new DynLayer(null,25,130,200,100,'#ffffff')
> > >
> > >     myLayer.addChild(dlrCB, dlrEd)
> > >     this.document.addChild(myLayer)
> > >     dlrCB.setHTML('<form id="frmSel" name="frmSel"><select
> > > onkeypress="DoOnKeyPress()"
> > >
> >
> style="width:100%"><option>value1<option>value2<option>value3</sel
> ect></form
> > > >')
> > >     dlrEd.setHTML('<form id="frmEdt" name="frmEdt"><input type="text"
> > > id="edTest" name="edTest" style="width:100%" value="testing"></form>')
> > >   }
> > >   //-->
> > >   </script>
> > > </head>
> > >
> > > <body>
> > > </body>
> > >
> > > </html>
> > >
> > >
> > > _______________________________________________
> > > Dynapi-Help mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>


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

Reply via email to