We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6649
    • 25 Posts
    Hi all

    I have the following code:

    <div class="button_prev">
    <a href="[!prev!]" target="_parent"><img src="[(base_url)]assets/templates/webite/grey.jpg" width="10" height="16" onmouseover="this.src=’[(base_url)]assets/templates/website/black.jpg’" onmouseout="this.src=’images/grey.jpg’" /></a>
    </div>

    <div class="button">
    <a href="[!next!]" target="_parent"><img src="[(base_url)]assets/templates/website/grey2.jpg" width="10" height="16" onmouseover="this.src=’[(base_url)]assets/templates/website/black2.jpg’" onmouseout="this.src=’images/grey2.jpg’" /></a>
    </div>

    However, once I have put the mouse over a button, they disappear! And I have to refresh the page once again to get the buttons to reappear!

    Hovering the mouse over, changes the colour/image as above, but if I don’t click and simple remove the cursor, rather than return to normal.

    Can someone help please, this has really confused me!

    D smiley
      • 6649
      • 25 Posts
      Sorry guys - just discovered my error!
      Would help if I gave the correct location for the mouse off event in the code above!!!

      Thanks anyway

      D