You must have wondered, how to add zooming effect to an image.
Its pretty simple to do….
A simple attribute of has the capbility of doing it
onmouseup="this.height=150;this.width=200" width=200 height=150>
Here are few of the event handlers :
|onabort||Script to be run when loading of an image is interrupted|
|onclick||Script to be run on a mouse click|
|ondblclick||Script to be run on a mouse double-click|
|onmousedown||Script to be run when mouse button is pressed|
|onmousemove||Script to be run when mouse pointer moves|
|onmouseout||Script to be run when mouse pointer moves out of an element|
|onmouseover||Script to be run when mouse pointer moves over an
|onmouseup||Script to be run when mouse button is released|
|onkeydown||Script to be run when a key is pressed|
|onkeypress||Script to be run when a key is pressed and released|
|onkeyup||Script to be run when a key is released|