Mouse
Over & Click Scripts.
Cuireann an script seo an cumas éifeachtaí difrúila a chur ar 'buttons'. Is féidir an script seo a chur ar íomhánna fresin. Chun samplaí a fheiscint den script seo féach thíos:
Scriptí
Mouse Over 1.
<input type="button" value="Mouse Over 1" name="B1" OnMouseOver = "value = ('the mouse is over')"
OnMouseOut = "value = ('the mouse is NOT over')">
Mouse Over 2.
<input type="button" value="Mouse Over 2" name="B2" OnMouseOver = "alert('the mouse is over')"
OnMouseOut = "alert('the mouse is NOT over')">
Mouse Over 3.
<input type="button" value="Mouse Over 3" name="B3" OnMouseOver = "width = (50)"
OnMouseOut = "width = (100)">
Mouse Click 1.
<input type="button" value="Mouse Click 1" name="B4" OnFocus = "value = ('this button is selected')"
Onblur = "value = ('this button is not selected')">
Mouse Click 2.
<input type="button" value="Mouse Click 2" name="B5" OnMouseDown = "value = ('the mouse button is Clicked')"
OnMouseup = "value = ('the mouse button is released')">