var logins=document.getelemtnbyid("loginstart), ulst=document.getelemtnbyid("loginstatrpanel);
lis=ulli.getelemtntbytagname("li); tex=docuemnt.getelemtntbyid("login2qq-start-tex); logins.onclick=function(){ulli.style.display="block;} for(var i=0; i<li.length; i++){li[i].onmouseover=function()}
lis=ulli.getelemtntbytagname("li); tex=docuemnt.getelemtntbyid("login2qq-start-tex); logins.onclick=function(){ulli.style.display="block;} for(var i=0; i<li.length; i++){li[i].onmouseover=function()}
2017-10-30
maxy =h-panel.offsetHeight; if(l<0){left=0;}else if(l>maxW){l = maxW;} d ocument.onmouseup=function(){document.onmouseover=null; document.onmouseup=null; }var close=document.getELEMTNById("oclose)"; close.click=funnction(){document.getelemtnbyid("loginpan)".style.display="none";)}
2017-10-30
function fnmove(e,posX,posY){var pan =document.getElementById("panel); l=e.clientX-posX; t=e.clientY-posY; panel.style.left=l+"px; panel.style.top=t+"px; w=document.documentelemtn.CLIENTwIDTh h=document.documentElement.clientHeight||document.body.clientHeight; maxw=w-panel.offsetwidth; }
2017-10-30
function fndown(event){event =event||window.event; var panel =document.getELementById("loginppan); dix=event.clientX-panel.offsetLeft, diy=event.clienty-offsetTop; //关标到面板的距离 document.onmousemove=function(event){event =event||window.event; fn(event,dix,diy); } }
2017-10-30
function getname(classn, parent){var open = parent?document.getElementById("parent"):document; all=[]; elements =open.getElementByTagName("*"); for(var i=0; i<elements.length; i++){if(elements[i].className=class; all.push(elements[i]))} return all;} window.onload=drag;
function drag(){
var
}
function drag(){
var
}
2017-10-30
{event.preventDefault();}else{event.returnValue=false;}} stopPropagation:function(event){if(event.stopPropagation){event.stoppropagation();}else{event.cancelBabble=true;}} getType=function(event){return event.type; } getelement:function(event){return event.target||event.srcElement; }
2017-10-30
ie eve =event.target||event.srcElemtnt; function (event){event.stoppropagation()} var event=event||window.wvent; canceBubble true false return value false getevent:function(event){return event?event:window.event}, preventDefualt:function(event){if(event.preventDefault)
2017-10-30
eventuti.addhander(box,"click",showMEs);封装的 box.addeventlistener("click,newmes,false);么封装的费ie box.attacheventlistener(box,newMes); ie
2017-10-29
var event={addhander:function(element,type,hander){if(elemetn.addEventListener{elenent.addeventlistenter(type,hander,false; else if(element.attachEvent){element.attachEvent("on"+type,hander);else{elemtnet['on'+type=hander;]}}})
}}
}}
2017-10-29
ie要加on btn3.attachEvent('onclick',showmes); detachEvent("onclick",showMES);
2017-10-29
<input type="button" value="anniu" id="new3"> var btn =document.getElementById("btn");
btn.addeventListener() btn1.onclick=null btn.removerEventListener("click",show,false);
btn.addeventListener() btn1.onclick=null btn.removerEventListener("click",show,false);
2017-10-29