JQuery – Find() – this – show and hide Process

<a class='clickclick'>Screenshots
   <div class='screen-pop'>
      <div class='screen-wrap'>
          <img src="/images/example.jpg">
      </div>
      <p class='close-window'></p>
   </div>											
</a>
<script type="text/javascript">
// show	
$('.clickclick').click(function() {
   $(this).find(".screen-pop").show();
});
// hide	
$('#lightbox').click(function() {
   $(".screen-pop").hide();							
});
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *