473,398 Members | 2,165 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,398 software developers and data experts.

neaten-ing Combo boxes question

I have a page where I have some combo boxes on it. A click on each one
spawns another box, and another until each area has been selected, or until
they choose to pull all items into a datagrid from that category.

For instance:

say the first combo has in it:

meat
dairy

second combo box, depending on which first one you clicked on would have:
lamb
beef
pork
fish

or
milk
butter
cheese

third one may have 10 selections in it and the 4th combo box would have say
5 in it.

I've got the items displaying in the datagrid, but the combo boxes are still
up at the top.

Is there a way to make the bottom of the combo boxes be at a certain level,
and not mess up my datagrid, and not overwrite items above it on the page?

I can hide the whole thing, but that is like a final alternative. If I
could, I'd rather shrink the box down to the selection.

The combo boxes are loaded so as to not have scrollbars in them (which is
still a requirement).

Any help appreciated.

Thanks

SC

Nov 18 '05 #1
4 1510
Steve
Why not nest the boxes in a table and set the valign = bottom for the table cell

----- Steve Chatham wrote: ----

I have a page where I have some combo boxes on it. A click on each on
spawns another box, and another until each area has been selected, or unti
they choose to pull all items into a datagrid from that category

For instance

say the first combo has in it

mea
dair

second combo box, depending on which first one you clicked on would have
lam
bee
por
fis

o
mil
butte
chees

third one may have 10 selections in it and the 4th combo box would have sa
5 in it

I've got the items displaying in the datagrid, but the combo boxes are stil
up at the top

Is there a way to make the bottom of the combo boxes be at a certain level
and not mess up my datagrid, and not overwrite items above it on the page

I can hide the whole thing, but that is like a final alternative. If
could, I'd rather shrink the box down to the selection

The combo boxes are loaded so as to not have scrollbars in them (which i
still a requirement)

Any help appreciated

Thank

S


Nov 18 '05 #2
They're already in a table, and that's kinda what I wanted them to do, but I
haven't been able to find the property on the table to do that setting with.
Was trying to get away from having to dink around in the html.

Steve
"Barry Forrest" <ba***********@ps.net> wrote in message
news:E5**********************************@microsof t.com...
Steve,
Why not nest the boxes in a table and set the valign = bottom for the table cell?
----- Steve Chatham wrote: -----

I have a page where I have some combo boxes on it. A click on each one spawns another box, and another until each area has been selected, or until they choose to pull all items into a datagrid from that category.

For instance:

say the first combo has in it:

meat
dairy

second combo box, depending on which first one you clicked on would have: lamb
beef
pork
fish

or
milk
butter
cheese

third one may have 10 selections in it and the 4th combo box would have say 5 in it.

I've got the items displaying in the datagrid, but the combo boxes are still up at the top.

Is there a way to make the bottom of the combo boxes be at a certain level, and not mess up my datagrid, and not overwrite items above it on the page?
I can hide the whole thing, but that is like a final alternative. If I could, I'd rather shrink the box down to the selection.

The combo boxes are loaded so as to not have scrollbars in them (which is still a requirement).

Any help appreciated.

Thanks

SC

Nov 18 '05 #3

Nov 18 '05 #4
Steve
It doesn't get much easier than <td valign="bottom">

----- Steve Chatham wrote: ----

They're already in a table, and that's kinda what I wanted them to do, but
haven't been able to find the property on the table to do that setting with
Was trying to get away from having to dink around in the html

Stev
"Barry Forrest" <ba***********@ps.net> wrote in messag
news:E5**********************************@microsof t.com..
Steve
Why not nest the boxes in a table and set the valign = bottom for th table cell
----- Steve Chatham wrote: ----
I have a page where I have some combo boxes on it. A click on eac on spawns another box, and another until each area has been selected, o unti they choose to pull all items into a datagrid from that category
For instance
say the first combo has in it
mea dair
second combo box, depending on which first one you clicked on woul

have lam
bee
por
fis
o mil
butte
chees
third one may have 10 selections in it and the 4th combo box woul

have sa 5 in it
I've got the items displaying in the datagrid, but the combo boxe
are stil up at the top
Is there a way to make the bottom of the combo boxes be at a certai
level and not mess up my datagrid, and not overwrite items above it on th page I can hide the whole thing, but that is like a final alternative. I

could, I'd rather shrink the box down to the selection
The combo boxes are loaded so as to not have scrollbars in the
(which i still a requirement)
Any help appreciated
Thank
S

Nov 18 '05 #5

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

Similar topics

7
by: Dr John Stockton | last post by:
What are the best ways of returning multiple results from a subroutine ? I've been using ... return } which is inelegant. I'm used to Pascal's procedure X(const A, B : integer; var C, D :...
9
by: Rick Cook | last post by:
I would like to do a response form on one of my sites instead of posting an e-mail address for spammers. I've taken a couple of examples from sites, but the code looks clunky and non-conformant to...
9
by: Aaron Gray | last post by:
Hi, I am after a free or open source C++ code reformatter. Basically to change tabs from 3 to 2 and use spaces instead of tabs. And hopefully to neaten up code. Aaron
3
by: Lee Dilworth | last post by:
Simple example how can I produce a list of tables and their indexes in this format: Col1 Col2 Tab1 Index1forTab1 Index2forTab1 Index3forTab1 Tab2 Index1forTab2
4
by: Alexander Gorshenev | last post by:
I am looking for an elegant solution for the following problem: I have two projects for which I have to create a kind of bridge or translator between. For each of the projects there exist a set...
6
by: Craig Lister | last post by:
I am trying to get a list of all files in a directory (Recursivly). The way I am trying to do it, it looks like I need to add an array of items to an array of items. The way I am ACTUALLY doing...
1
by: rajesh | last post by:
var fixedX = -1 // x position (-1 if to appear below control) var fixedY = -1 // y position (-1 if to appear below control) var startAt = 0 // 0 - sunday ; 1 - monday var showWeekNumber =...
4
by: bmgz | last post by:
I have a simple DHTML gallery: <script> viewPhoto(thumb){ function viewPhoto(thumb){ document.getElementById('mainPhoto').src=thumb.href; return false; } </script>
4
by: Andrew Bullock | last post by:
Hi, I've made my own class (we'll call it myClass) to simply store some data. I'm storing multiple instances myClass in a list: List<myClass> myList = new List<myClass>(); myList.Add(new...
4
by: 4zumanga | last post by:
I have a bunch of really horrible hacked-up bash scripts which I would really like to convert to python, so I can extend and neaten them. However, I'm having some trouble mapping some constructs...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.