forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: gymnastdude182 on February 12, 2006, 10:31:15 pm

Title: Cell Rollover Effect
Post by: gymnastdude182 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!
Title: Re: Cell Rollover Effect
Post by: Joachim Müller 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).
Title: Re: Cell Rollover Effect
Post by: gymnastdude182 on February 14, 2006, 02:40:20 am
where do I put this html that you gave me?
Title: Re: Cell Rollover Effect
Post by: Joachim Müller 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.
Title: Re: Cell Rollover Effect
Post by: gymnastdude182 on February 23, 2006, 04:09:13 am
Still not sure what you mean. How does it get incorporated with the current data?
Title: Re: Cell Rollover Effect
Post by: Nibbler on February 23, 2006, 04:11:14 am
You download the file, edit it as stated, then re-upload it.