fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <script> function getRelatedElement(event){ alert("鼠标指针移到了 " + event.relatedTarget.tagName + " 元素"); } </script> </head> <body> <p onmouseover="getRelatedElement(event)">鼠标移到这一段。</p> </body> </html>
运行结果