News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Changing the boardcolor onMouseOVER ?

Started by Loverboy, January 24, 2007, 10:28:44 PM

Previous topic - Next topic

Loverboy

What I want is that the board color (windowbg) changes when the mouse is over that board en turns to the original color when the Mouse is out that board.

Maybe it has to do something with the code below, but problem is that I don't know where to put it.

onMouseOver="this.style.backgroundColor=\'#FFFCF9\'" onMouseOut="this.style.backgroundColor=\'#F6F6F6\'" >

Dannii

You could just add this to your style sheet:.windowbg:hover {
background: #FFFCF9;
}
I think that would work.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Loverboy

#2
It worked .. Thanks. ;)

Advertisement: