Das Menüsystem ist zum Teil selbstdokumentierend und verfügt über einige interessante Aspekte:
v1.0 25.01.1999 First Version v1.0.1 30.01.1999 Changed Cookie Layot. Length of cookies checked. Read cookie by name compared based on maximum length for test first then by order. v1.0.2 01.02.1999 MenuXxx_Key functions use new sCookieKey, cookieGet (may be used for databases and shorter Cookies). Changed cookie layout (shorter: does not use cookiedevidesign between length and name). Corrected expiration of cookie v1.0.3 02.02.1999 Multiple cookies for oversized menues. Extracted debugger. New sEvalLate property for entry. Fixed error writing undefined in ALINK Attribut of BODY Tag. v1.0.4 13.10.1999 Set path and version of cookie. v1.1 04.12.1999 Fix Problems with non whysiwyg browsers (all but netscape) v1.1.1 19.03.2000 Mozilla works better with "whysiwig://". Without changing the menu results in displaying the frame-page. v1.2 21.03.2000 Changed to XML. If Old Style is needed change doc.bXML property of menu to false. Menu now uses tables. If Old Style is needed change bTable property of each entry to false. This is used if text bloack should be displayed near an icon. Other related new properties: bTableImgColumn: A extra column for the image. (default=true) If set to true the text aligns to the right side of the image. If set to false the image is rendered with the text. Fixup error: Writing StatusLine. v1.2.1 25.03.2000 Fixup error: JavaScript: Nested Command in Line 2. Changed "/""*" to "/""/" v1.2.2 28.03.2000 Fixup error: +If an entry had a target set then image-click did not work correctly +If changing sImageRoot the images are pre-loaded from wrong location v1.2.3 03.04.2000 If iCookiesEnabled is set to false in initialisation it is temporarliy set to 2. v1.2.4 01.05.2000 Changed Cookie from delimReplace/Restore to escape/unescape functions v1.2.5 13.02.2002 Added sImgBaseUrl to support different base-directories Corrected Status/DefaultStatus behaviour When Status/DefaultStatus will receive html entities some of those are converted. Now support for NS4, NS6, IE XHTML corrections todo: Use sort for cookieinfo to write sorted cookie (fasten read), is sorting of indexes possible? Cookie endsign
var menu4; MenuInit( <framerelation>, "Name", <cookies>, "this.sRelationUp = 'parent.parent'; this.sVarName = 'menu4'", <entries>);
var iMT_TOP = 0; // Level 1 var iMT_MEN = 1; // Level 2 var iMT_REG = 2; // Level 3 var iMT_SUB = 3; // Level 4'); this.htmlWriteln( ''); } this.htmlWriteln( ''); if (this.doc.bXML) { this.htmlWriteln( ''); } else { this.htmlWriteln( ''); } // this.htmlWrite( '