Toggling between showing all images and showing only a certain class

Toggling between showing all images and showing only a certain class

Hey guys,

I'm very new at jQuery and am probably asking a very simple question, but I can't for the life of me figure this one out. I've probably looking for the wrong thing entirely or using the wrong keywords.. Anyway, here's the idea. I have a list of a number of images which I want to show in its entirety at first. For example say some of these images are red, some are grey and some are blue. Then I want the user to be able to show only the red or only the grey or only the blue, by choosing in a little menu "red", "grey" or "blue". Then they should also be able to show "all" again. How do I set about doing this?

Thanks!
Sofie