📄 zh18.htm
字号:
<html>
<head>
<title>FTP页面登录</title>
<style type="text/css">
<!--
body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 4px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 13px; FONT-WEIGHT: 400; TEXT-DECORATION: none }
A:hover { COLOR: red; FONT-SIZE: 13px; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 }
--></style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script janguage="javascript">
<!--
// Title: JavaScript - FTP log-on script
function goFtpSite() {
document.location.href = "ftp://" + document.ftp.login.value + ":" + document.ftp.password.value + "@" + document.ftp.url.value;
}
//-->
</script>
</head>
<body bgcolor="#fef4d9">
<br>
<br>
<center><font color=red face="隶书" size=6>FTP页面登录</font></center>
<br>
<center>
<table border=5 bordercolor=blue borderlight=green>
<tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>下面框中为脚本显示区</strong></font></td></tr>
<tr><td align=center>
<form name="ftp">
<table border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" align="center">
<tr>
<td>
<table border="0" cellspacing=0 cellpadding=5 align="center">
<tr bgcolor="#bbbbbb">
<td width="75" align="right">
<font face="arial,helvetica" size="-1">
Ftp://
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="text" size=15 name="url">
</font>
</td>
</tr>
<tr bgcolor="#dddddd">
<td align="right">
<font face="arial,helvetica" size="-1">
Login:
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="text" size="15" name="login" maxlength="20">
</font>
</td>
</tr>
<tr bgcolor="#bbbbbb">
<td align="right">
<font face="arial,helvetica" size="-1">
Password:
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="password" size="15" name="password" maxlength="20">
</font></td>
</tr>
<tr bgcolor="#ffffff">
<td colspan="2" align="center">
<font face="arial,helvetica" size="-2">
<input type=button onclick="goFtpSite();" value="LOG-IN">
<input type=reset value="CLEAR">
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td></tr></table></center>
<br>
<br>
<center>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide
function goHist(a)
{
history.go(a);
}
//-->
</script>
<FORM METHOD="post">
<INPUT TYPE="button" VALUE="返回" onClick="goHist(-1)" style="background-color: #8000FF; color: rgb(255,255,255)">
</form>
</center>
<br>
<center>
<textarea name=source rows=12 cols=55 class=yk9>
脚本说明:
第一步:把如下代码加入<head>区域中:
<script janguage="javascript">
<!--
// Title: JavaScript - FTP log-on script
function goFtpSite() {
document.location.href = "ftp://" + document.ftp.login.value + ":" + document.ftp.password.value + "@" + document.ftp.url.value;
}
//-->
</script>
第二步:把如下代码加入<body>区域中:
<form name="ftp">
<table border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" align="center">
<tr>
<td>
<table border="0" cellspacing=0 cellpadding=5 align="center">
<tr bgcolor="#bbbbbb">
<td width="75" align="right">
<font face="arial,helvetica" size="-1">
Ftp://
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="text" size=15 name="url">
</font>
</td>
</tr>
<tr bgcolor="#dddddd">
<td align="right">
<font face="arial,helvetica" size="-1">
Login:
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="text" size="15" name="login" maxlength="20">
</font>
</td>
</tr>
<tr bgcolor="#bbbbbb">
<td align="right">
<font face="arial,helvetica" size="-1">
Password:
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="password" size="15" name="password" maxlength="20">
</font></td>
</tr>
<tr bgcolor="#ffffff">
<td colspan="2" align="center">
<font face="arial,helvetica" size="-2">
<input type=button onclick="goFtpSite();" value="LOG-IN">
<input type=reset value="CLEAR">
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</textarea>
<br>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -