I have tried all of the suggestions given and they don't
help. I have two pull down lists each containing several
different documents for selection by anyone needing the
information (e.g., Monthly Reports for two separate
groups). I was finally given some JavaScript code to use
(see below), however, even placing each pull down into a
separate cell of a table does not help. I continue to
have the problem of the documents from list two being
displayed when selecting a document from list one. I'm at
a loss as to how to proceed. Any other suggestions would
be appreciated.
(<script language="JavaScript">
<!--
function setaction(jumpto)
{
if (jumpto == 0) window.location
= "";
if (jumpto == 1) window.location
= "";
if (jumpto == 2) window.location = "";
if (jumpto == 3) window.location = "";
if (jumpto == 4) window.location = "";
if (jumpto == 5)
window.location = "";
if (jumpto == 6)
window.location = "";
if (jumpto == 7)
window.location = "";
if (jumpto == 8)
window.location = "";
if (jumpto == 9)
window.location = "";
if (jumpto == 10)
window.location = "";
if (jumpto == 11)
window.location = "";
if (jumpto == 12)
window.location = "";
if (jumpto == 13) window.location = "";
}
// --></script>
<form form method="POST">
<div align="center">
<div align="left">
<pre> <select name="dest" size="1">
<option>System Disposition List v27.2(30Sept03)
</option><option>System Disposition
Categories</option><option></option><option></option><optio
n></option><option></option><option></option><option></opti
on><option></option><option></option><option></option><opti
on></option><option></option><option></option></select>
<input TYPE="BUTTON" VALUE="GO" ONCLICK="setaction
(form.dest.selectedIndex)"> </pre>
</div>
</div>
-----Original Message-----
Hi Susan,
I'm guessing without seeing your site but do you have several dropdowns each
of which jump to a particular file? If so you should make your dropdowns
like this
<script type="text/javascript">
function goTo(f){
if(f.options.selectedIndex>0)location.href=f.options [f.options.selectedIndex
].value
</script>
<form>
<select onchange="goTo(this);">
<option value="">Choose a file</option>
<option value="file1.htn">File One</option>
<option value="file2.htn">File Two</option>
</select>
<select onchange="goTo(this);">
<option value="">Choose a file</option>
<option value="file3.htn">File Three</option>
<option value="file4.htn">File Four</option>
</select>
....more dropdowns as needed
</form>
Jon
Microsoft MVP - FP
I'm using FP2002 and I have been having an on-going
problem. My site is constantly evolving and due to demand
for more documents for different subjects or groups to be
published, I have a need to have more than one pull down
list on a page. While I can add the list and in preview
it looks fine, once published when I select the file in
one list it displays the file from the other list.
Any suggestions will be appreciated.
.