473,386 Members | 1,699 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,386 software developers and data experts.

Are drop-down menu itmes stored in table?

We are developing specs. for a website for a nonprofit org, with
database for membership related functions.

But..question is regarding drop down menu links. We will have 20
category-pages, and each page will have 30-50 links- unique to that
page, so 1000+ total for site- on a drop down menu. Need we assume
that such links (both plain english description to appear on site, and
actual URL to link to- so 2 pieces data really for each link(?)) are
stored in a table on site or in our main database, or are they somehow
embedded into each menu on individual pages. We will have an admin
area allowing us to change them in either event, I assume, but we just
want to know if we must design in storage and search for such link
info in main database. Either Access or SQL. Thanks.
Nov 12 '05 #1
3 1535
I would definately store that info in a table. Administration is much
easier and so is dealing with the controls themselves.

I actually do something similar on a site and it works well. Just in
case it's applicable, here's what I do there:

1. Two lookup tables, one stores a list of departments and the first
half of a page name, the other stores areas in those departments and
the second half of the page name.

2. The user selects a department.

3. The user selects a work station and clicks Go. At that point, the
first and second half of the page names are combined, and the correct
page is accessed.

This allows me to store a lot less in my tables to access my 300+
pages as I don't have to account for every combination of department
and work area. I don't know if your 1000+ links can be broken down
this way, but I thought I'd throw it out there in case you could use
it. Maybe limiting choices in the second drop-down rather than having
20 different pages to start from? Hope this helps.

-Josh
th**************@aol.com (phil) wrote in message news:<37**************************@posting.google. com>...
We are developing specs. for a website for a nonprofit org, with
database for membership related functions.

But..question is regarding drop down menu links. We will have 20
category-pages, and each page will have 30-50 links- unique to that
page, so 1000+ total for site- on a drop down menu. Need we assume
that such links (both plain english description to appear on site, and
actual URL to link to- so 2 pieces data really for each link(?)) are
stored in a table on site or in our main database, or are they somehow
embedded into each menu on individual pages. We will have an admin
area allowing us to change them in either event, I assume, but we just
want to know if we must design in storage and search for such link
info in main database. Either Access or SQL. Thanks.

Nov 12 '05 #2
Josh, thanks, but we need 20 different pages, each with its own
"identity" and graphics anyway, so we cant have a single drop down(s)
main location that does what you are describing- even if I could think
of a way to combine/create URL info "on the fly". Not sure I can,
since not much overlap of info in the 1000 URLs. I'll assume from your
answer...taking a leap here...that we could do it either way, since
you didnt give a reason not to, other than your application has this
better way? Does that make sense? Anyway, thanks.
Nov 12 '05 #3
Phil-

My way's not better, per se, I was just throwing it out there in case
it was applicable and you hadn't thought about it. If you have no
overlap, then my method likely won't work for you. Either way, I
would still store your drop-down choices in a table; it's just easier
down the road as demands for the site change.

-Josh
th**************@aol.com (phil) wrote in message news:<37**************************@posting.google. com>...
Josh, thanks, but we need 20 different pages, each with its own
"identity" and graphics anyway, so we cant have a single drop down(s)
main location that does what you are describing- even if I could think
of a way to combine/create URL info "on the fly". Not sure I can,
since not much overlap of info in the 1000 URLs. I'll assume from your
answer...taking a leap here...that we could do it either way, since
you didnt give a reason not to, other than your application has this
better way? Does that make sense? Anyway, thanks.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: riehe | last post by:
Dear all I want to drop a node from a nodegroup. Can someone confirm if its enough to redistribute a node group with a partition map which doesn't include the node to be dropped? I can't see...
0
by: Lauren Quantrell | last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.) onto a field in Access2K and capture the full file path. I found an posting below that says this is possible but I cannot...
8
by: WindAndWaves | last post by:
Hi everyone, Has anyone got any experience with drop and drag in Access? I would like to make a calendar style form where my users can drop and drag appointments.... I am using Access 2003...
1
by: Torre Quinn | last post by:
Does anyone have any good sites or resources dealing with adding drag and drop functionality to a set of controls on a form? I'd like to try to get several examples of varied applications of drag...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
1
by: Darren | last post by:
I'm trying to create a file using drag and drop. I want to be able to select a listview item drag it to the shell and create a file. Each icon in the listview represents a blob in a database. When...
0
by: joey.powell | last post by:
I have a Windows Forms application where I need to be able to drag and then drop onto a datagridview control. I already have the code necessary to make the drag part work. I am having problems,...
0
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
1
by: Thi | last post by:
Hi, I am trying to develop an application that allows the users to drag a few file(s) from a zip archive to a destination. My question is, how do i determine where the drop destination is...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.