店铺日常管理流程:有人可以帮我分析一下这个网页的代码?

来源:百度文库 编辑:高考问答 时间:2024/04/26 15:38:59
<html>
<head>
<script language="javascript">
document.domain = "qq.com";
</script>

<script language="javascript">
function loadXMLAsync(xID, xUrl, callback, err_callback)
{
// if ( (top.g_XDoc[xID]) && (top.g_XDoc[xID].xml!="") ) {如果加载的url变化了也应该重新加载
if ( (top.g_XDoc[xID]) && (top.g_XDoc[xID].xml!="") && top.g_XDoc[xID].url==xUrl) {
if (callback) {
callback();
}
return top.g_XDoc[xID];
}
try { top.g_XDoc[xID]= new ActiveXObject("microsoft.XMLDOM");
}
catch (e) {
alert("对不起,您的浏览器不支持Q-Zone的某些特性。");
}
if (callback) {
top.g_XDoc[xID].async= true;
top.g_XDoc[xID].onreadystatechange = function() {
if (top.g_XDoc[xID].readyState == 4) {
if (top.g_XDoc[xID].parseError.errorCode ==0) callback();
else if (err_callback) {
err_callback();
}
}
}
top.g_XDoc[xID].load(xUrl);
}
else {
top.g_XDoc[xID].async= false;
top.g_XDoc[xID].load(xUrl);
if (top.g_XDoc[xID].parseError.errorCode ==0) return top.g_XDoc[xID];
else if (err_callback) return top.getDynamicXmlData(xID);
}
}

window.loadXMLAsync= loadXMLAsync;
top.g_ready++;
</script>
</head>
<body>
</body>
</html>
大概有些什么作用这个网页...如果每句的作用注释一下就最好了~~~

作用不清楚,,但是一些语句可以给你解释一下..好了发你邮箱里~

你简单的右键查看源码是很难说清的哦,有些是配合动态脚本的。所以只有真正的源码才能详细说明功能。

帮你怎么分析呢???你总得给个方向吧,

99你,给我50分吧