<! Doctype HTML public "-// W3C // dtd html 4.01 transitional // en"
Http://www.w3.org/TR/html4/loose.dtd>
<HTML>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Title> untitled document </title>
</Head>
<Script language = JavaScript>
Function goto_site (selectcontrol)
{Var v = selectcontrol. value;
If (V! = "") {Window. Open (v );
Selectcontrol. Blur ();
}
Selectcontrol. selectedindex = 0;
}
</SCRIPT> <body>
<Form name = "form1" method = "Post" Action = "">
<Label>
<Select name = "select" onchange = "goto_site (this)">
<Option value = "#"> --- Out-of-site link system --- </option> // do not write the first link. The first link is selected by default because it is an onchange event.
<Option value = "http://www.163.com/"> Home </option>
<Option value = "inner.html"> subpage </option>
</SELECT>
</Label>
</Form>
</Body>
</Html>