大学IT网 - 最懂大学生的IT学习网站! QQ资料交流群:367606806
当前位置:大学IT网 > JavaScript技巧 > 模仿​h​a​o​1​2​3​首​页​多​邮​箱​登​录​的​H​T​M​L​代​码

模仿​h​a​o​1​2​3​首​页​多​邮​箱​登​录​的​H​T​M​L​代​码

关键词:​邮​箱​登​录​h​a​o​1​2​3​  阅读(858) 赞(45)

[摘要]本文主要介绍实​现​h​a​o​1​2​3​首​页​多​邮​箱​登​录​的​H​T​M​L​代​码,与大家分享。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>大学IT网-最懂大学生的IT学习网站!-www.daxueit.com</title>
    <SCRIPT language=JavaScript> 
<!-- 
function log_submit(){ 
var User = document.mailForm.mail_name.value; 
var ProNo = document.mailForm.mailSelect.value; 
var mail_action = ProNo.split(";"); 
if(mail_action.length > 1) 
    { 
if(mail_action[1]=="suffix") 
User += " "+mail_action[2]; 
else 
eval("document.mailForm."+mail_action[1]+".value = '"+mail_action[2]+"';"); 
} 
var Passwd = document.mailForm.mail_password.value; 
var Formobj = document.mailForm; 
function checkUserPass(){ 
if (User == ""){ 
alert("请填写您的邮箱用户名"); 
document.mailForm.mail_name.focus(); 
return false; 
} 
else if (Passwd == ""){ 
alert("请填写您的邮箱请填写密码"); 
document.mailForm.mail_password.focus(); 
return false; 
} 
else { 
return true; 
} 
} 
if (checkUserPass()){ 
document.mailForm.action = mail_action[0]; 
document.mailForm.u.value = User; 
document.mailForm.user.value = User; 
document.mailForm.LoginName.value = User; 
document.mailForm.username.value = User; 
document.mailForm.UserName.value = User; 
document.mailForm.login_name.value = User; 
document.mailForm.login.value = User; 
document.mailForm.psw.value = Passwd; 
document.mailForm.pass.value = Passwd; 
document.mailForm.passwd.value = Passwd; 
document.mailForm.password.value = Passwd; 
document.mailForm.Password.value = Passwd; 
document.mailForm.login_password.value = Passwd; 
document.mailForm.submit(); 
document.mailForm.mail_password.value = ""; 
} 
return false; 
} 
//--> 
</SCRIPT> 

</head>
<body>

    <TABLE 
style="BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; FONT-SIZE: 13px; 
BORDER-LEFT: #c0c0c0 1px solid; BORDER-BOTTOM: #c0c0c0 1px solid" 
cellSpacing=0 align=left> 
<FORM name=mailForm onsubmit="return log_submit();" method=post 
target=_blank> <INPUT type=hidden name=u> <INPUT type=hidden name=user> <INPUT 
type=hidden name=LoginName> <INPUT type=hidden name=username> <INPUT type=hidden 
name=UserName> <INPUT type=hidden name=login_name> <INPUT type=hidden 
name=login> <INPUT type=hidden name=psw> <INPUT type=hidden name=language> <INPUT 
type=hidden name=pass> <INPUT type=hidden name=passwd> <INPUT type=hidden 
name=password> <INPUT type=hidden name=Password> <INPUT type=hidden 
name=login_password> <INPUT type=hidden name=url> <INPUT type=hidden 
name=BackURL> 
<TBODY> 
<TR> 
<TD>帐号: <INPUT style="FONT-SIZE: 12px; FONT-FAMILY: arial" onfocus=this.select 
      size=10 name=mail_name> @ 
    <SELECT name=mailSelect> <OPTION selected>选择您的邮局 </OPTION> <OPTION 
        value=http://entry.126.com/cgi/login 
> 126.com </OPTION>    <OPTION 
    value=http://reg.163.com/in.jsp?url=http://fm163.163.com/coremail/fcg/ntesdoor2? 
username=wd.dm.mailForm.name.value> 163.com </OPTION> 
    <OPTION 
    value=http://mail.sina.com.cn/cgi-bin/login.cgi> sina.com </OPTION> <OPTION 
    value=https://edit.bjs.yahoo.com/config/login> yahoo.com.cn </OPTION> <OPTION 
    value=http://login.mail.sohu.com/chkpwd.php> sohu.com </OPTION> <OPTION 
    value=http://bjweb.mail.tom.com/cgi/163/login_pro.cgi> Tom.com </OPTION> 
    <OPTION 
    value=http://webmail.21cn.com/NULL/NULL/NULL/NULL/NULL/SignIn.gen> 21cn.com </OPTION> 
    <OPTION value=http://go.56.com/mail/mail.56> 56.com </OPTION> <OPTION 
    value=http://vip.163.com/payment/VipLogon.jsp> vip.163.com </OPTION> <OPTION 
    value=http://reg.mail.188.com/servlet/coremail/login?> 188.com </OPTION> 
    <OPTION value=http://vip.sina.com/cgi-bin/login.cgi> vip.sina.com </OPTION> 
    <OPTION value=http://bjweb.163.net/cgi/163/login_pro.cgi> 163.net </OPTION> 
    <OPTION value=http://g2wm.263.net/xmweb> 263.net </OPTION> <OPTION 
    value=http://freemail.eyou.com/cgi-bin/login> eyou.com </OPTION> <OPTION 
    value=http://webmail.21cn.net/nature/gb/NULL/NULL/NULL/SignIn.gen;DomainName;21cn.net> 
21cn.net </OPTION> 
    <OPTION value=http://entry.yeah.net/cgi/login> Yeah.net </OPTION> <OPTION 
    value=http://web.netease.com/cgi/login> netease.com </OPTION> <OPTION 
    value=http://paymail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen> China.com </OPTION> 
    <OPTION 
    value=http://login.chinaren.com/zhs/servlet/Login;url;http:/mail.chinaren.com> 
ChinaRen.com </OPTION> 
    <OPTION 
    value=http://login.etang.com/servlet/login;BackURL;http:/mail.etang.com/cgi/door> 
etang.com </OPTION> 
    <OPTION 
value=http://www.citiz.net/login.jsp.jsp> citiz.net </OPTION> </SELECT> 
      密码: <INPUT 
      style="FONT-SIZE: 12px; FONT-FAMILY: arial" onfocus=this.select 
      type=password size=10 name=mail_password> <INPUT style="BACKGROUND-COLOR:Transparent" 
type=submit value=登录> </TD> 
    </TR> </FORM> </TBODY> </TABLE> 


</body>
</html>


相关评论