# HTML Rollover with JS

**URL:** <https://forum.kirupa.com/t/html-rollover-with-js/172188>\
**Category:** web dev\
**Created:** [December 12, 2005, 9:44am UTC](https://forum.kirupa.com/t/html-rollover-with-js/172188 "2005-12-12T09:44:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mucho](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@mucho](https://forum.kirupa.com/u/mucho)\
**Post date:** [December 12, 2005, 9:44am UTC](https://forum.kirupa.com/t/html-rollover-with-js/172188/1 "2005-12-12T09:44:21Z")

</div>

Hi All,

I`ve got this problem with a HTML rollover. For some reason the rollovers stoped working.... but I don`t know why:

```auto
<a href="index.html" onmouseover="image1.src='images/home_on.gif';"onmouseout="image1.src='images/home_off.gif';"><img name="image1" border="0" src="images/home_off.gif" alt="home...house">

```

thanks a bunch,  
m.
