中文(简体)
<!--完整的 HTML 代码如下:--> <html> <head> <title> 提示菜单</title> <script> var x,y function canMove() { x=document.body.scrollLeft+event. clientX y=document.body.scrollTop+event.clientY } function move() { Tips.style.posLeft=x+10; Tips.style.posTop=y+10; setTimeout("移动()",10); } function showTips(content,obj) { obj.innerText=content+"tttttt"; obj.filters.alpha.opacity=100; } function hideTips(content,obj) {//来自 http://www.downcodes.com 的更多 javascript obj.innerText=content; obj.filters.alpha.opacity=0; } document.write("<div id=tips style='filter:alpha(opacity=0);position:absolute;background-color:#f3f3f3;font-size:9pt;color:#6c6c6c;border:#d9d9c6 1px固体;'></div>"); </script> </head> <body onload="move()" onmousemove="canMove()"> <table cellspacing=0 cellpadding=0 border=0 width=760align=center> <tr> <td height= 40> <a href="#"><span onmouseover="showTips('铁路最新版本最新上传',tips)" onmouseout="hideTips('',tips)">1</span></a> </td> </tr> <tr> <td height=40> <a href="#"><span onmouseover="showTips('你好世界',tips)" onmouseout="hideTips('',tips) )">2</span></a> </td> </tr> <tr> <td height=40> <a href="#"><span onmouseover="showTips('你好世界',提示)" onmouseout="hideTips('',tips)">3</span></a> </td> </tr> <tr> <td height=40> <a href="#">< span onmouseover="showTips('你好世界',tips)" onmouseout="hideTips('',tips)">4</span></a> </td> </tr> <tr> <td 高度=40> <a href="#"><span onmouseover="showTips('你好世界',tips)" onmouseout="hideTips('',tips)">5</span></a> </ td> </tr> </table> </body> </html>