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

Version 5.40 and inline javascript code


Poster: davebarnes
Dated: Thursday August 12 2004 - 15:26:10 BST

I use FreeFind.com to provide intra-website search on all my clients websites.

FreeFind allows one to have a custom search results page. However, there are a few rules associated with this custom page:
1. no external links to JavaScript
2. no relative links

I have been using both FreeFind and the Milonic menu successfully together until Version 5.40. Now, the sub-menu items do not appear.

Surf to http://www.centricstorusa.com/English/M ... plate.html and you will see Version 5.22 working. That is, move your cursor down the menu and the sub menus appear as they are supposed to.
See also http://www.evaluatorgroup.com/English/M ... plate.html which is version 5.12 whcih works correctly.

Now, surf to http://www.atcanewsletter.com/English/M ... plate.html and no sub-menus. That is, version 5.40 does not work properly.
See also http://www.ilmletter.com/English/Miscel ... plate.html which is version 5.36 and does not work.

If you open both the 5.40 file using Dreamweaver, you will see that there is something about the milonic_src.js code that is here that DW does not like. This is the only difference that I can see between the files.

This is a serious problem for me as I am in the process of building 6 new websites which will all use Milonic Menu and FreeFind.

Any suggestions?

thanks,
dave


Poster: kevin3442
Dated: Saturday August 14 2004 - 1:23:02 BST

Hi Dave,

Just a guess, but on first glance it looks like the kind of broken menu you get if the license details are messed up in the source code. I notice, for example, that the comments in the source code of the first broken url you posted indicate that

Quote:
License Details:
Number 194664
URL atcanewsletter.com
Type Professional


but in the code you inlined from the miloinc_src.js file, it has:

Code:
licenseNumber=194579;
licenseURL="atcanewsletter.com";


The numbers don't match (don't know about the urls). I'm wondering if some numbers got screwed up along the way during the copy and paste. Might be a good idea to download the updates again, for each site, and make sure that you're pasting the correct source code into each page.

Hope that helps,

Kevin


Poster: davebarnes
Dated: Monday August 16 2004 - 21:39:00 BST

Kevin,

1. You were correct. I did "cut & paste" way too quickly and screwed up the license numbering. Rule #1 = always go back to the SOURCE.

2. My problem is solved.

3. However, DW did doesn't like the code.

Thanks for your help.

,dave


Poster: kevin3442
Dated: Tuesday August 17 2004 - 1:12:38 BST

Hi Dave,

Glad it's working.

I don't use Dreamweaver, so I can't be much help there. Perhaps if you post the chunk of code that DW objects to, some kind DW user can have a look.

Cheers,

Kevin