Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2009, 05:25 PM
v7n Mentor
Latest Blog:
None

 
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 665
iTrader: 0 / 0%
Leon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of lightLeon is a glorious beacon of light
Multi Option Jump Menu

Hey Gang,

I'm looking for a script that'll allow me to use 3 Drop Down Select Boxes and a Go button to take some to a specified address.

The 3 drop boxes do not need to be dynamic infact I don't want them to be because the 3 boxes will be: "Category", "Number on Page", and "Order".
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #2 (permalink)  
Old 07-04-2009, 07:06 PM
Costin Trifan's Avatar
Coding Tiger
Latest Blog:
Compress output

 
Join Date: 04-13-07
Location: Romania
Posts: 3,279
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Send a message via Yahoo to Costin Trifan
something like this?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form> <select name="category" id="category"> <option value="1">cat name 1</option> <option value="2">cat name 2</option> <option value="3">cat name 3</option> </select> <select name="number_on_page" id="number_on_page"> <option value="1">cat name 1</option> <option value="2">cat name 2</option> <option value="3">cat name 3</option> </select> <select name="order" id="order"> <option value="1">order 1</option> <option value="2">order 2</option> <option value="3">order 3</option> </select> <input type="button" name="go" value="GO" onclick="navigate()" /> </form> <script type="text/javascript"> function navigate() { var s1 = document.getElementById('category') ,s2 = document.getElementById('number_on_page') ,s3 = document.getElementById('order') ; var sel1 = s1.options[s1.selectedIndex].value ,sel2 = s2.options[s2.selectedIndex].value ,sel3 = s3.options[s3.selectedIndex].value ; // validation? // to do... //else var base_url = "http://website.com"; base_url += "?cat="+sel1+"&nop="+sel2+"&order"+sel3; // redirect //window.location.href = base_url; // DEBUG MODE: alert(base_url); } </script> </body> </html>
__________________

my private spice

...to be continued
Digg this Post!Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google PR Jump timtom SEO Forum 25 10-09-2006 02:24 AM
DHTML Menu | Drop Down Menu Pen Tongue SEO Forum 4 01-06-2005 07:18 PM
DHTML Menu slide menu how to make it relative to table ajay201975 Web Design Lobby 0 05-25-2004 10:54 AM
Jump for Joy ATLien Google Forum 11 05-14-2004 12:12 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


Site Navigation: v7n Home .::. Graphics .::. Scripts .::. V7N Web Directory .::. V7N Technology Blog .::. V7N Affiliate Program .::. Advertise

Partners: Search Engine Optimisation .::. Dedicated Server Hosting .::. Webmaster Talk .::. CPA Affiliates .::. Dedicated Server Hosting

Site Sponsored by a Hivelocity Dedicated Server.
SEO Consult, International SEO Experts
Dedicated Server Hosting
All times are GMT -7. The time now is 01:43 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.