hi

i want to provide multiline tooltip for selection box items in IE.what to do

Recommended Answers

<html>
<head>
</head>
<body>
<script type="text/javascript" src="wz_tooltip.js"></script>
<script type="text/javascript" src="tip_centerwindow.js"></script>
<script type="text/javascript" src="tip_followscroll.js"></script>
<form method="post">
<select name="test">
<option value="1" onmouseover="Tip('Option 1');" onmouseout="UnTip();">1</option>
<option value="2" onmouseover="Tip('Option 2');" onmouseout="UnTip();">2</option>
<option value="3" onmouseover="Tip('Option 3');" onmouseout="UnTip();">3</option>
<option value="4" onmouseover="Tip('Option 4');" onmouseout="UnTip();">4</option>
<option value="5" onmouseover="Tip('Option 5');" onmouseout="UnTip();">5</option>
</select>
</form>
</body>
</html>

Works …

Jump to Post

All 3 Replies

<html>
<head>
</head>
<body>
<script type="text/javascript" src="wz_tooltip.js"></script>
<script type="text/javascript" src="tip_centerwindow.js"></script>
<script type="text/javascript" src="tip_followscroll.js"></script>
<form method="post">
<select name="test">
<option value="1" onmouseover="Tip('Option 1');" onmouseout="UnTip();">1</option>
<option value="2" onmouseover="Tip('Option 2');" onmouseout="UnTip();">2</option>
<option value="3" onmouseover="Tip('Option 3');" onmouseout="UnTip();">3</option>
<option value="4" onmouseover="Tip('Option 4');" onmouseout="UnTip();">4</option>
<option value="5" onmouseover="Tip('Option 5');" onmouseout="UnTip();">5</option>
</select>
</form>
</body>
</html>

Works fine for <option> tag.

commented: Rapid responder, with good input +2
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.