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: Cell Rollover Effect  (Read 5043 times)

0 Members and 1 Guest are viewing this topic.

gymnastdude182

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Cell Rollover Effect
« on: February 12, 2006, 10:31:15 pm »

I looked using the "search" feature, but had no luck. This site: http://www.lindsayimages.com/ has what I'm looking for. When you scroll over the categories, the background changes as well as the navigation. If anyone knows how to do this, I'd be really appreciative! Thanks again!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Cell Rollover Effect
« Reply #1 on: February 13, 2006, 05:30:50 pm »

The site you're refering to has accomplished what you're looking for by this code
Code: [Select]
<td class="tableb" style="cursor:hand" onmouseover="this.style.backgroundColor='#FFD542';"onmouseout="this.style.backgroundColor='#FFEFB5';"><span class="catlink"><h2><a href="index.php?cat=2">Awards & Events</a></h2></span> </td>(just take a look at the HTML output as well as I did, no particular trick), however it uses JavaScript to do that. You could even accomplish this by using plain CSS (take a look at the pseudo class definition catlink a:hover).
Logged

gymnastdude182

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: Cell Rollover Effect
« Reply #2 on: February 14, 2006, 02:40:20 am »

where do I put this html that you gave me?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Cell Rollover Effect
« Reply #3 on: February 14, 2006, 08:14:52 am »

edit themes/yourtheme/theme.php, find
Code: [Select]
// HTML template for the category listand edit the stuff beneath it accordingly.
Logged

gymnastdude182

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: Cell Rollover Effect
« Reply #4 on: February 23, 2006, 04:09:13 am »

Still not sure what you mean. How does it get incorporated with the current data?
Logged

Nibbler

  • Guest
Re: Cell Rollover Effect
« Reply #5 on: February 23, 2006, 04:11:14 am »

You download the file, edit it as stated, then re-upload it.
Logged
Pages: [1]   Go Up
 

Page created in 0.076 seconds with 19 queries.