Forums Archive Index > SmartMenus 5 > Tooltips

Author: Kitten

Date: 30 May 2005 2:15 pm

Yep, its me again :wink:

I've been looking at your tooltips example and I've been pondering whether there is a way to have the tooltips display for the submenus? I see you used onClick and onMouseOver, I assume it has to be this way so as to not cause some confusion for the script.

Taking into consideration that my submenus are text and that I would like the tooltips to show onMouseOver, is this possible or am I grasping at straws again? :?


Author: smartmenus

Date: 2 Jun 2005 3:30 am

Well, you can achieve it by making a given "tooltip" menu a sub menu of the item you want a tooltip for. You can then set UseSubImg:false for the item so that no sub menu indicator image is displayed. You can also tweak a bit the position of the "tooltip" by setting custom top and left position of the tooltip menu- you can use the defaultX and defaultY keywords when setting T (top) and L (left) for that menu. For more details, please take a look at the "Important howtos" -> "7. To define custom position for any sub menu" in the manual.

There is also another simple way to define a tooltip for any menu item- just set the Title menu item property and most browsers will display its value in a tooltip when the cursor is over the menu item.


Author: Kitten

Date: 2 Jun 2005 1:41 pm

Thanks Vasil :)

I'll give it a try.