473,466 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Use of Pull Down menu to change contents of web page

Hi,

I am trying to create a report page for several teams. Each team runs the
same reports but the reports use different values.

For a while this was getting insane everytime I updated the queries I had to
change them in many places. Then I started using server side includes to
keep me from changing some items in multiple places.

There is still some double (quadruple) updating going on though when I make
some other basic changes so I was hoping to use a pull down menu on the web
page so visitors can select their team and then have the page refresh itself
with the correct queries for that team.

A simplified example of the server side include statement in the file is:
<a href="http://myserver.com/main/gecko/list?<!--#echo
var="COMPONENTS_TeamA" -->"> All types - including enhancements </a>

What I was hoping was to use the pulldown menu such that if they selected
TeamB that the above would change to TeamB from TeamA and refresh the page
to pick up the new definitions. I have each teams definitions defined in
their own .shtml file in hopes that I can include the proper file on the
fly.

If I was not already lost/off base - this is where I know I am lost.

I was trying to play around with a pull down menu to select the team and
then use some server side include to pull in the right include file.

Below was my attempt at trying this but I quickly ran into dead ends and
could not find the right info on the web:

<form>
<SELECT name="team_select">
<OPTION selected VALUE="TeamA">TeamA
<OPTION VALUE="TeamB">TeamB
<OPTION VALUE="TeamC">TeamC
<OPTION VALUE="TeamD">TeamD
</SELECT></p>

<some how need to refresh the page here to pick up the correct server side
include info below >

<!--#if team_select="TeamA" -->
<!--#include file="TeamA_defn.shtml" -->
<!--#elif team_select="TeamB" -->
<!--#include file="TeamB_defn.shtml" -->
<!--#elif team_select="TeamC" -->
<!--#include file="TeamC_defn.shtml" -->
<!--#else -->
<!--#include file="TeamD_defn.shtml" -->
<!--#endif -->

</form>

I'm not sure if I have explained well enough yet what I am trying to do or
what I tried to do. Does anyone have any suggestions I might try? Do you
need more info?

Thanks for any tips you can point me too.

Glenn
Jul 20 '05 #1
5 4763
In article <cc**********@fred.mathworks.com>,
"Glenn Mulno" <gl*********@mathworks.com> wrote:

[page navigation through SELECT]
Does anyone have any suggestions I might try? Do you
need more info?


Please note that search engines do not follow forms. If this is the only
way to reach your content, then this means SE suicide.

Also, if you use the onchange event to make it submit automatically,
visitors who have to rely on keyboard navigation will have a *great*
deal of trouble navigating your site. That adds up to the amount of
regular visitors who have only *a lot* of trouble selecting the option
they intend.

--
Kris
<kr*******@xs4all.netherlands> (nl)
Jul 20 '05 #2
Hi Kris,

Thanks for the reply. The people using the pages I am creating are internal
team members only - about 15 people. They can easily be trained on how to
use the page. This page will not be accessable outside the company.

Glenn

"Kris" <kr*******@xs4all.netherlands> wrote in message
news:kr*****************************@news1.news.xs 4all.nl...
In article <cc**********@fred.mathworks.com>,
"Glenn Mulno" <gl*********@mathworks.com> wrote:

[page navigation through SELECT]
Does anyone have any suggestions I might try? Do you
need more info?
Please note that search engines do not follow forms. If this is the only
way to reach your content, then this means SE suicide.

Also, if you use the onchange event to make it submit automatically,
visitors who have to rely on keyboard navigation will have a *great*
deal of trouble navigating your site. That adds up to the amount of
regular visitors who have only *a lot* of trouble selecting the option
they intend.

"Glenn Mulno" <gl*********@mathworks.com> wrote in message
news:<cc**********@fred.mathworks.com>... Hi,

I am trying to create a report page for several teams. Each team runs
the same reports but the reports use different values.

For a while this was getting insane everytime I updated the queries I
had to change them in many places. Then I started using server side
includes to keep me from changing some items in multiple places.

There is still some double (quadruple) updating going on though when I
make some other basic changes so I was hoping to use a pull down menu
on the web page so visitors can select their team and then have the
page refresh itself with the correct queries for that team.

A simplified example of the server side include statement in the file
is: <a href="http://myserver.com/main/gecko/list?<!--#echo
var="COMPONENTS_TeamA" -->"> All types - including enhancements </a>

What I was hoping was to use the pulldown menu such that if they
selected TeamB that the above would change to TeamB from TeamA and
refresh the page to pick up the new definitions. I have each teams
definitions defined in their own .shtml file in hopes that I can
include the proper file on the fly.

If I was not already lost/off base - this is where I know I am lost.

I was trying to play around with a pull down menu to select the team
and then use some server side include to pull in the right include
file.

Below was my attempt at trying this but I quickly ran into dead ends
and could not find the right info on the web:

<form>
<SELECT name="team_select">
<OPTION selected VALUE="TeamA">TeamA
<OPTION VALUE="TeamB">TeamB
<OPTION VALUE="TeamC">TeamC
<OPTION VALUE="TeamD">TeamD
</SELECT></p>

<some how need to refresh the page here to pick up the correct server
side include info below >

<!--#if team_select="TeamA" -->
<!--#include file="TeamA_defn.shtml" -->
<!--#elif team_select="TeamB" -->
<!--#include file="TeamB_defn.shtml" -->
<!--#elif team_select="TeamC" -->
<!--#include file="TeamC_defn.shtml" -->
<!--#else -->
<!--#include file="TeamD_defn.shtml" -->
<!--#endif -->

</form>

I'm not sure if I have explained well enough yet what I am trying to
do or what I tried to do. Does anyone have any suggestions I might
try? Do you need more info?

Thanks for any tips you can point me too.

Glenn

Jul 20 '05 #3
"Glenn Mulno" <gl*********@mathworks.com> wrote in message news:<cc**********@fred.mathworks.com>...
Thanks for the reply. The people using the pages I am creating are internal
team members only - about 15 people. They can easily be trained on how to
use the page. This page will not be accessable outside the company.


There's still always the possibility that, at some time in the future,
you'll have an employee with special needs which must be accomodated
due to the Americans with Disabilities Act (or similar legislation in
other countries) which might be made more difficult by the
accessibility problems introduced by your code.

P.S.: Top-posting is strongly disliked here, especially when
accompanied by wasteful fullquoting, something you seem to have gone
out of your way to do (to the point of re-quoting your original
message which had been snipped by the previous poster).

More info:
http://mailformat.dan.info/quoting/bottom-posting.html
http://mailformat.dan.info/quoting/top-posting.html

--
Dan
Jul 20 '05 #4
da*@tobias.name (Daniel R. Tobias) wrote in message news:<aa**************************@posting.google. com>...
There's still always the possibility that, at some time in the future,
you'll have an employee with special needs which must be accomodated
due to the Americans with Disabilities Act


Why does the legal position become so much worse for employees ? Most
of this stuff applies to any public web site (public has a specific
legal meaning here), no matter who is accesssing it. I don't think
there's much of a case for your duty of care to employees being a
boundary of how far you have to extend web accessibiity.

Here's a discussion of case law (just about the only accessibility
case law there is) on the Olympics site, specifically about navigation
issues to team results
http://joeclark.org/book/sashay/seri...AppendixA.html

Incidentally, it's well worth reading the whole book.
IANAL, so shove the flames over detail inaccuracies in this post. I'm
busy - go do your own research.
Jul 20 '05 #5
di*****@codesmiths.com (Andy Dingley) writes:
da*@tobias.name (Daniel R. Tobias) wrote
There's still always the possibility that, at some time in the future,
you'll have an employee with special needs which must be accomodated
due to the Americans with Disabilities Act
Why does the legal position become so much worse for employees ? Most


UK: Employees are covered by one part of the DDA, Service provision
another part. Arguably employees are less ambiguously covered, though
the DRC has released guidance saying that websites *are* service
provision.
of this stuff applies to any public web site (public has a specific
legal meaning here), no matter who is accesssing it. I don't think
there's much of a case for your duty of care to employees being a
boundary of how far you have to extend web accessibiity.


Well, except that if you are a small business with no dedicated web
design team, you might be able to 'get away with' (say) approximately
WAI-A for your external website (as to do more would be more than
'reasonable adjustments'), but if you hired someone with a disability,
it might be considered necessary to meet parts of WAI-AA(A) for the
intranet as this would be a 'reasonable adjustment' as necessary to do
their job.

Depends on the court, obviously.

--
Chris
IANAL, as usual.
Jul 20 '05 #6

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

Similar topics

1
by: Phillip Russell | last post by:
Is there a way for PHP to see what is selected in a pull-down menu. So that i can use a switch statement to display certain information. If not how can I combine javascript with it to work.
3
by: KK | last post by:
Drop-down menus are the hottest thing since Wonder Bread but . . . 1. Alot of people put them in the they-look-nice-but-you-cant-code-them-right-so-they-always-look-messed-up category (a la...
1
by: NEUE | last post by:
Hello, I'm trying to have a layer appear on top of a simple pull-down menu, but in IE6 the pull-down menu always appears on top. Even if I put the pull-down in a layer under the other layers, it...
5
by: judiphuongtu | last post by:
I am trying to create an input form with a pull-down menu that allows a user to add an item to the pull-down. I don't want the page to refresh when I refresh the pull-down since there's entries on...
1
by: dkimbrell | last post by:
Hi there, I'm very novice to web design. I'm trying to make a pulldown menu, but the formatting keeps getting screwed up when you roll the mouse over it. Please see www.boundarysys.com for...
2
by: TPK | last post by:
I have an HTML document with Javascript where I have a portion of the page contents, a series of questions, being pulled from a XML file. When the page dynamically builds all the questions and...
3
by: rsteph | last post by:
I have a javascript drop down menu that I borrowed from a website. It utilizes a little .css to help with formatting. The menu works great, and on all 3 of the browsers I'm concerned about; but I am...
5
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.