Since 2003 I'm a very happy Milonic script user (for http://www.genobuy.de). It's a pleasure to work with this script.
Unfortunately in Firefox the script isn't working anymore - so I got the new Version 5 that is even more easy to use.
The question I have: All 450 Files using the old menu script have the following two script-references in the head of the HTML-file (the menu-data and the script itself):
<SCRIPT src="js/menudata.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/mmenu.js" type=text/javascript></SCRIPT>
The Version 5 needs three references instead (menu-data and two scripts):
<script type="text/javascript" src="js/milonic_src.js"></script>
<script type="text/javascript" src="js/mmenudom.js"></script>
<script type="text/javascript" src="js/menu_data.js"></script>
Is there any workaround that would save me from updating 450 HTML-Files. I mean, is it possible to combine the two scripts, so that I can rename them to mmenu.js so that the current references still work?
Thank you very much!
Andreas Bernhard
Implementing the Version 5
If you don't need to support Netscape 4 (nobody really does anymore) than you are in luck.
What you need to do is replace js/menudata.js with mmenudom.js and replace js/mmenu.js with your new data file.
It's not the best solution but as long as you remember what you did for future reference it should be fine.
Hope this helps,
Andy
What you need to do is replace js/menudata.js with mmenudom.js and replace js/mmenu.js with your new data file.
It's not the best solution but as long as you remember what you did for future reference it should be fine.
Hope this helps,
Andy
You might want to consider setting up the menu code calls as a single file and use an include against that file. That way, in case the boss loses it again some time in the future (
), you'd only have the one file to change.
I do this on one of my sites here that has over 600 pages - update just one file and I'm finished.

I do this on one of my sites here that has over 600 pages - update just one file and I'm finished.
John
Thank you!
Andy and John,
thank you very much for your useful hints. We don't care, whether our pages are working with NS4 or not - so I'm happy.
And again, it was a wonderful experience using Milonic's scripts!
thank you very much for your useful hints. We don't care, whether our pages are working with NS4 or not - so I'm happy.
And again, it was a wonderful experience using Milonic's scripts!