Thread:Usche/@comment-4592231-20150813114835

Can you try the following code on your fiddle?:

function for hiding! function showAndTell(image){ if(image == color1){ $("#color1Costume").show; $("#color2Costume").hide; }else if(image == color1){ $("#color2Costume").show; $("#color1Costume").hide; } } //document ready $(document).ready(function{   //when you click the class, do function!    $(".clicker").click(function{ image = $(this).value; showAndTell(image); }); });

Color 1 Color 2  

 