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://milonic.com/login.php;");
aI("text=LICENSES;url=http://milonic.com/mylicenses.php;");
aI("text=INVOICES;url=http://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?
Problem with DHTML Milonic menu
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.
Regardless - glad it's working.
John