Patches item #693217, was opened at 2003-02-25 21:49 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305757&aid=693217&group_id=5757
Category: DynAPI 3 API Group: None Status: Open Resolution: None Priority: 5 Submitted By: Raymond Irving (xwisdom) Assigned to: Nobody/Anonymous (nobody) Summary: MouseEvent/DragEvent/Core API fixes Initial Comment: [*] modify documentation and examples [+] add _hasDragEvents to Event Object [-] fix setZIndex({topmost:true}) - Wasn't setting layers as topmost [-] fix #15 for ie,moz,opera (except ns4) [-] fix form elements inside drag-enabled layers #08 (Thanks to Beniot) [*] rename some files in examples to follow dynapi. naming convention [*] move images found in ext into ext/images > image files used by dynapi.gui widgets should be stored here [+] add setTextSelectable to dynapi.document [-] fix image dragging in opera,ie and gecko browser > this code block did the trick // prevent image dragging if(tn=='img' && typeof (target.onmousedown)!="function") { target.onmousedown=dynapi.functions.False; } [+] add ondrop & ondragover events to dragevents.js [+] add dynapi.functions.removeFromObject: Note: Opera v7 build 2577 does not honor the delete javascript command: var o={ name:'DynAPI User', id:'1202330' } delete o["name"]; alert(o["name"]); //displays DynAPI User a quick workaround was to add the following to dynapi.functions (in dynapi.js) removeFromObject : function(object, id) { if(!dynapi.ua.opera) delete object [id]; else { var o={}; for (var i in object) if(id! =i) o[i]=object[i]; object=o; } return object; } now this should work: o=dynapi.functions.removeFromObject (o,"name"); alert(o["name"]); -- PS. Changes inside CVS ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305757&aid=693217&group_id=5757 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/