New Document <script> <br>var c$={}; <br>var w$=function(s){document.write(s);} <br>var o$=function(id){return document.getElementById(id);} <br>w$("<div id="ts" style="position:absolute;background-color:#FFFFE6;font-size: 12px;padding: 3px; border: 1px solid #FFCC99;display:none"></div>"); <br><br>c$.mmove=function(o,s){ <br>//alert(typeof(s)); <br>var evt=event||window.event; <br>var x=evt.clientX 5; <br>var y=evt.clientY 20; <br>o$("ts").style.left=x "px"; <br>o$("ts").style.top=y "px"; <br>if(s==""||typeof(s)=="undefined"){ <br>o$("ts").innerHTML=o.innerHTML; <br>}else{ <br>o$("ts").innerHTML=s <br>} <br>o$("ts").style.display=""; <br>} <br>c$.mout=function(){ <br>o$("ts").style.display="none"; <br>} <br></script>
分析