onMouseOver, hyperlink and rel...help me :(
- by bahamut100
Hi,
Currently, I have a carrousel on javascript which works when we click on hyperlink, like this :
<div id="direction1">
<p>
<a href="javascript:" class="carousel-control" rel="next"><img class="fleche_suiv" src="/project/images/next.png" alt="Suivant" title="Suivant" />
</a>
</p>
</div>
I would like execute this evenment with a onMouseOver too.
So I try this, but it doesn't work :
<div id="direction1">
<p onMouseOver="this.getElementsByTagName('a').click()">
<a href="javascript:" class="carousel-control" rel="next"><img class="fleche_suiv" src="/project/images/next.png" alt="Suivant" title="Suivant" />
</a>
</p>
</div>
How to fix it ???