Javascript error on page
Javascript error on page
Hello
when I open my intranet page in IE I see an '!' down left in my browser that says it is wrong on page. When I click that icon, I got up a pop up window:
Line: 17
Char: 1768
Error: Excpected an object
Code: 0
Url: <my intranet-url>
Here is my menu_data.js
Can someone help ?
Regards fondy
when I open my intranet page in IE I see an '!' down left in my browser that says it is wrong on page. When I click that icon, I got up a pop up window:
Line: 17
Char: 1768
Error: Excpected an object
Code: 0
Url: <my intranet-url>
Here is my menu_data.js
Can someone help ?
Regards fondy
On quick look (just headed out) I see 2 things. You have...
Should be...
Also...
...has a // in the URL.
Code: Select all
with(fondy=new menuname
Code: Select all
with(milonic=new menuname
Code: Select all
aI("text=01-2003;url=http://www.hhf.no//doc/2003/diverse/paapulsen012003.pdf;");
John
Probed your directory structure and found no milonic_src, no mmenudom.js and no mmenuns4.js files. Those are VERY important support files for the menu. The error you are getting is a common one that gets generated when the menu_data file can't find them.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
Hi
I am using Milonic in my intranet, it cant be reached from internet. I am placing this file on a domain who is not using java.
I have debuged the error, se these files:
milonic.txt
Here it seems that the license is un-licensed, but that is not correct. I have a license.
error1.gif
error2.gif
It seems to me that the error is in the file: milonic_src.js
Regards fondy
I am using Milonic in my intranet, it cant be reached from internet. I am placing this file on a domain who is not using java.
I have debuged the error, se these files:
milonic.txt
Here it seems that the license is un-licensed, but that is not correct. I have a license.
error1.gif
error2.gif
It seems to me that the error is in the file: milonic_src.js
Regards fondy
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
How about getting a fresh download of the JS files and dropping them in?
Whenever I have a problem of the menu not appearing I backup my data file and put the original one back.
I also have a folder of backed up data files so if I screw up, I always have a backup to work from.
Which browser are you using?
Whenever I have a problem of the menu not appearing I backup my data file and put the original one back.
I also have a folder of backed up data files so if I screw up, I always have a backup to work from.
Which browser are you using?
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
I ordered one Professional DHTML Menu Licence at 22.99 GBP at september 18. I got an email from sales@milonic.com the same date with my license number. I think I have a valid license, or have I missed something?
fondy
fondy
First, thank you very much for your support of the system!fondy wrote:I ordered one Professional DHTML Menu Licence at 22.99 GBP at september 18. I got an email from sales@milonic.com the same date with my license number. I think I have a valid license, or have I missed something?
Is the forced Milonic link still in the code you now download? If not, you're in the database and properly registered.
John
I have a domain named 'rype.no' where I test things before I copies them to a production domain named 'hhf.no'. The license I ordered was for the domain rype.no. I have ordered a new Professional DHTML Menu Licence for the domain hhf.no, but I get the same error. I use the menu in the subdomain intra.hhf.no
The forced Milonic link is not in the code.
regards fondy
The forced Milonic link is not in the code.
regards fondy
Then I guess you've really lost me. I don't understand what 'error' you're getting. If the forced link is not in the code, which is the only difference between registered (not free) and un-registered, then you're getting the proper code-set.fondy wrote:...but I get the same error.
The forced Milonic link is not in the code.
John
Ok, you're registered and you are getting the registered version (without Milonic link), great. YOu download RC15? Its out now.
So lets recap, you've re-downloaded all the files, saved the original milonic_src, mmenudom, mmenuns4, and menu_data files into a directory and tried using them in a page and you still get the error? The error still sounds like it can't find the source codes. If I screw up my pages on purpose I get almost the exact error, like it cannot find a function definition.
Can you post your actual html page source (at least the part that includes the menu javascript files) please? What version of your mmenudom and mmenuns4 files are you using?
So lets recap, you've re-downloaded all the files, saved the original milonic_src, mmenudom, mmenuns4, and menu_data files into a directory and tried using them in a page and you still get the error? The error still sounds like it can't find the source codes. If I screw up my pages on purpose I get almost the exact error, like it cannot find a function definition.
Can you post your actual html page source (at least the part that includes the menu javascript files) please? What version of your mmenudom and mmenuns4 files are you using?
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
Hi
try these url: http://www.hhf.no/test.htm
I have unpacked the zip-files (including milonic_src, mmenudom, mmenuns4 and menu_data) to a directory called javascripts. I have edited menu_data.js.
You can see the js-files here:
menu_data.js
milonic_src.js
mmenudom.js
mmenuns4.js
I am using Version 5.0 Release Candidate 15.0
Have replaced Un-licensed with my license-code in the js-files
fondy
try these url: http://www.hhf.no/test.htm
I have unpacked the zip-files (including milonic_src, mmenudom, mmenuns4 and menu_data) to a directory called javascripts. I have edited menu_data.js.
You can see the js-files here:
menu_data.js
milonic_src.js
mmenudom.js
mmenuns4.js
I am using Version 5.0 Release Candidate 15.0
Have replaced Un-licensed with my license-code in the js-files
fondy
Last edited by fondy on Mon Oct 06, 2003 9:39 pm, edited 1 time in total.