Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Adding cross-browser support for ContextMenu

This weekend I have to get the ContextMenu working in Opera and Mozilla browsers. This shouldn't be too hard as I've stuck close to the spec. on everything and already have a browser sniffer built in to the js code. I've already taken the precautions of separating the 4 main XBrowser fragile parts out into their own logic units:

  • Rendering
  • Layer creation
  • Positioning
  • Visibility

So, in my quest to master these browsers I've managed to uncover the javascript/dom support documentation for each of these browsers:

Opera
Supported Features and Specifications : http://www.opera.com/support/service/features/index.dml
Web specifications supported in Opera 7 : http://www.opera.com/docs/specs/ (contains a list of the DOM objects at the bottom of the page)

Mozilla
Scripting References : http://www.mozilla.org/docs/web-developer/#scripting

Internet Explorer
MS DHTML Reference : http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/dhtml.asp

1 Comment

  • I don't know exactly what you mean, Darren, but now that I'm (99% of the time) using Mozilla 1.6, I applaud you in this effort! Let me know if you need a beta-tester please (from the Macintosh OS-X 10.2.8 dimension, at the moment) --- ^z

Comments have been disabled for this content.