473,237 Members | 1,278 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,237 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 1503
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
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.