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'
/ undefined error with Version 1.3 Tooltip and V 5.7 Menu
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...
Should be...
Note the additional ; towards the end of the aI (after ...Page') ). The end of every aI is always ;"); Many of yours are not.
Code: Select all
aI("text=Home;url=index.html;status= To The Home Page;onfunction=showtip('Back to Home Page')");
Code: Select all
aI("text=Home;url=index.html;status= To The Home Page;onfunction=showtip('Back to Home Page');");
John
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
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
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
to
Cheers,
Kevin
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: Select all
aI("text=;type=ToolTip;");
Code: Select all
aI("text=;type=ToolTip;url=javascript:void(0);");
Kevin
Thanks, It's Fixed
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/
Your fast as usual, Andy.
Jim, http://www.gbgm-umc.org/wesley-va/