Can someone tell me how to make it change on click too
Like when you click it turns different for a coupl of seconds?

Can someone tell me how to make it change on click too
Like when you click it turns different for a coupl of seconds?
a:active {
color: #000000;
text-decoration: none;
}
is the CSS code.
(edit the #000000 to what colour you like)
Tis' I.
I'm no javascript coder, but I'm sure i've seen ' this.src= ' on a hover image before before.
So could you not do:
<div style="background:red;" onmouseover="this.style='background:blue;'" onmouseout="this.style='background:red;'"></div>
I tried anyway..
![]()
Want to hide these adverts? Register an account for free!