139、鼠标驱动多图变化

139、鼠标驱动多图变化 

脚本说明:

把如下代码加入<body>区域中

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

// Preload Images

var image0 = new Image(); image0.src = "sto/002.jpg";

var image1 = new Image(); image1.src = "sto/003.jpg";

var image2 = new Image(); image2.src = "sto/004.jpg";

//  End -->

</script>

<a href="#" onmouseover="image0.src='sto/005.jpg'; image1.src='sto/007.jpg'; image2.src='sto/006.jpg';" onmouseout="image0.src='sto/008.jpg'; image1.src='sto/009.jpg'; image2.src='sto/0011.jpg';"><img name="image0" src="sto/0011.jpg"></a>

<img name="image1" src="04041.gif" border="0">

<img name="image2" src="04042.gif" border="0">

Write a comment

Comments: 0