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

Tool tip issues

Poster: dbaron
Dated: Tuesday January 6 2004 - 19:24:06 GMT

I am trying to implement tool tips in my horizontal menu bar. The tips come up as expected, but there are a couple of issues that I would like to raise.

The first issue has to do with the Maximum Width (M_maxWidth var in the .js file). It seems that no matter what I entered there, the tips would come out 'full length'. So I examined the code and there appeared to be a block within the buildTips() function that dealt with max length:


The line beginning with spos was commented out. I uncommented it and it seems to work fine now on IE6 (Windows), but not NS7.1. So, the questions are: Was this supposed to be commented out? Is there any danger in un-commenting it? When will it work properly on Netscape?

The second issue has to do with tool tip placement on the screen. When you have tips that appear 'near' the right edge of the page, they can easily go 'beyond' the page width - many time almost completely being displayed 'off-screen'. Since the tips are really menu objects, do you think you could enhance the code a bit to force the tip to the left enough so that it is completely visible - just like you do with real popup menu objects?

Thank you.

M_maxWidth ???

Poster: gardenguy
Dated: Sunday July 25 2004 - 11:29:09 BST

I too wonder how M_maxWidth is supposed to work. Setting it has no effect on the width of the tip.
The code referenced in this post is no longer in there.
In fact M_maxWidth does only appears the one time in tootips.js.
Please advise how one caused the tips to wrap in a pixel or % of window.