Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Nathan Klatt
On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins pauldcoll...@gmail.com wrote:
 I'm have a fixed width on a multiple select box. The problem is, some of the
 options are longer than the width and by default the lines won't wrap. I'm
 wondering if anyone has seen a way of making lines wrap

Multiple selects are a HTML/CSS/browser weakness.

My recommendation is to use checkboxes, styled so they highlight when
:selected and the box doesn't show, named as an array, e.g.,
name=multiSelect[]; put them all in a ul or ol and make wrapping
easy.

Nathan


Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Paul Collins
Thanks Nathan

That's a good idea actually, guess that would work even if you had scripts
turned off...

Will put that to use, thanks again.


On 16 February 2010 16:34, Nathan Klatt n8kl...@gmail.com wrote:

 On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins pauldcoll...@gmail.com
 wrote:
  I'm have a fixed width on a multiple select box. The problem is, some of
 the
  options are longer than the width and by default the lines won't wrap.
 I'm
  wondering if anyone has seen a way of making lines wrap

 Multiple selects are a HTML/CSS/browser weakness.

 My recommendation is to use checkboxes, styled so they highlight when
 :selected and the box doesn't show, named as an array, e.g.,
 name=multiSelect[]; put them all in a ul or ol and make wrapping
 easy.

 Nathan




-- 
--
Porfolio: paulcollinslondon.com
Twitter: twitter.com/paulcollins


Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Nathan Klatt
'Course it's a good idea!

;)

On Tue, Feb 16, 2010 at 11:29 AM, Paul Collins pauldcoll...@gmail.com wrote:
 Thanks Nathan

 That's a good idea actually, guess that would work even if you had scripts
 turned off...

 Will put that to use, thanks again.