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:54
/ undefined error with Version 1.3 Tooltip and V 5.7 Menu
Poster: jimsohn
Dated: Sunday February 6 2005 - 0:23:10 GMT
I installed V 5.7 Menu and the associated Version 1.3 tooltip script. If one places the cursor over a tooltip message you will see that the URL ends in /undefined. Of course if you click on the tooltip you get a page not found error.
I didnt notice this to be the case with the older tooltip/menu sw.
Basically the tooltip is a hot link.
You can see what I am talking about from the URL:
http://www.gbgm-umc.org/wesley-va/
I have tooltips assigned to 'home' 'pastor tony' 'tidbits' & '50th anniversary'
Poster: John
Dated: Sunday February 6 2005 - 4:03:00 GMT
It's working on our main site, so I don't think there's a menu problem. The only thing I see is a small syntax error. You have...
Code:
aI("text=Home;url=index.html;status= To The Home Page;onfunction=showtip('Back to Home Page')");
Should be...
Code:
aI("text=Home;url=index.html;status= To The Home Page;onfunction=showtip('Back to Home Page');");
Note the additional ; towards the end of the aI (after ...Page') ). The end of every aI is always ;"); Many of yours are not.
Poster: Ruth
Dated: Sunday February 6 2005 - 5:20:48 GMT
John,
If you go to sample 6 and hold the mouse over Home, then move to click the tooltip you get a 'link' action, but it goes to the page not found error page. It's almost as if the tooltip is function like it expects a link to be there. I did mess around and in the tooltips changed the type=tooltips to type=header which stops the link action, but I don't think you're supposed to do that.
Ruth
Poster: kevin3442
Dated: Sunday February 6 2005 - 6:40:50 GMT
Hi All,
It does seem that there's a little problem with the tooltips thinking that they're links, but linking to "undefined". I'm sure that'd be an easy fix for Andy, for type=ToolTip. Meantime, here's a temporary fix that will make a tooltip item act like any other menu item that has no url defined.
In tooltips.js, change line 33 from
Code:
aI("text=;type=ToolTip;");
to
Code:
aI("text=;type=ToolTip;url=javascript:void(0);");
Cheers,
Kevin
Poster: Andy
Dated: Sunday February 6 2005 - 10:14:56 GMT
Fixed for version 5.71 now up.
Once I get a minute, I'll update the release log, It is Sunday after all
Cheers
Andy
Poster: kevin3442
Dated: Sunday February 6 2005 - 11:32:31 GMT
kevin3442 wrote:
...Meantime, here's a temporary fix that will make a tooltip item act like any other menu item that has no url defined...
Ummm.... nevermind.
Thanks, It's Fixed
Poster: jimsohn
Dated: Sunday February 6 2005 - 18:59:38 GMT
Andy, thanks & thanks to others who commented on this topic. I downloaded V 5.71 and installed it just now. All is well. The tooltip does NOT exhibit a link characteristic now.
Your fast as usual, Andy.
Jim, http://www.gbgm-umc.org/wesley-va/