473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

how to enable a HSCroll bar and displaya tool tip

hello Frendz,

1.I want to display a tool tip for each item in multi select
box(list box) in a web page.
2.i want to enable the horizondal scroll for the list box.
if any genius knows the solution .pls reply me.
regards,
Deeps
Jul 20 '05 #1
1 4602
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!!!
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Deepak | last post by:
hello Frendz, 1.I want to display a tool tip for each item in multi select box(list box) in a web page. 2.i want to enable the horizondal scroll for the list box. if any genius knows the...
1
by: news.microsoft.com | last post by:
Hi, When I process a HScroll scroll event I get one event fired for a increase value using the > button. When I make a User control with a HScroll on it and catch the message and forward my...
1
by: Deepak | last post by:
hello Frendz, 1.I want to display a tool tip for each item in multi select box(list box) in a web page. 2.i want to enable the horizondal scroll for the list box. if any genius knows the...
1
by: Gates72 | last post by:
Hi Gurus, I am attempting to derive a User Control from the ScrollableControl class. I need to have control over which scrollbars get displayed. According to MSDN: "To manually override...
0
by: Bob | last post by:
I implemented a ScrollableControl and only want vertical scrolling. Every time I make the form smaller then the control the control has h scroll bars even though I set it to false. I have the...
1
by: Jayender | last post by:
Hi, I have an ActiveX control (to display the Images),I have added the reference of that in my web based applicaton .and added the ocx in my tool bar , but the viewer (activex component- ocx ) is...
8
by: rongchaua | last post by:
Hi all, i would like now to disable and enable network adapter programmatically with c#. I have searched but found nothing useful. There's no topic about this problem. Has someone done with this...
9
by: 7stud | last post by:
Hi, I'm trying to allow for a horizontal scrollbar on a textarea, but the scrollbar won't appear when I enter a long string of text(by leaning on one character on my keyboard): import wx ...
1
by: =?Utf-8?B?RUVL?= | last post by:
I cannot enable my Automatic Updates. Whenever I enable it, it goes directly to disable. I hve a Windows security Alert constantly in my tool bar. When I click on that, I can't even switch...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.