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:02
Version 5.62 Error & Tooltips
Poster: bobwill
Dated: Sunday December 5 2004 - 14:26:10 GMT
The following line of code has been working correct until Version 5.62. Getting an error message using IE that states the following
Line: 94
Char: 2
Error: Object expected
Code:0
aI("text=News;url=/news.htm;target=windowname;targetfeatures=width=310 height=350 scrollbars=yes status=yes;oncolor=black;offcolor=white;offbgcolor=red;status=PopUp News;onfunction=showtip('News Updated Dec 4');separatorsize=1;");
My site is loading Version 5.52, which does not give error.
http://www.baseball.legion.org
Poster: Ruth
Dated: Sunday December 5 2004 - 20:13:44 GMT
I think you need to upgrade the tooltips module http://www.milonic.com/tooltips.js Andy mentioned someplace that it was updated with verison 5.60.
Ruth
Poster: bobwill
Dated: Monday December 6 2004 - 14:20:17 GMT
Thanks Ruth... I did update the tooltips.js file and now I get a different error in IE. The error now occurs when you click on the "News" menu item. Before it was when you placed the cursor over the item
Line: 21
Char: 13603
Error: '_1.2' is null not an object
Code: 0
I do not get the error using Opera, but when you click on the "News" menu it does no open up in a new window as defined on the command line.
I will leave the latest Version 5.62 files and tooltips.js on the server for a day so someone can other than myself can see the problem.
http://www.baseball.legion.org
Add ON: I was looking for the latest tooltips.js file and I think the file that is on the Milonic server is version 1.1. The version that was working with Milonic menu version 5.52 was version 1.2.. Maybe I have the wrong files or something. Anyone got an answer??
Poster: John
Dated: Monday December 6 2004 - 15:34:25 GMT
Hey stranger...
1.1 is the same version Andy is calling from the main site. Not sure where 1.2 came from.
Poster: bobwill
Dated: Monday December 6 2004 - 15:43:58 GMT
I've been around, just had not had a problem until the latest update. Try to keep the latest version posted.
There is a difference in the two versions.
Version of tooltips 1.2 was dated June 20, 2004, that is when I downloaded the file. I did a compare between version 1.1 and 1.2 and the following is the difference. Version 1.1 (near bottom of file ) has a line of code "clearTimeout(_Mtip)" and Version 1.2 has "$CtI(_Mtip); ".
Means nothing to me.
I do not care which version, just want to get rid of Javascript error. do you get the error John??
Poster: John
Dated: Monday December 6 2004 - 16:00:27 GMT
I see the error icon for just a split second at the bottom of the IE window, but it goes right through it and brings up the next page without error, so I have nothing to look at.
Poster: bobwill
Dated: Monday December 6 2004 - 16:12:37 GMT
Are using using IE. If so you need to turn on the display error messages under Tools/Internet Options/Advanced
It goes away because the popup window gets activated and does away with the "Error" in the status line of the browser.
Also the next page is suppose to come up in its own defined window size, not as a whole page...
Poster: John
Dated: Monday December 6 2004 - 16:38:49 GMT
I pulled your code down to my server and now it's hanging on the JS error. Will work on it as I have time (something about my J.O.B. comes first...).
Poster: bobwill
Dated: Monday December 6 2004 - 16:42:55 GMT
Thanks John....I understand about J.O.B. and paying bills. Had one for 38 years, now G.O.L.F. is priority.....
Poster: John
Dated: Monday December 6 2004 - 16:50:02 GMT
bobwill wrote:
Thanks John....I understand about J.O.B. and paying bills. Had one for 38 years, now G.O.L.F. is priority.....
Oh, thanks a bunch...
I've got it posted at http://www.west.asu.edu/sa/testsite/. I see the error when hanging over News, but when I click it goes on through and brings up the small window. Status is there, but no tooltip - yet.
Is this what you're seeing on your site?
Poster: bobwill
Dated: Monday December 6 2004 - 18:11:53 GMT
Using your test site I get an error when I hover over News. If I clear the pop up error message and then click on News I do not get the News pop up. Status bar states that javascript is void.
If clear the pop up error message and then go to another part of the menu and then back to click on News if seems to work...Sometimes...
Poster: John
Dated: Monday December 6 2004 - 18:24:34 GMT
Wow. Quite different from what I see here (as described).
XP Pro/IE6 - right?
Poster: bobwill
Dated: Monday December 6 2004 - 18:47:36 GMT
Not quite.....
98/IE6.0
Since I jumped form Version 5.52 to V 5.62, and no change in tooltip.js I am going to go back and download the versions that I skipped over and see where the error starts to occur.
Will let you know what I find out.
Poster: bobwill
Dated: Monday December 6 2004 - 19:01:14 GMT
The next version after 5.52 was V 5.60. Getting the same error.
I have now loaded version 5.52 back on my server. Works A-OK.
Poster: John
Dated: Monday December 6 2004 - 19:51:48 GMT
I think this is going to be an Andy problem. Will let him know.
Poster: bobwill
Dated: Saturday December 11 2004 - 13:50:49 GMT
John, just a follow up, to my problem.
You last said that you would let Andy know. How am I to know if problem is being fixed or what? Will you or Andy respond to my issue??
Poster: John
Dated: Saturday December 11 2004 - 17:40:49 GMT
My apologies. Sent him a separate email on 7 Dec just in case he missed this thread. I haven't heard from him, either. Not an excuse, but there have been serious main server problems that have taken him away from the menu. He's been setting up a new server from scratch, looking for a new ISP, etc. Tried calling him yesterday (yes, to the UK!), but got no answer. Will try again today.
Just so we're on the same page, tooltips is now at 1.1 and the menu is at 5.63.
Poster: bobwill
Dated: Saturday December 11 2004 - 19:44:29 GMT
Same issue with 5.63 and tooltips 1.1......
Poster: Andy
Dated: Saturday December 11 2004 - 21:13:04 GMT
Hi Bob,
Sorry about my lack of appearance, as John says we've got some major server issues that have been taking up a lot of my time recently. We are currently in the process of moving server hosts and it's hell trying to get domain names transfered ensuring that we can have the minimum of downtime.
Anyway, John has just called me and told me that I really need to get on this post so I'm here now and I'll do what I can
John's copy of your site http://www.west.asu.edu/sa/testsite/ is using the older tooltips.js file - If that was updated it would probably work OK.
I've just grabbed a copy of your site and tried it with the new 5.63 and it seems to be OK - Obviously using the new tooltips.js file.
Can you try 5.63 - If it still fails, can you please post a copy of your home page to http://www.baseball.legion.org/milonic.htm using the buggy files and I'll then be able to see exactly where the problem is.
Hope this helps
Andy
Poster: bobwill
Dated: Saturday December 11 2004 - 22:42:37 GMT
Thanks for you response. I have set up a link loading the 5.63 files and using tooltips 1.1
http://www.baseball.legion.org/milonic.htm
If you go to http://www.baseball.legion.org/ it loads 5.52, which works for me without a javascript error..
You made reference to new tooltips. What is the latest? I downloaded the sample that uses tooltips and that is what I have on my server...
Just a reminder Andy. Ther error occurs when you click on the "NEWS" menu.
Poster: John
Dated: Sunday December 12 2004 - 2:00:22 GMT
http://www.milonic.com/tooltips.js will get you the latest version.
Talked to Andy today and he said he'd get to it this weekend.
Poster: Andy
Dated: Sunday December 12 2004 - 16:40:23 GMT
Hi Bob,
just looked at http://www.baseball.legion.org/milonic.htm and didn't see an error.
Could be an issolated browser issue or something I'm not seeing. Tooltips appeared OK and the link took me to another window. Is this not what you are seeing?
With regard to tooltips - The version you get on download of the tooltips sample will definately be the latest
Let me know which browser you are using and I'll test the site again with that config.
Cheers
Andy
Poster: John
Dated: Sunday December 12 2004 - 17:40:34 GMT
Bob -
I'm still seeing the failure. Got Andy on the phone and beat 'im up side the head a bit. He understands the problem and is going back at it.
A bit more patience, Sir...
Poster: Andy
Dated: Sunday December 12 2004 - 18:43:26 GMT
Hi Bob,
Can you please try Pre Release 5.64 - should be fixed with this version.
http://www.milonic.net/menuvinfo.php
Cheers
Andy