加入收藏 | 设为首页 | RSS
您当前的位置:首页 > 网页特效

在页面内登录FTP

时间:2012-04-08 20:38:03  来源:  作者:虾谷

说明:用IE登录FTP服务器。

效果:
 

Ftp://
UserName:
Password:

代码:
<script janguage="javascript">
<!--
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"  align="center" width="304">
          <tr>
            <td width="296">
              <table border="0" cellspacing=0 cellpadding=5 align="center" width="292">
                <tr bgcolor="#b5e1ff">
                  <td width="75" align="right"> <font face="arial,helvetica" size="-1" color="#008080">
                    Ftp:// </font> </td>
                  <td width="193"> <font face="arial,helvetica" size="-1">
                    <input type="text" size=30 name="url" style="border: 1 solid #0099FF">
                    </font> </td>
                </tr>
                <tr bgcolor="#ddf1ff">
                  <td align="right" width="75"> <font face="arial,helvetica" size="-1" color="#008080">UserName:


来顶一下
返回首页
返回首页
推荐资讯
10步征服web2.0链轮第四步,决定链轮模式
10步征服web2.0链轮第
10步征服web2.0链轮第三步,消除“电子足迹”
10步征服web2.0链轮第
10步征服web2.0链轮第一步,理解链轮的概念
10步征服web2.0链轮第
小贺店铺
小贺店铺
相关文章
    无相关信息
栏目更新
栏目热门