Deepak wrote:
hello Frendz,
1.I want to display a tool tip for each item in multi select
box(list box) in a web page.
This one's easy. I think you're talking about a structure like this.
<select multiple="multiple">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
To get a tooltip, just add a title attribute to each <option>
element. IIRC, it doesn't work in IE, but who cares. It works in
standards compliant browsers (well, I know it works in, at least,
Mozilla). There is no way, unless someone has a javascript method, to
do it in IE.
eg.
<option value="1" title="Title Text...">Option 1</option>
If you also add a title attribute to the <select> element, it will be
shown for options that don't have a title attribute. It will not show
both the select title and the option title at the same time.
2.i want to enable the horizondal scroll for the list box.
if any genius knows the solution .pls reply me.
regards,
Deeps
You could try the CSS 'overflow: scroll;' property, but no
guarentees. I don't have time to test it, you can do that.
--
Lachlan Hunt
http://www.lachy.id.au/ la**********@lachy.id.au.update.virus.scanners
Remove .update.virus.scanners to email me,
NO SPAM and NO VIRUSES!!!