javascript 事件
实现类似超链接的效果,this代表本页面元素
<html> <head> <script type="text/javascript"> function mOver(obj){ obj.color="red"; } function mOut(obj){ obj.color="blue"; } </script> </head> <body> <font style="cursor:hand" onclick="window.location.href='http://www.baidu.com/'" onmouseover="mOver(this)" onmouseout="mOut(this)" >欢迎进入</font> </body> </html>
    开始做,坚持做,重复做
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号