[jQuery] Re: Line Wrap on Multiple Select Box

2007-04-27 Thread Sharan
Thanks for the replies guys. I think the best solution would be show the tooltip when hovering over the option. Sharan. On Apr 27, 1:49 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > My suggestion would be to set the title attribute of those options to equal > the text. Then, when you hover over

[jQuery] Re: Line Wrap on Multiple Select Box

2007-04-27 Thread Rob Desbois
My suggestion would be to set the title attribute of those options to equal the text. Then, when you hover over the whole text will be shown. Not entirely sure how you'd select the ones which are longer though - probably some checking of widths would achieve that. On 4/26/07, Ⓙⓐⓚⓔ <[EMAIL PROTECT

[jQuery] Re: Line Wrap on Multiple Select Box

2007-04-26 Thread Ⓙⓐⓚⓔ
Sharan, I think the right way to code long lines is by inserting the return where you want it. Administration, Management, Marketing, Realty Etc. If a simple style like option{white-space:pre} works well enough for you (firefox likes it) you are done, otherwise you'll have to re-code the to

[jQuery] Re: Line Wrap on Multiple Select Box

2007-04-26 Thread Glen Lipka
In Firefox you can put "white-space: normal" on the tag. Couldn't seem to figure it out in IE. Maybe take a look at EXT's combobox. http://www.extjs.com/deploy/ext/examples/form/combos.html Check the plugins on jquery.com to see if someone made a multiple select box replacement. Hope this help

[jQuery] Re: Line Wrap on Multiple Select Box

2007-04-26 Thread Sharan
Yes Glen, here is the page which i m talking about : http://akswebsolutions.com/projects/jobsfed3/index3.html At the bottom under the occupations title you can see three select boxes. now i can't increase their width but some entries may be longer than the width of the select box. So i want tha

[jQuery] Re: Line Wrap on Multiple Select Box

2007-04-26 Thread Glen Lipka
Could you post an example? Glen On 4/26/07, Sharan <[EMAIL PROTECTED]> wrote: Hello, This isn't jquery specific. But is there any way to wrap the long option in a multiple select box using javascript or any other way. Even if this is not possible then what is the best way to show the lon