?? 05.htm
字號:
<html>
<head>
<title>新窗口打開鏈接</title>
<meta http-equiv="目錄類型" content="文本/html; 字符集=gb2312">
<style type="text/css">
<!--
a{font-style:normal;text-decoration:none;color:white}
a:hover {BACKGROUND:red;font-style:normal;text-decoration:none;color:yellow}
.white { color: #FFFFFF}
table { font-size: 9pt}
-->
</style>
</head>
<body bgcolor="#336699" topmargin="0" leftmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 9pt;">
<tr bgcolor="#336699">
<td colspan="3" height="18"> </td>
</tr>
<tr>
<td bgcolor="#336699" width="18"></td>
<td align="center" bgcolor="#FFFFFF"> <br>
<table width="56%" border="0" cellspacing="0" cellpadding="0" height="355">
<tr>
<td rowspan="2" width="16" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="white" style="FONT-SIZE: 11pt;">
<tr bgcolor="#336699" bordercolor="#336699">
<td style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double;" height="70"><strong><a href="05.htm">演<br>
<br>
示</a></strong></td>
</tr>
<tr bordercolor="#009900" bgcolor="#009900">
<td style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double" height="70"><strong><a href="05c.htm">源<br>
代<br>
碼</a></strong></td>
</tr>
</table>
</td>
<td rowspan="2" width="8" bgcolor="#336699"> </td>
<td align="center" style="BORDER-RIGHT: double; BORDER-TOP: double; FONT-SIZE: 12pt; BORDER-LEFT: double; BORDER-BOTTOM: double" bordercolor="#336699" valign="top" height="335"><br>
<b>新窗口打開鏈接</b>
<hr width="92%" size="1" align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0" style="FONT-SIZE: 9pt;">
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="40" valign="top">提示:</td>
<td>下面的菜單在新窗口中打開鏈接。<br>
<br>
<br>
<script language=JavaScript>
<!-- Hide
function surfto(form) {
var myindex=form.dest.selectedIndex
window.open(form.dest.options[myindex].value, "", "toolbar=no,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes, resizable=no,copyhistory=yes,width=600,height=260");
}
// -->
</script>
<form name=myform>
<select name=dest size=1>
<option selected
value="">選項
<option value="http://www.netscape.com">去網景主頁 </option>
<option value="http://www.microsoft.com">去微軟主頁 </option>
<option value="http://www.163.net" selected>去163主頁 </option>
</select>
<input onClick=surfto(this.form) type=button value="確認" name="button">
</form>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20" class="white" bgcolor="#336699">當前位置:<a href="../../index.htm">首
頁</a>→<a href="../index.htm">JavaScript</a>→<a href="index.htm#5">下拉菜單</a>→新窗口打開鏈接</td>
</tr>
</table>
<br>
</td>
<td bgcolor="#336699" width="18"></td>
</tr>
<tr>
<td bgcolor="#336699"></td>
<td align="center" bgcolor="#336699" height="35"> <font color="#FFFFFF">··萬旭網站工作室
設計發布··</font> </td>
<td bgcolor="#336699"> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -