DW中如何制作鼠标经过的时候图像会变?

来源:百度知道 编辑:UC知道 时间:2024/07/07 21:39:57

行为里面有个“图像交换”
onmouseover就可以了

假设我有一个链接是123的宽200高50的链接
那么可以:
<html>
<head>
<style>
.link1{width:200px;height:50px;float:left;background:url(..\images\pic1.gif)}
.link1:hover{background:url(..\images\pic2.gif)}
</style>
</head>
<body>
<a href="#" class="link1">123</a>
</body>
</html>