页面中的FTP登录

王朝other·作者佚名  2006-11-24
窄屏简体版  字體:   |    |    |  超大  

有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>

<!--# 特效来源:http://www.webjx.com/js -->

<!-- 完整的HTML代码如下: -->

<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>

<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>

[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有 導航