Version 5.40 and inline javascript code

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
davebarnes
Super Advanced
Super Advanced
Posts: 71
Joined: Tue Nov 18, 2003 6:09 am
Location: Denver, CO USA
Contact:

Version 5.40 and inline javascript code

Post by davebarnes »

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
Dave Barnes
sitting in my basement with my iMac
+1.303.744.9024
http://www.marketingtactics.com
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
License Details:
Number 194664
URL atcanewsletter.com
Type Professional
but in the code you inlined from the miloinc_src.js file, it has:

Code: Select all

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
User avatar
davebarnes
Super Advanced
Super Advanced
Posts: 71
Joined: Tue Nov 18, 2003 6:09 am
Location: Denver, CO USA
Contact:

Post by davebarnes »

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
Dave Barnes
sitting in my basement with my iMac
+1.303.744.9024
http://www.marketingtactics.com
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
Post Reply