Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:27

Uppgrading


Poster: sippen
Dated: Saturday May 22 2004 - 19:10:36 BST

If uppgrading from v5.00 to v5.19, do I have to install everything on more time or can I simply replace some of the files ??


Poster: John
Dated: Saturday May 22 2004 - 19:50:01 BST

Just replace the 3 main menu code files - milonic_src.js, mmenudom.js, and mmenuns4.js. Always replace all 3 files together on any upgrade; i.e., do not run different versions of the code files.

Note that rarely there will be an upgrade that retains the same version number (e.g., 5.19), but the Built: date noted in the code comments will be different. Again, replace all 3 files.


Poster: sippen
Dated: Sunday May 23 2004 - 18:38:20 BST

I found that I have to ad the rows
"
<script language="javascript" type="text/javascript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
"
to my html-page.
After that v5.19 works. However after that the pages does not validate
through the W3C xhtml1.0 validator. I've got several errors like
"
Line 51, column 21: an attribute specification must start with a name or name token

if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>").

(Send feedback on message #105)

Line 51, column 21: element "scr" undefined

if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>").

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).

(Send feedback on message #76)

Line 51, column 64: character "<" is the first character of a delimiter but occurred as data

...rite("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");

If you wish to include the "<" character in your output, you should escape it as "&lt;". Another possibility is that you forgot to close quotes in a previous tag.

(Send feedback on message #404)

Line 52, column 21: an attribute specification must start with a name or name token

else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>"..

(Send feedback on message #105)

Line 52, column 21: element "scr" undefined

else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>"..

(Send feedback on message #76)

Line 52, column 64: character "<" is the first character of a delimiter but occurred as data

...rite("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");

(Send feedback on message #404)

Line 53, column 8: end tag for "scr" omitted, but OMITTAG NO was specified

</script>
"
Why ???
No problem with that in previous versions (v5.00).

Sven-Ingvar


Poster: Maz
Dated: Sunday May 23 2004 - 21:19:14 BST

Are you using xhtml?

If so take a look at begginers section.

maz