[Solved] Changing Beginning of img [closed]


I’m not entirely sure what you’re asking, but it sounds like you might want to do CSS sprites.

http://css-tricks.com/css-sprites/

If you want to change the image on click, you’ll need some code. I won’t spend too much time on that, given your question is hard to decipher, but if it were me, I would create a class per sprite, then toggle between the two classes based on the click event.

solved Changing Beginning of img [closed]