JS使用oumousemove和oumouseout动态改变图片显示的方法_javascript技巧
程序员文章站
2022-04-12 10:40:48
...
本文实例讲述了JS使用oumousemove和oumouseout动态改变图片显示的方法。分享给大家供大家参考。具体如下:
鼠标放到图片上时图片会自动变大,鼠标离开图片还原
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程序设计有所帮助。