Line 58: | Line 58: | ||
<script> | <script> | ||
jQuery(function(){ | jQuery(function(){ | ||
− | jQuery('.showSingle').click(function(){ | + | jQuery('#showall').click(function(){ |
+ | jQuery('.targetDiv').show(); | ||
+ | }); | ||
+ | jQuery('.showSingle').click(function(){ | ||
jQuery('.targetDiv').hide(); | jQuery('.targetDiv').hide(); | ||
jQuery('#div'+$(this).attr('target')).show(); | jQuery('#div'+$(this).attr('target')).show(); | ||
}); | }); | ||
}); | }); | ||
− | |||
</script> | </script> | ||
Revision as of 13:31, 10 August 2017