Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:28

Tooltip Problem


Poster: Pakoni
Dated: Friday May 14 2004 - 11:42:41 BST

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.


Poster: fredlongworthhighschool
Dated: Friday May 14 2004 - 13:49:17 BST

Can you give us a URL and confirm which release of the menu you are using?


Poster: Pakoni
Dated: Friday May 14 2004 - 14:52:23 BST

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.


Poster: fredlongworthhighschool
Dated: Friday May 14 2004 - 15:23:47 BST

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

The current release is 5.18.


Poster: Pakoni
Dated: Wednesday June 16 2004 - 9:34:49 BST

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.


Poster: Andy
Dated: Wednesday June 16 2004 - 12:21:48 BST

Version 5.23 should help fix this.

Please let me know if not

Cheers
Andy


Poster: jumborex
Dated: Monday July 26 2004 - 12:36:01 BST

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:
<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:
<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:
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:


Poster: fredlongworthhighschool
Dated: Monday July 26 2004 - 15:37:29 BST

When I hover over the menu item "Andy1" it immediately goes to another page. Try putting the URL before the tooltip.


Poster: jumborex
Dated: Monday July 26 2004 - 16:09:52 BST

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:
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;");


Poster: jumborex
Dated: Monday July 26 2004 - 16:52:13 BST

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:
<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.


Poster: John
Dated: Monday July 26 2004 - 21:17:12 BST

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.


Poster: jumborex
Dated: Monday July 26 2004 - 22:28:07 BST

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:

Everything's fine


Poster: Pakoni
Dated: Thursday September 2 2004 - 8:03:26 BST

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!