如题....

解决方案 »

  1.   

    MsgBox('bang ni ding...................')
      

  2.   

    我希望当hover事件发生时,执行一些脚本
      

  3.   

    <img src="/i/eg_mouse2.jpg" alt="mouse"  onmouseover="alert('您的鼠标在图片上!')" />
      

  4.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>test</title>
    <style></style>
    <script src="jquery-1.3.2.js"></script>
    <script>
    $(document).ready(function(){
            $("#link").hover(
                function () {
      alert("触发事件")//类似mouseover
                },
                function (event) {
      alert("再次触发事件")//类似mouseout
                }
            );
    });
    function test(){
    alert("onclick 事件")
    }
    </script>
    </head><body>
    <a id="link" href="http://www.g.cn">
            <p onclick="test()">hu zhenghui</p>
    </a>
    </body>
    </html>
      

  5.   

    hover表达什么意思?根据这个意思来写事件
      

  6.   

    我的意思就是这个,只是问问当鼠标进入一个区域,这个事件的名称叫什么;答案就是:   onmouseover