/* Milonic DHTML Menu Tooltips Module tooltips.js version 1.1 This module is only compatible with the Milonic DHTML Menu version 5.16 or higher Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved. This is a commercial software product, please visit http://www.milonic.com/ for more information. */ M_ToolTipDelay=500 // Milliseconds after menu has been displayed before showing tooltip M_maxWidth=0 // Sets the maximum width, set to 0 for 100% // The above 2 parameters are the only user definable parameters for this module. // In order to use this module you will also need the Milonic DHTML Menu code files // The syntax for tooltips is: showtip("This is your text With HTML too!") with(M_toolTipStyle=new mm_style()){ offbgcolor = "#009900"; offcolor = "#FFFFFF"; bordercolor = "#FFFFFF"; borderstyle = "solid"; padding = 2 borderwidth = 1 fontsize = "13px"; fontstyle = "normal"; fontfamily = "tahoma, verdana"; overfilter = "Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)" } with(new menuname("M_toolTips")) { top="offset=22" left="offset=10" style=M_toolTipStyle; aI("text=;type=ToolTip;"); } drawMenus() function buildTips(_ttext) // Function for showing Tooltips { _Tmnu=getMenuByName("M_toolTips") // Get a reference to the tooltips menu _Tgm=gmobj("menu"+_Tmnu) // Get the object reference to the tooltips menu if(!ns4&&(!_m[_Tmnu][23]&&!_startM)) // If the menu hasn't been built yet, build it { _m[_Tmnu][23]=_Tmnu // Set the menu built flag BDMenu(_Tmnu) // Build the menu, this only happens once, or at least should do. } _el=_m[_Tmnu][0][0] // Set the menu element reference for building the menu items _mi[_el][1]=_ttext // Set the menu items text. This is the text that will be displayed if(ns4) { dte="