From: Pascal B. <pb...@oi...> - 2000-10-31 08:14:20
|
Hmm, I tried it on the latest release yesterday, and it worked ok (wasn't before, but after the change it did) the current event code is a big buggy, so that line after it (type="rtmouse..." is not going to be run, that's just one of the bugs.. the strange thing is that when I tested it, it did work. I'll check it tonight, maybe I can upload my core.api.event code which should work ok greets, Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Behrendt Darboven Verzonden: dinsdag 31 oktober 2000 9:09 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Help] forms in NS with Dynapi Hello Pascal, I changed the line (it is in core.api.events), but this does not fix the problem, sorry. It also does not look because after the return evt.bubbleEvent() is another statement (if (type=="rtmousedown" || type=="rtmouseup") return false) which obviously will never run. regards Behrendt Pascal Bestebroer wrote: to fix this bug, find the function:DynDocument.prototype.EventMethod in core.ext.eventsand go to the second to last line that reads:evt.bubbleEvent() change that into: return evt.bubbleEvent()should also fix image-layer dragging problems.Note to other Dynapi developers, the event code in the last release needs some seriousrechecking as mentioned in my other mail to dynapi-dev. greets! Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Behrendt Darboven Verzonden: maandag 30 oktober 2000 17:29 Aan: dyn...@li... Onderwerp: [Dynapi-Help] forms in NS with Dynapi Hi out there, after changing to dynapi20001030, I found out, that Form-Tags are no longer working. I don´t know, if this is a bug or a feature, or if I did something wrong, but in IE it seems to work well. Here is the code, I typed: <html> <head> <title>New1</title> </head> <script language="Javascript" src="js/dynapi.js"></script> <script language="Javascript"> DynAPI.setLibraryPath('js/lib2.0/') DynAPI.include('core.api.*') // if I exclude this, the forms work! </script> <script language="JavaScript1.2"> function buttonClicked() { alert("You clicked the Button") } </script> <body> <form name="data"> <input type="button" value="Test" onClick=buttonClicked()> </form> </body> </html> Regards, Behrendt _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |