Log In · Register

 
 
Closed TopicStart new topic
does anyone know this code?, image link/hover...
cassjamminx
post Jul 8 2006, 12:40 PM
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?
 
verbalistic
post Jul 8 2006, 05:16 PM
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>
 
Listelle
post Jul 8 2006, 10:32 PM
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.
 
cassjamminx
post Jul 9 2006, 08:16 PM
Post #4


i'll spend forever loving you.
*****

Group: Member
Posts: 571
Joined: Jun 2006
Member No: 431,524



^ thanks so much!
 
Listelle
post Jul 10 2006, 01:41 AM
Post #5


Senior Member
****

Group: Member
Posts: 134
Joined: Jun 2006
Member No: 424,880



Your very welcome! biggrin.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: