| Author: Dharmaraj 09 May 2008 | Member Level: Diamond | Rating: Points: 2 |
Hi, www.dotnet247.com/247reference/msgs/32/163989.aspx
|
| Author: Nithya 10 May 2008 | Member Level: Gold | Rating: Points: 2 |
try this: just adjust the position for displaying tooltip k.
javascript:
function ToolTipEnable(tip) { var theTip = document.getElementById("ToolTip"); theTip.style.top = window.event.clientY + 10;theTip.style.left = window.event.clientX; theTip.innerText = tip.options[tip.selectedIndex].text; theTip.style.visibility = "visible"; }
function ToolTipDisable() { document.getElementById("ToolTip").style.visibility = "hidden"; }
<asp:DropDownList ID="CmpnyDropDown" runat="server" DataValueField="Company_Name" onMouseOver="ToolTipEnable(this)" onMouseOut="ToolTipDisable()"> </asp:DropDownList>
<div id="ToolTip" style="position:absolute;visibility:hidden;background:lightyellow; border:1px solid gray;padding:2px;font-size:8pt;font-family:Verdana;" onmouseout="ToolTipDisable()"> </div>
ALL THE BEST
|
| Author: karthekeyan 11 May 2008 | Member Level: Diamond | Rating: Points: 2 |
www.eggheadcafe.com/community/aspnet/17/10029596/how-to-add-tooltip-in-dro.aspx
|