Bugs item #440013, was opened at 2001-07-10 04:35 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=440013&group_id=5757 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stratis Karamanlakis (skaramanlakis) Assigned to: Nobody/Anonymous (nobody) Summary: Browser Detection Initial Comment: Not a bug, but did not know where to post (sorry): Currently browser identification in dynapi.api.browsers.js explicitly identifies IE as version x (5, 5.5 etc) through the ie4, ie5 etc group of properties. If is.ie55 is true, is.ie4 and is.ie5 are false. Consequently, code that has to check for features available in newer versions of IE has to be updated all the time. Case in question: the oncontextmenu event on IE 5 and newer versions is currently (rel 2.54) not handled correctly since the code reads (dynapi.event.mouse.js - line 155) if (is.ie5) this.doc.oncontextmenu=function(){ return false }; What if the ie4, ie5, etc properties were initialized in the following manner: this.ie4=this.ie5=(this.version.indexOf('MSIE 5')>0); this.ie4=this.ie5=this.ie55=(this.version.indexOf ('MSIE 5.5')>0); this.ie4=this.ie5=this.ie55=this.ie6=this.version.index Of('MSIE 6')>0); I make the assumption that backward compatibility holds ie features found in IE4 are still available in newer browsers. Is it too much ? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=440013&group_id=5757 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
