Advanced search  

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]

Pages: [1]   Go Down

Author Topic: MouseOver Changes Color  (Read 2678 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.014 seconds with 19 queries.