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:22

What is milonic_menu_code.js file?


Poster: TheOpinionatedWebguy
Dated: Sunday February 10 2008 - 14:13:46 GMT

I'm Lee, and I run the web presence for the IEEE Computer Society. We're in the midst of a drastic rework of our entire set of sites and backend architecture. While we are a non-profit, I believe in paying for work, so I bought a professional license of the menus (my money, not the CS's) because for what you get, it is very inexpensive.

When I downloaded and unzipped the package, I see a file that I can't find any references to -- milonic_menu_code.js. It doesn't appear to be referenced in the html, and the menus appear to run fine without it.

Is this file needed as part of the installation? What does it do?

Thanks!

Re: What is milonic_menu_code.js file?


Poster: Ruth
Dated: Sunday February 10 2008 - 19:33:23 GMT

Hi,

I vaguely remember a post someplace and I think it said that the file you mention is = to having the milonic_src and mmenudom.js files. I believe that the other files are still included in the download because users who have huge sites or a number of sites don't want to have to change the calls on all of them to just use the milonic_menu_code.js file, and users who still code for NN4+ couldn't use the one file since that call for the mmenuns4 is an if this do that :)

Ruth

Re: What is milonic_menu_code.js file?


Poster: TheOpinionatedWebguy
Dated: Sunday February 10 2008 - 23:46:45 GMT

Wow - thanks for the very quick reply on a Sunday, no less!

I just tried modifying my test code and yes, it appears to work exactly how you stated it. One very nice thing is that it is a bit smaller overall than two files. Every little bit helps!

Putting all of the images and code including my complicated menus into a zip file to simulate gzip compression from the web server gives me 21,773 bytes for the two file method, and 20,856 bytes for the one file method -- about a 4% reduction -- *and* the invocation code is just a wee bit simpler. Very cool! We've got a particular page which gets a lot of direct traffic from Google, and we're hand-coding it to make it as tiny as possible for best speed so that our first impression is a good one.

I'm too not worried about the Netscape 4 people at this point. Over the last 30 days, out of 1,044,810 visits, 11 were from Netscape 4.x browsers.

Thanks, by the way, for your signature line. The summary PHP links have been extremely helpful to me.

Thanks again,
-lee-

Re: What is milonic_menu_code.js file?


Poster: Ruth
Dated: Monday February 11 2008 - 5:09:19 GMT

You're very welcome. Yes, NN4 is probably not of great importance in most instances, but I think there are still some [overseas, I believe] where that is a much used browser, again, that is one of those, I remember reading it but don't remember in detail about what places they were talking.

Ruth