关于网页制作 界面跳转

来源:百度知道 编辑:UC知道 时间:2024/05/30 17:41:07
http://bddh.bdinfo.net/sygj.htm 里面有一个"QQ密码保护".如果你上着QQ.只要一点那个,就会跳到你QQ的密码保护的界面.
它的html代码是
<td height="30"> <A href="http://service.qq.com/psw/mo.shtml?psw.htm" target="_blank">QQ密码保护</A></td>
但是单独把它拿出来,做一个html. 它只能跳到http://service.qq.com,密码保护的网站的官方首页,而不是你QQ密码保护的界面.

请问这是怎么回事???

链接不对!!

没有获取到你登陆用的QQ的密码,就不能进到你的QQ密码保护界面。

可以使用Ajax

————aaa.asp 文件————————————
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Using responseText with innerHTML</title>
<meta charset="gb2313">
<script type="text/javascript">
var xmlHttp;
function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
}
function startRequest() {
createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
//xmlHttp.open("post", "bb.html", true);
xmlHttp.open("POST", 'bbb.asp?name='+document.getElementById("name").value + "&