HTML rollover code gets kicked out
Posted: Sat May 02, 2020 2:16 pm
Hi Guys, I'm trying to add a simple rollover to a button on this page:
https://historypoints.org/index.php?pag ... ay-station
The current code works perfectly as per:
However, when I add the rollover instructions it gets kicked out immediatley when I go back to regular view. As per:
I chose this way as it is the most simple, for the benefit of another (and myself if I'm honest). Am i doing something wrong with my code or should I go the CSS route.
Cheers and best wishes,
Eugene.
https://historypoints.org/index.php?pag ... ay-station
The current code works perfectly as per:
Code: Select all
<div style="float: left; margin-right: 15px;"><a href="{cms_selflink href='railway-history'}"> <img src="uploads/images/rollovers/sign-out.gif" alt="sign-out" width="120" height="60" /> </a></div>
Code: Select all
<!--rolloverBeggins-->
<div style="float: left; margin-right: 15px;"><a href="{cms_selflink href='railway-history'}"> <img src="uploads/images/rollovers/sign-out.gif" alt="sign-out" width="120" height="60"
onmouseover=”this.src=’uploads/images/rollovers/sign-over.gif ’ ” alt="sign-over" width="120" height="60"
onmouseout=”this.src=’uploads/images/rollovers/sign-out.gif ’ ” alt="sign-out" width="120" height="60"/> </a></div>
<!--rolloverEnds-->
Cheers and best wishes,
Eugene.