Connecting Tech Pros Worldwide Help | Site Map

listbox with 2 columns and a vertical bar - how to create it in HTML?

  #1  
Old August 12th, 2008, 01:45 AM
zalek
Guest
 
Posts: n/a
Maybe someone can show me an example of a listbox with 2 columns and a
vertical bar created by HTML (JavaScript is OK).

Thanks,

Zalek
  #2  
Old August 12th, 2008, 03:05 AM
dorayme
Guest
 
Posts: n/a

re: listbox with 2 columns and a vertical bar - how to create it in HTML?


In article
<ec56e33c-4584-427d-87a8-a62051c76cac@f63g2000hsf.googlegroups.com>,
zalek <zalekbloom@hotmail.comwrote:
Quote:
Maybe someone can show me an example of a listbox with 2 columns and a
vertical bar created by HTML (JavaScript is OK).
>
Like this:

<http://dorayme.890m.com/alt/listSideBySideScroll.html>

?

--
dorayme
  #3  
Old August 12th, 2008, 12:45 PM
Bob Barrows [MVP]
Guest
 
Posts: n/a

re: listbox with 2 columns and a vertical bar - how to create it in HTML?


dorayme wrote:
Quote:
In article
<ec56e33c-4584-427d-87a8-a62051c76cac@f63g2000hsf.googlegroups.com>,
zalek <zalekbloom@hotmail.comwrote:
>
Quote:
>Maybe someone can show me an example of a listbox with 2 columns and
>a vertical bar created by HTML (JavaScript is OK).
>>
>
Like this:
>
<http://dorayme.890m.com/alt/listSideBySideScroll.html>
>
?
Was this a failure to understand, or were you making the subtle point that
it could not be done?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


  #4  
Old August 12th, 2008, 02:35 PM
Jeff North
Guest
 
Posts: n/a

re: listbox with 2 columns and a vertical bar - how to create it in HTML?


On Mon, 11 Aug 2008 17:40:42 -0700 (PDT), in comp.lang.javascript
zalek <zalekbloom@hotmail.com>
<ec56e33c-4584-427d-87a8-a62051c76cac@f63g2000hsf.googlegroups.com>
wrote:
Quote:
>| Maybe someone can show me an example of a listbox with 2 columns and a
>| vertical bar created by HTML (JavaScript is OK).
>|
>| Thanks,
>|
>| Zalek
<select name="lb" size="1" style="font-family: monospace">

<option>R1C1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;|
R1C2</option>
<option>Row 2 Col1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| Row2
Col2</option>
<option>Row 3 Column 1 | Row 3 Colmn 2</option>
</select>
----------------
IOW, style to use monospaced fonts and use &nbsp; to pad the first
column to the desired width.
  #5  
Old August 12th, 2008, 08:15 PM
Ed Mullen
Guest
 
Posts: n/a

re: listbox with 2 columns and a vertical bar - how to create it in HTML?


Bob Barrows [MVP] wrote:
Quote:
dorayme wrote:
Quote:
>In article
><ec56e33c-4584-427d-87a8-a62051c76cac@f63g2000hsf.googlegroups.com>,
>zalek <zalekbloom@hotmail.comwrote:
>>
Quote:
>>Maybe someone can show me an example of a listbox with 2 columns and
>>a vertical bar created by HTML (JavaScript is OK).
>>>
>Like this:
>>
><http://dorayme.890m.com/alt/listSideBySideScroll.html>
>>
>?
>
Was this a failure to understand, or were you making the subtle point that
it could not be done?
Hmm. It wasn't clear in the OP but I'm guessing you said this because
you think the OP wants two columns with ONE scroll bar? Yes?

--
Ed Mullen
http://edmullen.net
Don't be accommodating, be honest. I honestly don't have much more time
for anything else.
  #6  
Old August 12th, 2008, 08:25 PM
Bob Barrows [MVP]
Guest
 
Posts: n/a

re: listbox with 2 columns and a vertical bar - how to create it in HTML?


Ed Mullen wrote:
Quote:
Bob Barrows [MVP] wrote:
Quote:
>dorayme wrote:
Quote:
>>In article
>><ec56e33c-4584-427d-87a8-a62051c76cac@f63g2000hsf.googlegroups.com>,
>>zalek <zalekbloom@hotmail.comwrote:
>>>
>>>Maybe someone can show me an example of a listbox with 2 columns
>>>and a vertical bar created by HTML (JavaScript is OK).
>>>>
>>Like this:
>>>
>><http://dorayme.890m.com/alt/listSideBySideScroll.html>
>>>
>>?
>>
>Was this a failure to understand, or were you making the subtle
>point that it could not be done?
>
Hmm. It wasn't clear in the OP but I'm guessing you said this because
you think the OP wants two columns with ONE scroll bar? Yes?
>
Yes. The OP after all does say "a listbox", so an example showing two
listboxes is probably not what the OP wants.
Jeff showed a kludge to accomplish this. Hopefully that will satisfy the
OP.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


  #7  
Old August 13th, 2008, 01:05 AM
dorayme
Guest
 
Posts: n/a

re: listbox with 2 columns and a vertical bar - how to create it in HTML?


In article <Oj0Dl8G$IHA.1224@TK2MSFTNGP02.phx.gbl>,
"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcomwrote:
Quote:
dorayme wrote:
Quote:
In article
<ec56e33c-4584-427d-87a8-a62051c76cac@f63g2000hsf.googlegroups.com>,
zalek <zalekbloom@hotmail.comwrote:
Quote:
Maybe someone can show me an example of a listbox with 2 columns and
a vertical bar created by HTML (JavaScript is OK).
>
Like this:

<http://dorayme.890m.com/alt/listSideBySideScroll.html>

?
>
Was this a failure to understand, or were you making the subtle point that
it could not be done?
Looks like it was a too hasty response of mine and was a failure to take
the OP literally. I simply thought he meant to have a couple of lists
and to have some scrollbars and was not making any point beyond this.

(I am not capable of great subtlety, I am sort of Australian you see...)

--
dorayme
Closed Thread