473,385 Members | 1,642 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,385 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 1305
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, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve 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
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.