[jsmenu-codedev] Changelog 2002-01-24
Status: Inactive
Brought to you by:
nettrom
From: Morten W. <war...@on...> - 2002-01-24 22:20:31
|
worked on cleaning up the code and getting support for IE4 back. extensive comments are below. note that NN4.x throws JS-errors now, something I'll look into next. 2001-01-24: - Removed variable MTMDoc. New property of MTMUA object, .document, is used instead. - MTMenuFrame is now only a user configurable variable (it was for a moment an object reference to the menu frame. New property of MTMUA object, .menuFrame, is used instead. - Changed function MTMgetFrames() since it's now a method of the MTMBrowser() object. References 'this' and calls this.setDocument() when found frame name corresponds to MTMenuFrame. - Added method setDocument() of object MTMBrowser() pointing to function MTMsetDocument)(). This function is new and gets a frame object reference as the argument (from function MTMgetFrames()). Will set properties 'menuFrame', 'document', and if necessary 'head'. - Added method appendElement() of object MTMBrowser(), referencing function MTMappendElement(). This function is also new, and used for browsers support DOM methods (IE5+ and Mozilla/Netscape 6). For more information about the method, see its extensive comments in mtmcode.js. - Global variable MTMTable is removed, instead property 'menuTable' of object MTMBrowser() (which means MTMUA.menuTable) is used. - Re-introduced script element in menu document for MTMRightClickMessage. This is to give the ability to prevent right-click also for IE4 users since linked .js-files is not supported in that browser. All other browsers are to use a linked .js-file. - all if()-statements should now be correct, IE4's working again. - Netscape 4.x produces some errors regarding MTMUA.document.anchors[], will look into that. Morten! -- "...a liquid which was almost, but not quite, entirely unlike tea." My opinions are not necessarily those of my provider, not necessarily mine, and probably not necessary. |