Advanced search  

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

Pages: [1]   Go Down

Author Topic: MouseOver Changes Color  (Read 2982 times)

0 Members and 1 Guest are viewing this topic.

gymnastdude182

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
MouseOver Changes Color
« on: May 22, 2005, 04:30:57 am »

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.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: MouseOver Changes Color
« Reply #1 on: May 22, 2005, 05:06:39 am »

All they did was add
Code: [Select]
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 -->...
Code: [Select]
<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.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.