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

Problem with DHTML Milonic menu


Poster: JessyEzzy
Dated: Saturday August 20 2005 - 15:33:12 BST

I have download the cartoon menu sample, and I have tried to change the links in the menu_data.js to match my pages but I recieve an error in any page that contains the menu for example:

if I try to change this part with my text and my url

with(milonic=new menuname("MyMilonic")){
orientation="horizontal";
style=submenuStyle;
aI("text=LOGIN;url=http://www.milonic.com/login.php;");
aI("text=LICENSES;url=http://www.milonic.com/mylicenses.php;");
aI("text=INVOICES;url=http://www.milonic.com/myinvoices.php;");
}

with(milonic=new menuname("MyMilonic")){
orientation="horizontal";
style=submenuStyle;
aI("text=Page1;url=page1.aspx;");
aI("text=Page2;url=page2.aspx;");
aI("text=Page3;url=page3.aspx;");
}

I get the following error:
Line 17
Char 13606
Error "18" is null or not an object

What's wrong with this, does it work only with outside links?


Poster: John
Dated: Saturday August 20 2005 - 18:22:02 BST

Got a URL with the error we can see?


Poster: Ruth
Dated: Saturday August 20 2005 - 21:18:13 BST

Hi,

I just copied and pasted 'your' MyMilonic submenu that you have in your post into a downloaded copy of the Cartoon Style and I get no errors.

As John noted, we could use a url to see what's causing the problem.

Ruth


Poster: JessyEzzy
Dated: Sunday August 21 2005 - 9:57:16 BST

Thanks guys, I just started again with a new web project and reinstalled the menu and it's now working with no errors.

May be there was something I was missing, but I don't know what is it :)


Poster: John
Dated: Sunday August 21 2005 - 20:52:13 BST

One thing a lot of folks seem to forget is that the menu code files must be uploaded to the server in ASCII (text) mode. Many just leave the ftp settings at 'auto' (or something similar) and trust the program to get it right. Not all ftp programs do get it right, and that can mess up the files. Maybe that was the case here, or the original upload just got munged somehow.

Regardless - glad it's working.