It doesn't make sense to connect.
Change here.
S.appendchild (document.createTextNode (t)); Changes
s.innerhtml = t;
<ptml><script type= "Text/javascript" > function enabletooltips (id) {var links,i,h; if (!document.getelementbyid | |!document.getelementsbytagname) return; H=document.createelement ("span"); H.id= "BTC"; H.setattribute ("id", "BTC"); h.style.position= "Absolute"; document.getElementsByTagName ("Body") [0].appendchild (h); if (id==null) links=document.getelementsbytagname ("a"); else Links=document.getelementbyid (ID). getElementsByTagName ("a"); for (i=0;i<links.length;i++) {Prepare (links[i]); } function Prepare (EL) {var tooltip,t,b,s,l; T=el.getattribute ("message"); if (T==null | | t.length==0) return; El.removeattribute ("message"); Tooltip=createel ("span", "tooltip"); S=createel ("span", "top"); S.appendchild (document.createTextNode (t)); Change s.innerhtml = t; Tooltip.appendchild (s); B=createel ("B", "bottom"); L=el.getattribute ("href"); if (l.length>30) l=l.substr (0,27) + "..."; B.appendchild (document.createTextNode (l)); Tooltip.appendchild (b); SetopaciTy (tooltip); El.tooltip=tooltip; El.onmouseover=showtooltip; El.onmouseout=hidetooltip; El.onmousemove=locate; function Showtooltip (e) {document.getElementById ("BTC"). AppendChild (This.tooltip); Locate (e); function Hidetooltip (e) {var D=document.getelementbyid ("BTC"); if (d.childnodes.length>0) d.removechild (d.firstchild); function SetOpacity (EL) {el.style.filter= "alpha (opacity:95)"; el.style.khtmlopacity= "0.95"; el.style.mozopacity= "0.95"; el.style.opacity= "0.95"; function Createel (t,c) {var x=document.createelement (t); X.classname=c; x.style.display= "Block"; return (x); function Locate (e) {var posx=0,posy=0; if (e==null) e=window.event; if (E.pagex | | e.pagey) {posx=e.pagex; posy=e.pagey; else if (E.clientx | | e.clienty) {if (Document.documentElement.scrollTop) {posx=e.clientx+ Document.documentElement.scrollLeft; Posy=e.clienty+document.documentelement.scrolltop; } else{Posx=e.clientx+document.body.scrollleft; Posy=e.clienty+document.boDy.scrolltop; } document.getElementById ("BTC"). style.top= (posy+10) + "px"; document.getElementById ("BTC"). style.left= (posx-20) + "px"; } </script> <script type= "Text/javascript" > Window.onload=function () {enabletooltips ()}; </script> <style type= "Text/css" > body{font:76%/1.5 arial,sans-serif;background: #FFF; color: #333} div, sp An, table{able-layout:fixed; word-wrap:break-word;} div#container{width:500px;margin:0 Auto;} H1{color: #3CA3FF; margin:1em 0 0;letter-spacing: -2px} p{margin:0 0 1.7em} a{color: #F60; font-weight:bold} A:hover{co Lor: #F00} tooltip{width:200px; color: #000; Font:lighter 11px/1.3 Arial,sans-serif; Text-decoration:none;text-align:center}. tooltip{width:200px; color: #000; Font:lighter 11px/1.3 Arial,sans-serif; Text-decoration:none;text-align:center}. tooltip span.top{Text-align:left; Text-indent:1em; padding:30px 8px; Background:url (/upload/20080817171524699.gif) no-repeat top; }. tooltip B.bottom{padding:3px 8px 15px;color: #548912; Background:url (/upload/20080817171524699.gif) No-repeat bottom; } </style> <div id= "container" > I just want to break the threshold. But those who see the Buddha incense kowtow to the believers, in the end know how Buddhism is going on, I am afraid not much. Today, we will also come to the bottom of the road. > The wolf stumble its tail. Gongsun skin, Red slipper a few. The way to find a complete escape is a dead word, </div> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]