tootips

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Can you please give us a link to the page so we can find what is going on?

Ruth
pieter53
Super Advanced
Super Advanced
Posts: 44
Joined: Sat Nov 18, 2006 9:49 am
Location: Schoonoord, The Netherlands
Contact:

Post by pieter53 »

Sorry, I should have tought about that :oops:
I have uploaded only two files of my site here
Only extern links and the links: Index->A and Index ->B will work.
(Sorry my site is written in Dutch)

As you see: all works fine! GREAT!

Now this is a part of menu_data.js of that URL.
style=menuStyle;
aI("text=START;url=file:///d:/Mijn%20documenten/%23Websites/Boek%20menu/boek/index.html;tooltip=Openingspagina;")
aI("showmenu=Index;text=Index;");
aI("showmenu=Plaatjes;text=Afbeeldingen;");

When I change this part in (only the third line is changed):
style=menuStyle;
aI("text=START;url=file:///d:/Mijn%20documenten/%23Websites/Boek%20menu/boek/index.html;tooltip=Openingspagina;")
aI("showmenu=Index;text=Index;tooltip=Alfabetische index;");
aI("showmenu=Plaatjes;text=Afbeeldingen;");

The tooltip of "Index" will, but the submenu of "Index" won't show, as you can see here.
The rest works as it did before.

It would be nice if a tooltip in a menu on a higher level worked, but I'm already satisfied with the one that works. It was more then I expected of something that you can get for free.
Thanks for these wonderful scripts!

ps. Another question (a bit off topic): how can I place an blanc before the text in a tooltiptext?
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Hello,

See this message I placed on this forum not long ago:
http://milonic.com/forum/viewtopic.php?t=8137

The tooltips have a couple of quirks. Try to delay the time of the tooltip so it appears a little late. Also, if you recently upgraded your menus, install the tooltips module again.

Hope this helps.
pieter53
Super Advanced
Super Advanced
Posts: 44
Joined: Sat Nov 18, 2006 9:49 am
Location: Schoonoord, The Netherlands
Contact:

Post by pieter53 »

I first uploaded the same tooltips module again and the submenu popped-up, but the tooltip of the mainmenu didn't.
Then I downloaded a new zip and used that tooltip module. Now the tooltip in the mainmenu shows again, but the submenu won't show.

I think I have to wait till a new tooltips.js is made. No problem. The menu is great anyway!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The problem is the url in the Start section. This doesn't work

Code: Select all

file:///d:/Mijn%20documenten/%23Websites/Boek%20menu/boek/index.html;
But, if you remove the file part of it, then both the tooltips and the menus show.

Code: Select all

d:/Mijn%20documenten/%23Websites/Boek%20menu/boek/index.html;
Ruth
pieter53
Super Advanced
Super Advanced
Posts: 44
Joined: Sat Nov 18, 2006 9:49 am
Location: Schoonoord, The Netherlands
Contact:

Post by pieter53 »

Thank you for spending more time on my problem.

Changed menu_data.js of this this one in:

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=1;
overflow="scroll";
left=10;
top=10;
style=menuStyle;
aI("text=START;url=http://home.hetnet.nl/%7Ehkfilm-stills/ ... ingspagina;")
aI("showmenu=Index;text=Index;tooltip=Alfabetische index;");
aI("showmenu=Plaatjes;text=Afbeeldingen;");

Also uploaded a new tooltips.js after that, but as you can see, it still doesn't work :?
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Pieter53,

I downloaded your site and changed the tooltip delay time and it worked. See here:

http://www.vikenk.com/test/a.html

You can see that the Tooltip works on "Start" and on "Index" and does NOT prevent the Index submenu from appearing. This was your original problem, right? The submenu was not appearing with the tooltip in place?

I changed the tooltip delay time, like I mentioned before. Change this:

Code: Select all

M_ToolTipDelay=00    // Milliseconds after menu has been displayed before showing tooltip
To this:

Code: Select all

M_ToolTipDelay=200    // Milliseconds after menu has been displayed before showing tooltip
For some reason, when the tooltip delay is too short, it prevents the submenu from appearing. I believe this is a bug in the code and needs to be looked at by Milonic. Ruth, can you make any suggestions to Andy?

--
Viken K.
http://www.vikenk.com
http://www.sayatnova.com
pieter53
Super Advanced
Super Advanced
Posts: 44
Joined: Sat Nov 18, 2006 9:49 am
Location: Schoonoord, The Netherlands
Contact:

Post by pieter53 »

You are great! (and I am a bit stupid, because at first, I couldn't find the tooltipdelay :cry: )
For those who are as stupid as I am: you'll find "M_ToolTipDelay=" in tooltips.js

Why don't set "M_ToolTipDelay" to 200 as default in tooltips.js?
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Hi Pieter53,

It looks like the Toolips module has been changed. The default delay time used to be 300, if I remember correctly. Now the default is time 00.

--
Viken K.
http://www.vikenk.com
http://www.sayatnova.com
pieter53
Super Advanced
Super Advanced
Posts: 44
Joined: Sat Nov 18, 2006 9:49 am
Location: Schoonoord, The Netherlands
Contact:

Post by pieter53 »

The default delay time used to be 300, if I remember correctly. Now the default is time 00.
Won't be hard to change that again, isn't it?

Thanks for all your help!
My new site and the menu are not finished yet, but if you want to see it, you can find it here.
(As I like the menu so much, I have put the milonic link on top of every page.)

Thanks again, greetings Pieter
pieter53
Super Advanced
Super Advanced
Posts: 44
Joined: Sat Nov 18, 2006 9:49 am
Location: Schoonoord, The Netherlands
Contact:

Post by pieter53 »

Here I am again.
As I like the menu so much, I have put the milonic link on top of every page.
Sorry, for a better lay-out I had to remove the link on the indexpage to the bottum.

For your information.
I wanted the tooltips appear above the cursor.
That is quite easy to do, but when the tooltip appears behind the cursor (some tooltips contain more lines) it disappears immediately.
So I had to put the tooltip a bit to the right.
Putting the tooltip higher wasn't a good solution because some tooltips have onle one line and some have three. The ones with one line would appear too far away from the cursor, if I put the 3-line tooltip high enough not to touch the cursor.

That's all.
My site.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

That's OK :) The site looks very nice and the tooltips seem fine!

Ruth
Post Reply