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