Well, you could just use javascript wondow.location. This is a lot like
a quicknav that we use all the time. Here's the script that we use, but
we just get rid of the submit button. You should be able to modify this
is you want to make a button be the action, instead of the onChange:
<form name="Links">
<select name="Select" style="font-size:13" style="font-family: verdana"
onchange="SelectIt()" size="1">
<option value="none">Quick Navigation</option>
<option value="index.html"><b>Home</b></option>
<option value="about.html"><b>About Us</b></option>
.
.
.
</select>
</form>
and here's the javascript funtion:
function SelectIt()
{
if
(document.Links.Select.options[document.Links.Select.selectedIndex].value
!= "none")
{
window.location =
document.Links.Select.options[document.Links.Select.selectedIndex].value
}
}
Jeff Flack wrote:
> Hi Everybody,
> I am in need of some help. I have created a drop
> down box displaying the contents of a folder I upload
> html files to on a daily basis using cfdirectory. Now
> I am trying to figure out how to link to each file
> from the drop down box. I would like to user to
> select the html file they want then click submit and
> it should take them to that html file. Thank you for
> your help
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1462
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54