<! DOCTYPE html>#ul1 {margin:0; Position:absolute; right:10px; top:8px; width:700px; height:500px; BORDER:1PX Solid #000; padding:10px; overflow:hidden;} Li { line-height:28px; border-bottom:1px dotted #000; List-style:none; word- Break: Break-all ; overflow:hidden;}</style><script src= "Move.js" ></script><script>/*first write the effect without motion and then turn the assignment into a form of motion.*/window.onload=function() { varOcontent = document.getElementById (' content '); varOBTN = document.getElementById (' btn ')); varOul = document.getElementById (' ul1 ')); Obtn.onclick=function() { varOLi = document.createelement (' li '); Oli.innerhtml=Ocontent.value; if(oul.children[0]) {Oul.insertbefore (oLi, oul.children[0] ); } Else{oul.appendchild (oLi); } //var iheight = oli.offsetheight; variheight = parseint (CSS (oLi, ' height ')) ); OLi.style.height= ' 0px '; OLi.style.opacity= ' 0 '; OLi.style.filter= ' alpha (opacity=0) '; Startmove (OLi, {height:iheight, opacity:100 }); } }</script>JS Sports Effect Message Book