Забирай... для IE работает точно, FF что-то не сильно... но дальше уже сам мучайся
Код HTML:
<html>
<head>
<script language="JavaScript">
/*
* This function will not return until (at least)
* the specified number of milliseconds have passed.
* It uses a modal dialog.
*/
function pause(numberMillis) {
var dialogScript =
'window.setTimeout(' +
' function () { window.close(); }, ' + numberMillis + ');';
var result =
// For IE5.
window.showModalDialog(
'javascript:document.writeln(' +
'"<script>' + dialogScript + '<' + '/script>")');
/* For NN6, but it requires a trusted script.
openDialog(
'javascript:document.writeln(' +
'"<script>' + dialogScript + '<' + '/script>"',
'pauseDialog', 'modal=1,width=10,height=10');
*/
}
function big(a){
a.width=55; pause(100);
a.width=60; pause(100);
a.width=65; pause(100);
a.width=70;
}
function small (a){
a.width=50;
}
</script>
</head>
<body>
<table><tbody>
<tr>
<td>
<img src="test.php_files/1.jpg" onmouseover="big(this);" onmouseout="small(this);" border="0" width="50">
</td>
<td>
<img src="test.php_files/2.jpg" onmouseover="big(this);" onmouseout="small(this);" border="0" width="50">
</td>
<td>
<img src="test.php_files/4.jpg" onmouseover="big(this);" onmouseout="small(this);" border="0" width="50">
</td>
</tr>
</tbody></table>
</body>
</html>