MouseOver Changes Color MouseOver Changes Color
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

MouseOver Changes Color

Started by gymnastdude182, May 22, 2005, 04:30:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gymnastdude182

I was at http://www.lindsayimages.com/, and I liked the way that when you placed your mouse over a thumb, the background would change colors. I searched for how to do that on this forum, but I could not find it, and any help would be greatly appreciated.

kegobeer

All they did was add
style="cursor:hand" onmouseover="this.style.backgroundColor='#FFD542';"onmouseout="this.style.backgroundColor='#FFEFB5';"
to the <td> tag in the theme.php file.  If you want just the thumbnails to be highlighted, just change the $template_album_list variable, in <!-- BEGIN album_cell -->...
<td align="center" height="100%" valign="middle" class="thumbnails">
If you want other changes, just go thru the theme.php file and change what you want.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots