Whenever the new scripts released, I update the three scripts: milonic_src.js, mmenudom.js and mmenuns4.js. My question is: shall I do this for every minior update? For an example: v5.63 to v5.64, can I only update milonic_src.js?
BTW, is there a "cvs diff" to tell the difference between any two versions?
Question on updating the newest menu scripts
Yes you need to stay up to date with the latest version and you need to replace the three files that you mentioned. Make sure to keep a copy of the older version, just in case the latest release creates a problem with your menu setup.
You can check out the version information by going to:
http://milonic.com/menuvinfo.php
You can check out the version information by going to:
http://milonic.com/menuvinfo.php
Well, there are probably better reasons, but one I can visualize is that with the mmenuns4.js module separate, if you don't need to support NN4 you can have fewer files. I'm not sure but NN 4 doesn't use the same underlying system [programming, whatever you call it] and doesn't support a lot of the newer things as the more recent browsers so perhaps having that as a separate module makes it easier to edit the programming? Just a guess
Ruth

Ruth
Thank you Ruth. Browser loads either mmenudom.js or mmenuns4.js, it will save loading time. however it produces one more file request. I didn't test, don't know which one is faster. You know JS will be cached anyway. I prefer to update one bigger JS file rather than 3 separated files. Besides you have to write two more line codes:
Code: Select all
if (ns4) _d.write("<script language=Javascript src=mmenujs4.js><\/script>")
else _d.write("<script language=Javascript src=mmenudom.js><\/script>")
Sorry, I meant that many leave the mmenuns4.js file out, they just call the milonic_src.js and the mmenudom.js files, not using the if statement. And, again, I think it might be easier when doing updates and adding things to the menu functionality to have the mmenuns4.js and the mmenudom.js as separate modules.
Ruth
Ruth