In a message dated 03/05/2001 18:07:18 GMT Daylight Time,
[EMAIL PROTECTED] writes:
<< Hello,
I am making a suite of php tolls that I want to have all incorporated in one
management website. What I would like to have is a drop down menu in a
frame on the left. A great example of what I want is the left drop down
menu on the new Cobalt XTR server admin section. If anyone has a JavaScript
or a tutorial how to make a drop down menu please send me a link.
Thank you :)
Brandon >>
Hi not sure if this is exactly what your after but it may do the trick :-) It
isn`t perfect coding but it does work so you should be able to model it to
what you want.
<?
if ($loadpage==request_for_quote)
{
$FormType ="forms/request_for_quote.php3";
}elseif ($loadpage==general_enquiry)
{
$FormType ="forms/general_enquiry.php3";
}elseif ($loadpage==ask_a_question)
{
$FormType="forms/ask_a_question.php3";
}elseif (!$loadpage)
{
$loadpage="request_for_quote";
$FormType="forms/request_for_quote.php3";
}
?>
<SCRIPT LANGUAGE="JavaScript">
<!--
function displaypage() {
document.forms[0].submit();
}
-->
</SCRIPT>
<SELECT NAME="loadpage" onChange="displaypage()">
<OPTION VALUE="request_for_quote">Request for Quote</OPTION>
<OPTION VALUE="ask_a_question">Ask A Question</OPTION></SELECT>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]