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: Cell Rollover Effect  (Read 5742 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: 47843
  • 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: 47843
  • 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.02 seconds with 20 queries.