PDA

View Full Version : onmouseover


Angel Umbreon
05-13-2005, 12:48 AM
does anyone know how to do multiple changes with one onmouseover effect (e.g. changing background and text color at the same time)?

Basscyst
05-13-2005, 12:52 AM
Surely,

Seperate them with a semi-colon.

ex.



<a href="#" onmouseover="this.style.color='red';this.style.background='blue';">Test</a>



Basscyst

Angel Umbreon
05-13-2005, 01:02 AM
thx. that's all i need

Basscyst
05-13-2005, 01:04 AM
You are very welcome.

Basscyst

Angel Umbreon
05-13-2005, 01:07 AM
wait, when i do that, i need the WHOLE box to be filled

Basscyst
05-13-2005, 01:10 AM
What do you mean? More detail please. Perhaps some code?

Basscyst

Angel Umbreon
05-13-2005, 01:21 AM
Oh, never mind. I fixed it (CSS)

Basscyst
05-13-2005, 01:23 AM
That was most likeley going to be my suggestion. :)

Basscyst