Created
March 19, 2017 14:35
-
-
Save tonysaffo/fff68f830227fbf5abb46d7ae866a698 to your computer and use it in GitHub Desktop.
fp_Zoom.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="jquery_fpZoom"> | |
<div class="fpZoom_close"> | |
<i class="fa fa-times-circle" aria-hidden="true"></i> | |
</div> | |
<div class="fpZoom_hidden_closer"> | |
</div> | |
</div> | |
<script> | |
$(".news_law_item").click(function(){ | |
$('.jquery_fpZoom').slideDown(300); | |
$('.jquery_fpZoom').css('background-image',$(this).css('background-image')); | |
}); | |
$(".fpZoom_close").click(function(){ | |
$('.jquery_fpZoom').fadeOut(300); | |
}); | |
$(".fpZoom_hidden_closer").click(function(){ | |
$('.jquery_fpZoom').fadeOut(300); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment