megaru
New Member
I wish I knew coding... Dammit! one day. One day.
Posts: 4
|
Post by megaru on Jan 24, 2011 19:07:57 GMT -5
Okay, so there's yet another code I've seen and would like to use! it's when you hover your mouse over an image that is also a link and the image highlights, I guess? The code is used HERE in the admins sidebar, where the admin avatar is faded but when you hover over it, the fade leaves. Please help? ~Megaru
|
|
|
Post by JZSquared on Jan 24, 2011 23:30:51 GMT -5
Okay, so there's yet another code I've seen and would like to use! it's when you hover your mouse over an image that is also a link and the image highlights, I guess? The code is used HERE in the admins sidebar, where the admin avatar is faded but when you hover over it, the fade leaves. Please help? ~Megaru I believe that this is what you were looking for: <style type="text/css"> /* Transparent Buttons w/ Hover */ a img { filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5; } a:hover img, a:focus img { filter: alpha(opacity=100); -moz-opacity: 1.0; opacity: 1.0; } </style> Let us know if that works for you. It seems to go into your header, and thus will affect images placed below the code using "img" tags accordingly.
|
|
megaru
New Member
I wish I knew coding... Dammit! one day. One day.
Posts: 4
|
Post by megaru on Jan 25, 2011 0:18:21 GMT -5
It's working! =) Thank you so much.
|
|
|
Post by JZSquared on Jan 25, 2011 7:04:56 GMT -5
It's working! =) Thank you so much. No problem, let us know if you need anything else.
|
|