You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhky/web/css/activeImg.htc

17 lines
347 B

<public:component>
<public:attach event="onmouseover" onevent="itemOnMouseOver()" />
<public:attach event="onmouseout" onevent="itemOnMouseOut()" />
<script language="javascript">
function itemOnMouseOver(){
with (element) {
src = overimg;
}
}
function itemOnMouseOut(){
with (element) {
src = outimg;
}
}
</script>
</public:component>