473,390 Members | 1,482 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,390 software developers and data experts.

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

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
Aug 12 '08 #1
6 1306
In article
<ec**********************************@f63g2000hsf. googlegroups.com>,
zalek <za********@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>

?

--
dorayme
Aug 12 '08 #2
dorayme wrote:
In article
<ec**********************************@f63g2000hsf. googlegroups.com>,
zalek <za********@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?
--
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"
Aug 12 '08 #3
On Mon, 11 Aug 2008 17:40:42 -0700 (PDT), in comp.lang.javascript
zalek <za********@hotmail.com>
<ec**********************************@f63g2000hsf. googlegroups.com>
wrote:
>| 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.
Aug 12 '08 #4
Bob Barrows [MVP] wrote:
dorayme wrote:
>In article
<ec**********************************@f63g2000hsf .googlegroups.com>,
zalek <za********@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?

--
Ed Mullen
http://edmullen.net
Don't be accommodating, be honest. I honestly don't have much more time
for anything else.
Aug 12 '08 #5
Ed Mullen wrote:
Bob Barrows [MVP] wrote:
>dorayme wrote:
>>In article
<ec**********************************@f63g2000hs f.googlegroups.com>,
zalek <za********@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.
Aug 12 '08 #6
In article <Oj**************@TK2MSFTNGP02.phx.gbl>,
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote:
dorayme wrote:
In article
<ec**********************************@f63g2000hsf. googlegroups.com>,
zalek <za********@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?
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
Aug 13 '08 #7

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

Similar topics

6
by: Mad | last post by:
Hello to all, I am new to vb6 and I have been trying to make a listbox with a horizontal and vertical scrollbar. For example, like the one on the program Address book that is found on all Windows...
6
by: Chris Leuty | last post by:
I am populating a multiselect Listbox from a dataset, with the content of the listbox filled by one table, and the selections determined from another table. So far, I have been keeping the dataset...
4
by: David Webster | last post by:
I have the following bit of code (which works fine): Dim Customer As New CCustomer mFrmOrder.lstCustID.DataSource = Customer.getCustomers.Tables("data") mFrmOrder.lstCustID.DisplayMember =...
1
by: SJ | last post by:
Is it possible to have a Listbox with no scrollbar? I have 3 items in my listbox, and I have the Rows property set to 3. It still shows me the scrollbar. Any way to get rid of the vertical...
3
by: drodrig | last post by:
My apologies if this question has been asked an answered. I am looking for a tkinter grid control or enhanced listbox that can act as a "receipt" for a cash register program. I would like the...
2
by: j.m.osterman | last post by:
I haven't found exactly what I've been trying to do. All I am trying to do for now is just display usernames from Active Directory into a ListBox control on a page. I have found some code...
7
by: Lit | last post by:
Hi, How can I capture the vertical scroll bar position for a Listbox. I have a Listbox of 100 items + when I click on it I post back remove the item selected. After returning to the client...
5
by: WRH | last post by:
Hello I want to have a multicolumn listbox. I never used one before so I looked at a Help example. I set the multicolumn property and the column width and tested with this example... ...
5
by: Romulo NF | last post by:
Greetings, Im back here to show the new version of the drag & drop table columns (original script ). Ive found some issues with the old script, specially when trying to use 2 tables with...
6
by: zalek | last post by:
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
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.