Dynamic Drop Downs - What do I need & How do I do it? Ahh!

J

J. L. Orozco

I have a whole bunch of PDF files (based on AutoCAD drawings) I need to share.

I have the PDFs organized into Buildings->Floors->Description.

Ideally, what I'd like is for a user to select a Building Number from a Drop Down Box...

then automagically a new Drop Down Box appears for the various Floor options of the "Selected Building".... Once the floor is selected on that building... yet another box dynamically appears giving the user the last set of options for that floor: electrical, plumbing, architectural...etc. Once the final option is selected the pdf file (drawing) will begin to load in a frame.

Please help. I know this sort of application is trivial for some of you.
 
M

MD Websunlimited

Hi J. L. Orozco,

Take a look at J-Bots Category Jump Menu.
http://www.websunlimited.com/order/Product/navigation/Category.htm

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to protect your web pages Page Protector Pro
http://www.websunlimited.com/order/Product/PagePro/pagepro.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible


J. L. Orozco said:
I have a whole bunch of PDF files (based on AutoCAD drawings) I need to share.

I have the PDFs organized into Buildings->Floors->Description.

Ideally, what I'd like is for a user to select a Building Number from a Drop Down Box...

then automagically a new Drop Down Box appears for the various Floor options of the "Selected Building".... Once the
floor is selected on that building... yet another box dynamically appears giving the user the last set of options for that
floor: electrical, plumbing, architectural...etc. Once the final option is selected the pdf file (drawing) will begin to load in
a frame.
 
K

Kevin Spencer

All of those things are possible. Just modify the code as necessary.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

J.L. Orozco said:
First, thanks for the quick reply.

I had a question though:

Using that code, is there a way to modify it so that one drop-down
box is all that you see @first...then...(1) once a selection is made ---->
the page reloads showing the second drop-down box...then repeat 1...until
the last box is shown and that selection is made does it DO SOMETHING ?
I would appreciate any comments on this. Thanks.

J.L.
Floor options of the "Selected Building".... Once the floor is selected
on that building... yet another box dynamically appears giving the
user the last set of options for that floor: electrical, plumbing,
architectural...etc. Once the final option is selected the pdf file
(drawing) will begin to load in a frame.you.
 
C

clintonG

Hey J.L.

I am a degreed architect and have worked with AutoCAD for a long
time. I've been developing web applications for several years. The
quick anwer to your last question is 'yes' but the most appropriate
methodology is a matter of context.

For example, using ASP we can display a collection of list items in
a single DropDownList and keep going back to the server to rebuild
and repopulate the DropDownList with new list items or rebuild the
page with additional DropDownLists as desired. Is it efficient? Nope.

When doing that we wouldn't even need the JavaScript you have been
referred to as the functionality we are discussing would be processed
on the server using ASP (or another server-side scripting language such
as PHP) instead of JavaScript (JScript) which can be used to generate
ASP on the server but is not common as JavaScript is too complex for
too many people to understand.

Using ASP.NET -- even more complex but infinitely more powerful and
eventually when learned actually easier to write code -- we have newer
and more efficient methodologies. Especially when able to rely on the
advanced capabilities of IE which are not required but do provide greater
value.

I may as well also help you understand something else. This particular
functionality we are discussing is actually called a "dependent listbox"
and you should submit that to Google to get a broader perspective.

Finally, there are a lot of jerks around like doctors, the grocer, Ahab the
Arab that owns the gas station and many others that insist for some strange
reason that I give them federal reserve notes in exchange for their products
and services. The nerve! So I'm compelled to ask for the same if you need
some help writing software... :)

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

[1]
http://msdn.microsoft.com/library/d...dataindependentlistboxcontrolsvisualbasic.asp




J.L. Orozco said:
First, thanks for the quick reply.

I had a question though:

Using that code, is there a way to modify it so that one drop-down box
is all that you see @first...then...(1) once a selection is made ----> the page
reloads showing the second drop-down box...then repeat 1...until the last box is
shown and that selection is made does it DO SOMETHING ?
I would appreciate any comments on this. Thanks.

J.L.
Floor options of the "Selected Building".... Once the floor is selected on
that building... yet another box dynamically appears giving the user
the last set of options for that floor: electrical, plumbing,
architectural...etc. Once the final option is selected the pdf file
(drawing) will begin to load in a frame.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top