does anyone know this code?, image link/hover... |
![]() ![]() |
does anyone know this code?, image link/hover... |
![]()
Post
#1
|
|
![]() i'll spend forever loving you. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 571 Joined: Jun 2006 Member No: 431,524 ![]() |
the code where the image is a link, but when you hover over it the image changes?
(exp. the image is b&w, but on hover it's color).. does anyone have that? |
|
|
![]()
Post
#2
|
|
![]() & my dreams fall down ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,173 Joined: Nov 2005 Member No: 291,336 ![]() |
do you mean this or what?
CODE style type="text/css"><!-- a:hover{color:#B00000} //--></style>
|
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 134 Joined: Jun 2006 Member No: 424,880 ![]() |
You mean kinda like a roll over button? I'm guessing your going to have two versions of one image, one in color and one in black and white, and you want them to switch places when you hover over the picture. I know you can use JavaScript, but it can also be done in your CSS. This tutorial has what you need then. Scroll all the way down to the "Rollover button 1" part.
|
|
|
![]()
Post
#4
|
|
![]() i'll spend forever loving you. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 571 Joined: Jun 2006 Member No: 431,524 ![]() |
^ thanks so much!
|
|
|
![]()
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 134 Joined: Jun 2006 Member No: 424,880 ![]() |
Your very welcome!
![]() |
|
|
![]() ![]() |