Highlight Cells? Highlight Cells?
 

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

Main Menu

Highlight Cells?

Started by mlnet, June 20, 2006, 12:26:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mlnet

Hey! I'm back with another question already haha. I have been dying to know how to do this as well, because it's such a cool effect and I have tried to make it with a similar code but it didn't work.

How can I make the entire category box surrounding the category title change colors on a link hover?

Thanks and I hope you can help me solve this one too.

Sami

I don't undrestand your question !
do you want ,changing color of main category table on hover of each category titles or just on hover of it self can you give me example?
‍I don't answer to PM with support question
Please post your issue to related board

mlnet

I meant the background color of the category box.  Here is an example at this site- highlight cells. If you notice, when you hover over the category title and the recent images the background of the category box changes color.

Thanks!

Sami

First, that gallery is 1.4.4 and if you know the owner of the gallery inform her/him to upgrade ASAP to 1.4.8
- she/he use javascript to change the style of category boxes :
by putting this line:
style="cursor:hand" onmouseover="this.style.backgroundColor='E5E5E5';"onmouseout="this.style.backgroundColor='ffffff';"
to starttable() function if you want to do that
1. copy starttable() function from themes/sample/theme.php to your theme then find this line on it
<td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

and add that line after <td class="catrow" before align="left">
‍I don't answer to PM with support question
Please post your issue to related board

Vargha

very nice bmossavari  ;) id like to do that aswell   :)
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Gizmo

Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

mlnet

Sorry it took so long to respond, it took me forever to find that td class part in the theme.php because I started from the bottom and then I messed up the first time I did it! It worked perfectly and it looks really good! Thank you so much for all of your help, you are awesome!

Sami

@mlnet:you'r welcome ;)

@vargha:thank you

@gizmo:this is good tutorial , thank you
‍I don't answer to PM with support question
Please post your issue to related board