Tooltip Problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Pakoni
Beginner
Beginner
Posts: 4
Joined: Fri May 14, 2004 11:21 am

Tooltip Problem

Post by Pakoni »

Hi!

I'm testing the menu around with tooltips for a client of my company (we will be buying it as soon as the website is ended), and I've had a problem with the tooltips.

The menu structure is:

Main menu (tooltips onmouseover)
Submenu1
Submenu2
...
SubmenuN

No tooltips should be shown on sub-menus

Well, when I first time step from main menu to a submenu, tooltips disappear (as expected) and appear again (don't know why) until i step to another option in the submenu. I don't know if I have expressed correctly, so I'm attaching an image.

Image

So you can see what happens when Submenu1 displays Submenu1.1. The problem is why the tooltips appear again on submenus (just first time, as I said before).

Thanks in advance.
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Can you give us a URL and confirm which release of the menu you are using?
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Pakoni
Beginner
Beginner
Posts: 4
Joined: Fri May 14, 2004 11:21 am

Post by Pakoni »

The web site is still under development and hosted in a temporary server, but we have to know if this problem can be solved.

http://audiolis.conexanet.com/

Thanks again.
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Have you tried updating the JS files? Yours are dated March 26th - V5.1

The current release is 5.18.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Pakoni
Beginner
Beginner
Posts: 4
Joined: Fri May 14, 2004 11:21 am

Post by Pakoni »

Hello again after a while!

I've tried updating the files to version 5.22 (current version right now), but the problem I mentioned a month ago is still going on.

The url has changed since my last post, for matters of development.

http://aud-contfor.conexanet.com

Thanks again.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Version 5.23 should help fix this.

Please let me know if not

Cheers
Andy
User avatar
jumborex
Beginner
Beginner
Posts: 9
Joined: Wed Jul 21, 2004 6:52 pm
Location: Milan (Italy)
Contact:

Post by jumborex »

I've found this topic, and because my problem is using tooltip I do not open a new topic...

I'm preparing the pages, as you may see here I have a trial:

http://www.cantodellasfinge.net/cruci/menu.shtml

JS resides in different directories as you may see here.

Code: Select all

<SCRIPT language=JavaScript src="/js/menu/milonic_src.js" type=text/javascript></SCRIPT>
<script	language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/js/menu/mmenuns4.js><\/scr"+"ipt>");		
  else _d.write("<scr"+"ipt language=JavaScript src=/js/menu/mmenudom.js><\/scr"+"ipt>"); 
</script>
<SCRIPT language="JavaScript" src="/js/menu/tooltips.js" type=text/javascript></SCRIPT>
I have put the call for the menu inside the body of the page:

Code: Select all

<SCRIPT language=JavaScript src="/cruci/cruci_data.js" type=text/javascript></SCRIPT>
You may easily see the cruci_data.js, but I followed the menusample6 in the site.
Here is a fragment of the code:

Code: Select all

with(milonic=new menuname("Cruciverba")){
style=menuStyle;
top=100;
left=209;
alwaysvisible=1;
orientation="horizontal";
aI("text=Indice;url=/cruci;status=Torna a Indice;");
aI("text=Andy1;onfunction=showtip('Cruciverba premiato al primo Raduno<br> tenuto a San Miniato');url=/cruci/cruciminiato/andy1.asp;status=Andy1");
....
Apparently I made somthing wrong: moving the mouse over I have back an error. Somebody understands why? :cry:
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

When I hover over the menu item "Andy1" it immediately goes to another page. Try putting the URL before the tooltip.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
User avatar
jumborex
Beginner
Beginner
Posts: 9
Joined: Wed Jul 21, 2004 6:52 pm
Location: Milan (Italy)
Contact:

Post by jumborex »

fredlongworthhighschool wrote:When I hover over the menu item "Andy1" it immediately goes to another page. Try putting the URL before the tooltip.
Right!
The page that the tool try to access is http://www.cantodellasfinge.net/cruci/M_toolTips

I imagine this is a generated address.

Problem is: why?
Why the demonstration page from Milonic works fine?

More: what do you mean with "Try putting the URL before the tooltip" ?
Really it is!

Code: Select all

with(milonic=new menuname("Cruciverba")){
style=menuStyle;
top=100;
left=209;
alwaysvisible=1;
orientation="horizontal";
aI("text=Indice;url=/cruci;status=Torna a Indice;");
aI("text=Andy1;onfunction=showtip('Cruciverba bla, bla, bla');url=/cruci/cruciminiato/andy1.asp;status=Andy1;");
User avatar
jumborex
Beginner
Beginner
Posts: 9
Joined: Wed Jul 21, 2004 6:52 pm
Location: Milan (Italy)
Contact:

Post by jumborex »

I've noticed something! :roll:
Only the tooltips.js file cannot (apparently) stay in a different directory: it must be on the same directory where the page stays.
This is a trouble, of course.

http://www.cantodellasfinge.net/cruci/menu.html

This page mantains the files in a different directory, except the tooltips.js

Code: Select all

<SCRIPT language=JavaScript src="/js/menu/milonic_src.js" type=text/javascript></SCRIPT>
<script	language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/js/menu/mmenuns4.js><\/scr"+"ipt>");		
  else _d.write("<scr"+"ipt language=JavaScript src=/js/menu/mmenudom.js><\/scr"+"ipt>"); 
</script>
<SCRIPT language=JavaScript src="/cruci/cruci_data.js" type=text/javascript></SCRIPT>
<SCRIPT language="JavaScript" src="tooltips.js" type=text/javascript></SCRIPT>
And the menu is working! :?
Of course I cannot put a tooltips.js in every directory where I need a page!
I need some help.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

jumborex wrote:I've noticed something! :roll:
Only the tooltips.js file cannot (apparently) stay in a different directory: it must be on the same directory where the page stays.
That should not be the case. You can call the tooltips file the same way you call the other menu files from your /js/ or /cruci/ directory.
John
User avatar
jumborex
Beginner
Beginner
Posts: 9
Joined: Wed Jul 21, 2004 6:52 pm
Location: Milan (Italy)
Contact:

Post by jumborex »

John wrote: That should not be the case. You can call the tooltips file the same way you call the other menu files from your /js/ or /cruci/ directory.
You are right, and this is exactly what I think! Unfortunately, in my case, it seems not working.

Really (after a million of other trials) I've seen that when the page grows more complex I cannot manage anymore the tooltips file.

For example, this should be a complete page of the site:
http://www.cantodellasfinge.net/cruci/c ... roll.shtml

I have disabled the tooltips because it was not working using any method. The menu is complex enough, with follow scrolling feature and drag me away! Everything is working, but if I put a single showtip command inside, the whole thing is not working anymore. :cry:

I cannot imagine why! :roll:
Pakoni
Beginner
Beginner
Posts: 4
Joined: Fri May 14, 2004 11:21 am

Everything's fine

Post by Pakoni »

Andy wrote:Version 5.23 should help fix this.

Please let me know if not

Cheers
Andy
Sorry for a late answer, but I've been on holidays and after that the development was stopped until now.

The problem has solved now (I downloaded v5.44) and everything runs smooth.

We are waiting domain verification to buy the license.

Thanks to everybody!
Post Reply