gottaloveit
New Member
- Messages
- 33
- Reaction score
- 0
- Points
- 0
Hi all,
I have an effect in mind that i want to achieve but can't quite figure it out.
I have a row of 5 small pictures (each 100px by 75px). They are in a container div and are floated left to all line up. Below each one is a span that contains a solid background color and a description of each picture. There is a link around each picture and span. I have it currently so that when the user hovers over a picture, the related span text changes color, using css.
I want to be able to change three things onhover: the picture, the background color of the span, and the font color. At the moment I can't figure out how to make all three things change color - any tips?
I imagine it would involve a little javascript - can anyone point me in the right direction (I"m fairly good with css but a total javascript newb).
THanks,
Jamie
I have an effect in mind that i want to achieve but can't quite figure it out.
I have a row of 5 small pictures (each 100px by 75px). They are in a container div and are floated left to all line up. Below each one is a span that contains a solid background color and a description of each picture. There is a link around each picture and span. I have it currently so that when the user hovers over a picture, the related span text changes color, using css.
I want to be able to change three things onhover: the picture, the background color of the span, and the font color. At the moment I can't figure out how to make all three things change color - any tips?
I imagine it would involve a little javascript - can anyone point me in the right direction (I"m fairly good with css but a total javascript newb).
THanks,
Jamie