Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Loverboy on January 24, 2007, 10:28:44 PM

Title: Changing the boardcolor onMouseOVER ?
Post by: Loverboy on January 24, 2007, 10:28:44 PM
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\'" >
Title: Re: Changing the boardcolor onMouseOVER ?
Post by: Dannii on January 24, 2007, 10:42:36 PM
You could just add this to your style sheet:.windowbg:hover {
background: #FFFCF9;
}
I think that would work.
Title: Re: Changing the boardcolor onMouseOVER ?
Post by: Loverboy on January 25, 2007, 07:34:56 AM
It worked .. Thanks. ;)