MouseOver Changes Color MouseOver Changes Color
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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