tootips
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
tootips
I have followed the directions but cannot get the tool tips to show on site [http://www.malikonline.co.uk]
In the head/head section I have put:
<script type="text/javascript" src="milonictooltips.js"></script>
(I renamed the js file for easy identification)
In the menu I have added a couple of example tips to test and get started:
with(milonic=new menuname("Hair1")){
style=background;
aI("text=Hair - human;url=store.php?crn=222;tooltip=A beautiful range of wigs and hair pieces<br>made from human hair - please click here wait for us to search and display the products;");
aI("text=Hair - synthetic;url=store.php?crn=224;tooltip=A beautiful range of synthetic wigs and hair pieces<br>- please click here wait for us to search and display the products;");
aI("text=Clips & Accessories;url=store.php?crn=206;");
They do not show - what have I missed???
In the head/head section I have put:
<script type="text/javascript" src="milonictooltips.js"></script>
(I renamed the js file for easy identification)
In the menu I have added a couple of example tips to test and get started:
with(milonic=new menuname("Hair1")){
style=background;
aI("text=Hair - human;url=store.php?crn=222;tooltip=A beautiful range of wigs and hair pieces<br>made from human hair - please click here wait for us to search and display the products;");
aI("text=Hair - synthetic;url=store.php?crn=224;tooltip=A beautiful range of synthetic wigs and hair pieces<br>- please click here wait for us to search and display the products;");
aI("text=Clips & Accessories;url=store.php?crn=206;");
They do not show - what have I missed???
tooltips
Hi
don´t put this file into the head section. Place it after the other menu-definition files, which should be placed just after the body tag.
<body>
javaScript....milonic files
javaScript....menu_data file
<SCRIPT language=JavaScript src="tooltips.js" type=text/javascript></SCRIPT>
This should work
Michael
don´t put this file into the head section. Place it after the other menu-definition files, which should be placed just after the body tag.
<body>
javaScript....milonic files
javaScript....menu_data file
<SCRIPT language=JavaScript src="tooltips.js" type=text/javascript></SCRIPT>
This should work
Michael
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
Thanks for the fast response.
I had all my Milonic script in the head section.
I have moved these to the BODY section and added the tooltips line as recommended:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
SCRIPT language=JavaScript src="milonictooltips.js" type=text/javascript></SCRIPT>
Unfortunately the tips still do not appear.
These should be at
Afro Caribbean Shop > Hair Wigs Etc > Hair - human & Hair - synthetic
There must be something simple that I am doing wrong?
Thanks
Chris
I had all my Milonic script in the head section.
I have moved these to the BODY section and added the tooltips line as recommended:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
SCRIPT language=JavaScript src="milonictooltips.js" type=text/javascript></SCRIPT>
Unfortunately the tips still do not appear.
These should be at
Afro Caribbean Shop > Hair Wigs Etc > Hair - human & Hair - synthetic
There must be something simple that I am doing wrong?
Thanks
Chris
tooltip
Hi
try if this works:
ai=("...........;onfunction=showtip('text');url=filepath/file;");
Michael
try if this works:
ai=("...........;onfunction=showtip('text');url=filepath/file;");
Michael
I've just posted a demo of the new tooltips at http://milonic.com/tooltips.php
Still no Docs yet, should be tomorrow but you can do a view source.
Just make sure that you download the new menu and the new tooltips.js file.
Hope this helps,
Andy
Still no Docs yet, should be tomorrow but you can do a view source.
Just make sure that you download the new menu and the new tooltips.js file.
Hope this helps,
Andy
tooltips
Great !!!!!!!!!!!!
Michael
Michael
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
Migru
Thanks for the tip. Sadly I still have a problem getting it to show.
I have added the following item to my menu in the form you suggested (I hope I got this right):
aI=("text=Hair - human;onfunction=showtip('A beautiful range of wigs and hair pieces<br>made from human hair - please click here wait for us to search and display the products');url=store.php?crn=222;");
The item shows on the menu -- but not the tool tip. I have to admit to getting just a little frustrated
Thanks
Thanks for the tip. Sadly I still have a problem getting it to show.
I have added the following item to my menu in the form you suggested (I hope I got this right):
aI=("text=Hair - human;onfunction=showtip('A beautiful range of wigs and hair pieces<br>made from human hair - please click here wait for us to search and display the products');url=store.php?crn=222;");
The item shows on the menu -- but not the tool tip. I have to admit to getting just a little frustrated

Thanks
tooltips
Test result:
Your syntax you are using
- in submenu "Afro Caribbean shop" and there
- sub Hair Wigs etc the first two sub items
a) hair human and
b) hair syntetic
is correct.
The tooltips pop up on my monitor, when I am running the testpage using
Standard HTML setup as follows
Pls take care that you are using the newest tooltips.js code.
For testing only, I downloaded your menu_data.js file, made a simple HTML file as listed above and there, the tooltips worked as reported.
There may be some other syntax errors with regard to tooltips in other submneu items, so pls. look into that.
Michael
Your syntax you are using
- in submenu "Afro Caribbean shop" and there
- sub Hair Wigs etc the first two sub items
a) hair human and
b) hair syntetic
is correct.
The tooltips pop up on my monitor, when I am running the testpage using
Standard HTML setup as follows
Code: Select all
<HTML>
<HEAD>
<TITLE>tooltips test</TITLE>
</HEAD>
<BODY>
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>"); </script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="tooltips.js" type=text/javascript></SCRIPT>
<BR>
<BR>
<BR>
<FONT SIZE="-2" FACE="Arial">
<A href="http://websites.milonic.com/milonic.com/">JavaScript Menu Courtesy of Milonic.com<!--/SELECTION--></A></FONT>
</BODY>
</HTML>
For testing only, I downloaded your menu_data.js file, made a simple HTML file as listed above and there, the tooltips worked as reported.
There may be some other syntax errors with regard to tooltips in other submneu items, so pls. look into that.
Michael
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
I have spent a lot of time trying to resolbe this without success.
So I have created a 'MINIMALIST' page :
http://www.malikonline.co.uk/indextest.php with no possibility of conflicting scripts.
The html is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Malik Stores Online</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="squirrelcart/themes/squirrelcart/store.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data2.js"></script>
<SCRIPT language=JavaScript src="milonictooltips.js" type=text/javascript></SCRIPT>
</body>
</html>
Then I created a new menu_data2 with just one menu column to reduce the possibility of syntax errors.
This is:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=25;
itemwidth=183;
left=0;
orientation="horizontal";
overflow="scroll";
followscroll=0;
style=background;
top=0;
aI("bgimage=images/xp_button_turq.gif;image=images/xp_eject.gif;overbgimage=images/xp_button_purpon.gif;showmenu=AfroShop;text=Afro-Caribbean SHOP;");
}
with(milonic=new menuname("AfroShop")){
alwaysvisible=0;
itemheight=25;
itemwidth=182;
orientation="vertical";
overflow="scroll";
style=background;
top=32;
aI("showmenu=Hair1;status=Solutions, as used by Milonic;text=Hair, Wigs, etc;");
}
with(milonic=new menuname("Hair1")){
style=background;
overflow="scroll";
aI("text=Hair - human;url=store.php?crn=222;tooltip=A beautiful range of wigs and hair pieces<br>made from human hair - please click here wait for us to search and display the products;tipdelay=200;tipfollow=1;");
aI("text=Hair - synthetic;url=store.php?crn=224;tooltip=A beautiful range of synthetic wigs and hair pieces<br>- please click here wait for us to search and display the products;tipdelay=200;tipfollow=1;");
}
drawMenus();
Yet I still do not get the tooltips working!
So I have created a 'MINIMALIST' page :
http://www.malikonline.co.uk/indextest.php with no possibility of conflicting scripts.
The html is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Malik Stores Online</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="squirrelcart/themes/squirrelcart/store.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data2.js"></script>
<SCRIPT language=JavaScript src="milonictooltips.js" type=text/javascript></SCRIPT>
</body>
</html>
Then I created a new menu_data2 with just one menu column to reduce the possibility of syntax errors.
This is:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=25;
itemwidth=183;
left=0;
orientation="horizontal";
overflow="scroll";
followscroll=0;
style=background;
top=0;
aI("bgimage=images/xp_button_turq.gif;image=images/xp_eject.gif;overbgimage=images/xp_button_purpon.gif;showmenu=AfroShop;text=Afro-Caribbean SHOP;");
}
with(milonic=new menuname("AfroShop")){
alwaysvisible=0;
itemheight=25;
itemwidth=182;
orientation="vertical";
overflow="scroll";
style=background;
top=32;
aI("showmenu=Hair1;status=Solutions, as used by Milonic;text=Hair, Wigs, etc;");
}
with(milonic=new menuname("Hair1")){
style=background;
overflow="scroll";
aI("text=Hair - human;url=store.php?crn=222;tooltip=A beautiful range of wigs and hair pieces<br>made from human hair - please click here wait for us to search and display the products;tipdelay=200;tipfollow=1;");
aI("text=Hair - synthetic;url=store.php?crn=224;tooltip=A beautiful range of synthetic wigs and hair pieces<br>- please click here wait for us to search and display the products;tipdelay=200;tipfollow=1;");
}
drawMenus();
Yet I still do not get the tooltips working!

Test - minimalist page
Tested your files in my PC
had to add the reference to Milonic to make it work with my milonic files.
Even have made a copy of my tooltips.js, to have it named as you do.
I´m using FF 1.5 and IE 6.01, the two tooltips both are visible not only using one of these browsers but in Opera 8.5 too!!
So this code is ok, too.
Do you have a license and really the latest version 5-738 ?
Michael
had to add the reference to Milonic to make it work with my milonic files.
Even have made a copy of my tooltips.js, to have it named as you do.
I´m using FF 1.5 and IE 6.01, the two tooltips both are visible not only using one of these browsers but in Opera 8.5 too!!
So this code is ok, too.
Do you have a license and really the latest version 5-738 ?
Michael
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
Yes - I am licenced for this domain - which is why the menu does not have a return to Milonic; and I am using version 5.735 of November 16, 2005 so that should be OK?
It feels that I cannot use the tooltips [but that's ridiculous] - I just don't know what I can do to resolve this but many thanks for all your time and help.
It feels that I cannot use the tooltips [but that's ridiculous] - I just don't know what I can do to resolve this but many thanks for all your time and help.

Version
Hi
This is the reason, I think, why this code is not working within your files setup. There were some modifications in the past versions. When I introduced some tooltips e.g. , that worked only using the code ....onfunction=showtip..etc. . as I noted earlier.
I did not test it using the 5-735 files but 738 only.
Michael
This is the reason, I think, why this code is not working within your files setup. There were some modifications in the past versions. When I introduced some tooltips e.g. , that worked only using the code ....onfunction=showtip..etc. . as I noted earlier.
I did not test it using the 5-735 files but 738 only.
Michael
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
Versions
Please do not blame Milonic,
they are doing an excellent job for an excellent product, and if you go through this forum, you get so many hints and indirect replies to most of your questions. And it is most difficult, to develop a product and improve it permanently, when the requirements by software, operating systems and users are growing permanently too. And I think, that somewhere you can read, that always the latest version only can be subject of any support to be expected !
Michael
they are doing an excellent job for an excellent product, and if you go through this forum, you get so many hints and indirect replies to most of your questions. And it is most difficult, to develop a product and improve it permanently, when the requirements by software, operating systems and users are growing permanently too. And I think, that somewhere you can read, that always the latest version only can be subject of any support to be expected !
Michael
-
- Advanced
- Posts: 21
- Joined: Wed Dec 21, 2005 3:48 pm
From the top of the tooltips file itself...christopherO wrote:Perhaps Milonic should put a note with tooltips download that this version is needed?
Milonic DHTML Menu Tooltips Module tooltips.js version 2.1 - 20th December 2005
This module is only compatible with the Milonic DHTML Menu version 5.738 or higher
John
-
- Beginner
- Posts: 8
- Joined: Fri Dec 30, 2005 9:02 pm
Tooltips
Just a suggestion if you cannot get the Tooltips to work.
Link removed by Moderator
Link removed by Moderator
no alternative
Hi
Thats not an alternative !!
We talk about a menu system, tooltips are accessory parts.
And you are not following rules of this forum.
Michael
Thats not an alternative !!
We talk about a menu system, tooltips are accessory parts.
And you are not following rules of this forum.
Michael
-
- Beginner
- Posts: 8
- Joined: Fri Dec 30, 2005 9:02 pm
Tooltips
Yikes, my apologies. Yes, it does not have to do with menus, simply tool tips.