473,385 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Populate Cascading Menu from Database

4
I have a cascading menu, which works great.

Now I am trying to populate the menu from a databas, using ASP.

If anyone can shed some light in this, please help.

I can provide whatever code you may need to view my Java coding.

Thank you,
AFF
Jun 11 '07 #1
2 1761
acoder
16,027 Expert Mod 8TB
This may be an ASP question. Can you post some code please.
Jun 12 '07 #2
fiorea
4
Here is the part of the JS code that I would like to pull from a database.

Thanks.

var menuItems = [

["Home","content.asp?ID=1", "", "", "", "_self", "", "", "", ],
["Roster","", "", "", "", "_self", "", "", "", ],
["|Players","roster.asp?ID=1", "", "", "", "_self", "", "", "", ],
["|Parents","roster.asp?ID=2", "", "", "", "_self", "", "", "", ],
["Leagues","", "", "", "", "_self", "", "", "", ],
["|CJSL Spring 07","league.asp?ID=3", "", "", "", "_self", "", "", "", ],
["|JAGS Spring 07","league.asp?ID=4", "", "", "", "_self", "", "", "", ],
["|KK Indoor Winter 07","league.asp?ID=1", "", "", "", "_self", "", "", "", ],
["|PR Indoor Winter 07","league.asp?ID=2", "", "", "", "_self", "", "", "", ],
["Tournaments","http://deluxe-menu.com/order-purchase.html", "", "", "", "_self", "", "", "", ],
["|East Meadow Indoor 1/07","tour.asp?ID=3", "", "", "", "_self", "", "", "", ],
["|Soccer Coliseum U14 2/07","tour.asp?ID=1", "", "", "", "_self", "", "", "", ],
["|Soccer Coliseum U13 2/07","tour.asp?ID=2", "", "", "", "_self", "", "", "", ],
["|Dix Hills Challenge 3/07","tour.asp?ID=5", "", "", "", "_self", "", "", "", ],
["|Virginian 5/07","tour.asp?ID=4", "", "", "", "_self", "", "", "", ],
["|Pocono Cup 7/07","tour.asp?ID=11", "", "", "", "_self", "", "", "", ],
["|Challenge Brossard 8/07","tour.asp?ID=12", "", "", "", "_self", "", "", "", ],
["|Ref-Fuel 8/07","tour.asp?ID=9", "", "", "", "_self", "", "", "", ],
["|HBC Labor Day 9/07","tour.asp?ID=10", "", "", "", "_self", "", "", "", ],
["Calendar","content.asp?ID=100", "", "", "", "_self", "", "", "", ],
["Directions","directions.asp?ID=1000", "", "", "", "_self", "", "", "", ],
["TeamHistory","", "", "", "", "_self", "", "", "", ],
["|Pocono Cup 7/06","history.asp?ID=6", "", "", "", "_self", "", "", "", ],
["|Fort Dix 7/06","history.asp?ID=7", "", "", "", "_self", "", "", "", ],
["|Hudson Invit. 7/06","history.asp?ID=8", "", "", "", "_self", "", "", "", ],
["Photos","", "", "", "", "_self", "", "", "", ],
["|Pocono Cup 7/06","photos.asp?ID=1", "", "", "", "_self", "", "", "", ],
["Links","", "", "", "", "_self", "", "", "", ],
["|Fire Links","content.asp?ID=15", "", "", "", "_self", "", "", "", ],
["|Submit A Link","content.asp?ID=20", "", "", "", "_self", "", "", "", ],
["Message Board","", "", "", "", "_self", "", "", "", ],
["|View Board","content.asp?ID=18", "", "", "", "_self", "", "", "", ],
["|Post A Message","content.asp?ID=19", "", "", "", "_self", "", "", "", ],
["Edit My Profile","content.asp?ID=21", "", "", "", "_self", "", "", "", ],
];

dm_init();
Jun 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Humpty Dumpty | last post by:
Hi folks, here's a challenge: I have a dynamically created cascading menu in Tkinter that can be quite large because it is created from a file. I tried using lazy creation so only the menu item...
3
by: michelle | last post by:
Hi all, I am new to Tk, or Python GUI programming and I seem to be stuck. I have looked about for help with Tk GUIs, but everything seems so terse or incomplete?? I have been mostly using the...
7
by: Marci | last post by:
I found this script for cascading menus, however, I cannot reach the author to solve the bug I am having when I add a second menu to it. My problem is this: If I click on the first link, the...
1
by: JMosey | last post by:
Not sure if this has been covered ( a google search came up pretty bare). I have a site that: - has multi-level cascading menus - floats center of the browser window - Will have fairly heavy...
5
by: Chris | last post by:
I thought this would be simple and there would be advice / tutorials everywhere for this, but now that I'm working on it, I can't find any reference except for ASP or Javascript code. PHP/MySQL - ...
1
by: dkirkdrei | last post by:
I am using the javascript below in conjuction with PHP to dynamically build a cascading menu of part assemblies from a database. The cascading menu allows the user to "drill" down to the single...
1
by: Anthony | last post by:
Below is a script I found at http://javascript.internet.com/ for a cascading menu. The script works great but there is one thing that I would like modified. BecauseI am just learning javascript,...
0
by: fiorea | last post by:
HELP....I am trying to fill a Javascript Cascading menu using ASP with a connection to my database. If you can help please let me know and I will post some of the code. Please Hurry Thanks
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.