JS使用oumousemove和oumouseout动态改变图片显示的方法

本文实例讲述了JS使用oumousemove和oumouSEOut动态改变图片显示方法分享给大家供大家参考。具体如下:

鼠标放到图片上时图片自动变大,鼠标离开图片还原

rush:js;"> SEOver="bigImg(this)" onmouSEOut="normalImg(this)" border="0" src="smiley.gif" alt="Smiley" width="32" height="32">

The function bigImg() is triggered when the user moves the mouse pointer over the image.

The function normalImg() is triggered when the mouse pointer is moved out of the image.

希望本文所述对大家的javascript程序设计有所帮助。

相关文章

什么是深拷贝与浅拷贝?深拷贝与浅拷贝是js中处理对象或数据...
前言 今天复习了一些前端算法题,写到一两道比较有意思的题:...
最近在看回JavaScript的面试题,this 指向问题是入坑前端必须...
js如何实现弹出form提交表单?(图文+视频)
js怎么获取复选框选中的值
js如何实现倒计时跳转页面