1<!DOCTYPE html>
2<html>
3<body>
4<img onmouseover="bigImg(this)" onmouseout="normalImg(this)" border="0" src="smiley.gif" alt="Smiley" width="32" height="32">
5<script>
6function bigImg(x) {
7 alert("kursor klick")
8}
9</script>
10</body>
11</html>
12