⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 albb2.js

📁 使用Carbide_vs与VS_NET2003构建Symbian开发平台-S60 平台
💻 JS
字号:


document.getElementById("ad01").innerHTML="<div  id=\"Layer2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"468\" height=\"60\"><param name=\"movie\" value=\"/59rich.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><embed src=\"/59rich.swf\" width=\"468\" height=\"60\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" wmode=\"transparent\"></embed></object></div><div id=\"Layer1\"><a target=\"_blank\" href=\"http://www.59rich.com\" onclick=\"hitad();\"><img src=\"images/ico_jiantou_white.gif\" width=\"468\" height=\"60\" border=\"0\" style=\"filter:alpha(opacity=0);-moz-opacity:0;\"></a></div>";


//创建回传XML文档给服务器的对象**********************************************************************************
function CallBackXML(requestxml)
{
	this.requestxml = requestxml;
	this.xmlHttp = this.CreateXMLHttpRequest();
};
 
CallBackXML.prototype.CreateXMLHttpRequest = function()
{ 
	var xmlHttp;
	if (window.ActiveXObject) {
			xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else if (window.XMLHttpRequest) {
			xmlHttp = new XMLHttpRequest();
	}
	return xmlHttp;
};

CallBackXML.prototype.onComplete = function(responseText, responseXml)
{
    //Alert("responseText:"+responseText);
};

CallBackXML.prototype.onLoading = function(){};

CallBackXML.prototype.onStatechange = function () {
	if (this.xmlHttp)
	{
		if(this.xmlHttp.readyState != 4)
		{
			this.onLoading();
		}
		else if(this.xmlHttp.status == 200)
		{
			this.onComplete(this.xmlHttp.responseText,this.xmlHttp.responseXML);
	    }
	}
};
 
CallBackXML.prototype.DoCallBack = function(url)
{ 
	if( this.xmlHttp )
	{
		var othis=this;
		this.xmlHttp.open('POST',url,true);
		this.xmlHttp.onreadystatechange = function(){othis.onStatechange();};
		if (this.requestxml != null) {
			this.xmlHttp.setRequestHeader('Content-Type', 'text/xml');
		}
		this.xmlHttp.send(this.requestxml);
	}
	
	
};



function hitad()
{
    var callbackobject = new CallBackXML("");
    callbackobject.onComplete = function(responseText, responseXml)
							    {
							        if(responseText!="")
                                    {
                                        
                                    }
                                    else
                                    {
                                        
                                    }
							    };

    callbackobject.DoCallBack("/hitad.aspx?type=1");
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -