NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Website Development
Reload this Page Updating one menu using another?

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-02-2005, 03:16 PM THREAD STARTER               #1 (permalink)
Senior Member
 
Shorty's Avatar
Join Date: Sep 2005
Location: England
Posts: 1,034
Shorty is just really niceShorty is just really niceShorty is just really niceShorty is just really nice
 



Updating one menu using another?


Hey. I'm working on a project in which I need one drop down menu to change according to a selection made in another. The problem is, I don't have a damn clue how. Let's for example say I have this simple code:

HTML Code:
<select name="category">
<option>1</option>
<option>2</option>
<option>3</option>
</select>

<select name="subcategory">
<option>1a</option>
<option>1b</option>
<option>1c</option>
</select>
Ok, so no matter what they select in the category menu, 1a, 1b and 1c will be showed in the subcategory menu. My question is, if I have 2 other sets of menu options that correspond to the other 2 category options, how do I update the second menu to display them?
????: NamePros.com http://www.namepros.com/website-development/137050-updating-one-menu-using-another.html

Thank you in advance for your help.
Shorty is offline  
Old 11-03-2005, 09:17 AM   #2 (permalink)
JFS
NamePros Regular
 
JFS's Avatar
Join Date: Oct 2005
Location: Portugal
Posts: 800
JFS is a name known to allJFS is a name known to allJFS is a name known to allJFS is a name known to allJFS is a name known to allJFS is a name known to allJFS is a name known to allJFS is a name known to all
 



i'm not understanding correctly.
let me see if i can see what you want.
you want a dropmenu with several options right?
and each option to have it's "submenu" right?
if so it's easy, if not please explain more.
if it is the one i think i will post the code here after you say yes or no.
__________________
Joćo Fernandes Silva
JFS is offline  
Old 11-03-2005, 10:12 AM   #3 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



Originally Posted by Shorty
Hey. I'm working on a project in which I need one drop down menu to change according to a selection made in another. The problem is, I don't have a damn clue how. Let's for example say I have this simple code:

HTML Code:
<select name="category">
<option>1</option>
<option>2</option>
<option>3</option>
</select>

<select name="subcategory">
<option>1a</option>
<option>1b</option>
<option>1c</option>
</select>
Ok, so no matter what they select in the category menu, 1a, 1b and 1c will be showed in the subcategory menu. My question is, if I have 2 other sets of menu options that correspond to the other 2 category options, how do I update the second menu to display them?
????: NamePros.com http://www.namepros.com/showthread.php?t=137050

Thank you in advance for your help.
Sounds like you're looking for something like this:
http://www.dynamicdrive.com/dynamici...hainedselects/

There is also an AJAX (Asynchronous JavaScript and XML - if you're not familiar with AJAX, I would recommend reading up on it over at Wikipedia) version that as you might have guessed, reads XML to store and control the selects, which might be an option for you.

-Steve
stscac is offline  
Old 11-03-2005, 10:17 AM THREAD STARTER               #4 (permalink)
Senior Member
 
Shorty's Avatar
Join Date: Sep 2005
Location: England
Posts: 1,034
Shorty is just really niceShorty is just really niceShorty is just really niceShorty is just really nice
 



stscac that is exactly what I needed, thank you very very much! I'll update your reputation accordingly.
Shorty is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to install a pulldown menu lorddomain Web Development Wanted 6 11-03-2005 04:12 PM
<< Sunday Menu >> domainsusi Domains For Sale - Make Offer 0 10-30-2005 01:04 PM
Menu Design - **$100** $$$$cash$$$$$ dev99 Contests Forum 0 10-30-2005 09:38 AM
Menu Design - $100 $$$$cash$$$$$ dev99 Web Development Wanted 0 10-30-2005 04:45 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 12:45 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger