MouseOver Changes Color MouseOver Changes Color
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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