function Createobj () {
if (window. ActiveXObject) {
Return (new ActiveXObject ("Microsoft.XMLHTTP"));
}
else if (window. XMLHttpRequest) {
Return (new XMLHttpRequest ());
}
}
function Personalinfo () {
var obao=createobj ();
var Cont=document.getelementbyid ("Person_detial");
var Cont_a=document.getelementbyid ("Person_content");
cont.style.display= ' block ';
cont.style.cursor= ' pointer ';
Cont_a.innerhtml= "Please wait, load ...";
var my_url= "getinfo.asp?" +math.random ();
Obao.open ("Get", my_url,true);
Obao.onreadystatechange=function () {
if (obao.readystate==4) {
if (obao.status==200) {
Cont_a.innerhtml=obao.responsetext;
}else{
Cont_a.innerhtml= "An error occurred, the error code is:" +obao.status;
}
}
}
Obao.send ();
}
function Drag (ID)
{
var self=this;
This.obj= (typeof (id) = = "string")? document.getElementById (ID): ID;
This.obj.onmousedown=function (e)
{
e=e| | window.event;
var obj=self.obj;//points to himself
if (E.layerx) {obj.position={x:e.layerx,y:e.layery};}
Else{obj.position={x:e.offsetx,y:e.offsety};}
Document.onmousemove=self.start;
Document.onmouseup=self.end;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service