ACtually this is not really an error in the DynAPI. The way around this is to use cancelbubble (I assume this problem is in IE)
Example: <input type=checkbox onclick="event.cancelBubble=true; doCheck(this);"> This will cause you onclick to occur correctly. I assume you could do something similar for the text boxes. ----- Original Message ----- From: "Raymond Irving" <[EMAIL PROTECTED]> To: "DynAPI-Dev" <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 11:14 AM Subject: Re: [Dynapi-Dev] Check out this DynLayer extension! > > Many thanks Jordi, > > I've done some rework and have made some major changes > to the codes. I've made a widget out of the extension. > > My only problem is with the mouse.js and keyboard.js > is NS4. When these events are included and form > elements are placed inside layers, I'm not able to > type inside the textboxes or receive mouse click > events from form elements. > > This is an error with DynAPI. I would like for you to > take a look at files and see if I've done something > wrong. For it to work in NS4 I've only included > listeners.js > > http://www24.brinkster.com/dyntools > > -- > Raymond > > > > --- Jordi Ministral <[EMAIL PROTECTED]> > wrote: > > May I suggest that you replace this: > > > > if (!this.created){ > > window.setTimeout(this+".findForms()",200); > > return null > > } > > > > with this: > > > > if (!this.created){ > > var r = new EventListener(this) > > r.oncreate = function(e) { > > e.getTarget().findforms() > > } > > this.addEventListener(r) > > } > > > > The only drawback is needing to include the event > > code, which was not > > needed before. > > > > Sorry I don't see why it doesn't work in NS4. Nice > > work > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > [EMAIL PROTECTED] > > > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/ > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/ > _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/