Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-07-2011, 07:12 PM   PM User | #1
Camona2333
New to the CF scene

 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Camona2333 is an unknown quantity at this point
Making multiple drop down boxes appear

Hello everyone! This is my first post and I'm pretty new to advanced HTML/CSS, so please bear with me.

As part of a web page I'm helping develop, there is going to be a page that generates a table comparing certain properties of a given family of organisms. Before I can create the table, I want to let the user decide if they want to sort the resulting table by any of the properties.

I want to make it so there will initially be one drop down box that has all the properties listed, but I want more to appear if the user actually selects a property so there can be secondary, tertiary, etc. sorting capabilities, like there are in Excel spreadsheets. The number of properties is dynamic, so I want as many sort boxes as needed to appear, and if there is a way to not include previously selected properties in subsequent boxes, that would be excellent!

So how would I go about writing the code to do something like this? If it needs Javascript or something like that, I am open to that as well, but I'm inexperienced in Javascript as well.
Camona2333 is offline   Reply With Quote
Old 07-07-2011, 07:41 PM   PM User | #2
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
you will need a few more languages; javascript is the least of your worries. you need to decide if you are going to go .asp or .php- before the question; i would say .asp, but i'm an asp guy. basically what you will do is pull in data from a DB and populate fields. this will go real in depth real quick. I may have a "one track" mind; but this is how i would begin to handle it... i would ask a mod to move this to general web building though- it is beyond the scope of simple html/CSS... best of luck
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote
Reply

Bookmarks

Tags
drop box, multiple, sort

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:12 AM.


Advertisement
Log in to turn off these ads.