Click here to Skip to main content
12,073,325 members (68,521 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: menu
Hey guys,

I'm building a car database for Forza 4 on the Xbox 360 and I need some help with making the ASP jump menus. I want the menus to act like a filter basically.

I want the lists themselves to pull the data from the appropriate column in my sql db.

For example, I have a column 'Manufacturer' so I'd want the menu to list out all the manufacturers I entered into the Manufacturers column.

Then for step 2 of the menu, let's say I click on 'Honda' in the manufacturer menu, I want the page to load (or a new page is fine too) where it lists out all the cars (and all the data from the other columns in the db too) that are manufactured by Honda.

I've been looking online for help on how to do this for a week or two with no success. The only thing I found was a javascript where I make my own menu, which works okay, except I have to make a new page for each item in the list (which, after all the filters I want is closing in on like 50 pages).

Here is my current code:

<%@Language="VBScript"%>
<html>
<head>
 
<script language="javascript" type="text/javascript" >
<!--    hide
 
    function jumpto(x) {
 
        if (document.form1.jumpmenu1.value != "null") {
            document.location.href = x
            if (document.form2.jumpmenu2.value != "null") {
                document.location.href = x
                if (document.form3.jumpmenu3.value != "null") {
                    document.location.href = x
                    if (document.form4.jumpmenu4.value != "null") {
                        document.location.href = x
                    }
                }
            }
        }
    }
 
// end hide -->
</script>

Thanks in advance guys!


Jerome
Posted 24-Jul-12 10:38am
Edited 24-Jul-12 10:41am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100