怎样把新浪的企业邮箱登陆框放到我的个人主页上面???(40分)

  • 主题发起人 陈桂坚
  • 开始时间

陈桂坚

Unregistered / Unconfirmed
GUEST, unregistred user!
公司要我把新浪的企业邮箱登陆框放到公司主页上面.
是不是要获取新浪网站邮箱的数据库接口呀????
 
把这段代码加入适当地方就行了(可以插入一个嵌入式框架):
<html><head>
<meta http-equiv="content-type" content="text/html;
charset=gb2312">
<base href=http://mail.sina.net>
<link rel=stylesheet href=http://mail.sina.net/mystyle.css>
<style type=text/css>
td,p,li,select,input {font-size:12px}
.l15{line-height:150%}
.l13{line-height:130%}
.blu{color:#0000ff}
.f14{font-size:14.9px;}
.title0 {font-size:17.9px;font-family:arial;font-weight:bold;text-decoration:none;color:#000000;}
A:hover {color: ff0000;}
A.title1:link,A.title1:visited,A.title1:active,A.title1:hover {font-size:17.9px;font-family:arial;font-weight:bold;text-decoration:none;color:#000000;}
A.title2:link,A.title2:visited {text-decoration:none;color:#000000;}
A.title2:active,A.title2:hover {text-decoration:none;color:#ff0000;}
A.sinatail:link,A.sinatail:visited {text-decoration:underline;color:#0000ff;font-size:12px}
A.sinatail:active,A.sinatail:hover {text-decoration:underline;color:#ff0000;font-size:12px}
A.hei:link{text-decoration:underline;color:#000000;font-size:12px}
A.hei:visited {text-decoration:underline;color:#A40808;font-size:12px}
A.hei:active,A.hei:hover {text-decoration:underline;color:#ff0000;font-size:12px}
A.blue:link,A.blue:visited {text-decoration:none;color:#0000ff;font-size:12px}
A.blue:active,A.blue:hover {text-decoration:none;color:#ff0000;font-size:12px}</style>
<script language="JavaScript">
ns4=(document.layers)?true:false
</script>
<script Language="Javascript">
function mychg(num,status,thisimg){
myimg=new Image()
myimg.src="images/msnn0"+num+"_"+status+".gif"
eval(thisimg+".src='"+myimg.src+"'")
}
</script>
<script language=JavaScript>
function trim(str)
{
while(str.charAt(0)==" ")
{
str=str.substr(1);
}
while(str.charAt(str.length-1)==" ")
{
str=str.substring(0,str.length-1);
}
return str;

}
function onPageLoad()
{
document.loginform.username.focus();
window.open("http://mail.sina.net/agent.html","pop","toolbar=0,scrollbars=1,width=420,height=450")
}
function onSubmit()
{
var username =do
cument.loginform.username.value;
username = trim(username);
if(username == "")
{
alert("邮箱地址不能为空,请输入邮箱地址!")
document.loginform.username.focus();
return false;
}
vardo
mainname =do
cument.loginform.domainname.value;
domainname = trim(domainname);
if(domainname == "")
{
alert("邮箱域名不能为空,请输入邮箱域名!")
document.loginform.domainname.focus();
return false;
}
if(domainname.indexOf(".") == -1)
domainname += ".sina.net";

var psw =do
cument.loginform.pass.value;
if(psw == "")
{
alert("密码不能为空,请输入密码!");
document.loginform.pass.focus();
return false;
}

document.loginform.user.value = username + '@' +do
mainname;
}
</script>
<body bgcolor=#ffffff topmargin=5 marginheight=5 leftmargin=5 marginwidth=5>
<center>

<table width=750 border=0 cellpadding=0 cellspacing=0><tr><td height=6></td></tr>
<tr valign=top><td width=158 height=49><img src=images/msn01.gif width=158 height=49></td>
<td width=538>
<table width=538 border=0 cellpadding=0 cellspacing=0>
<tr><td height=23 background=images/msnbg01.gif><br><form name=loginform method=post action=http://mail.sina.net/cgi-bin/login.cgi><input type=hidden name=user></td></tr>
</table>
<table border=0 cellpadding=0 cellspacing=5 width="516">
<tr>
<td>企业邮箱用户地址</td>
<td>
<input type=text name=username size=25 class=t01>
</td><td class=f01>@</td><td>
<input type=text name=domainname size=12 class=t01>
</td><td>密码</td><td>
<input type=password name=pass size=7 class=t01>
</td><td><input type=image src=images/msn03.gif onclick="return onSubmit()" width=48 height=17 border=0></td>
<td width=0></form></td></tr>
</table></td>
<td width=54><img src=images/msn02.gif width=54 height=49></td></tr>
</table>
</center>
</body>
</html>
 
你真强呀~~~谢谢啦~~
能做个朋友吗???
我的QQ是7828937
 
qq= 251770004
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
顶部