If you want to achieve a fade effect, you can utilize jquery in the following manner: http://api.jquery.com/fadeout/
$( "#vacancy-div-id" ).click(function() {
$( "#id-of-what-you-want-to-fade-out" ).fadeOut( "slow", function() {
// Animation complete.
});
});
To initiate a fade in effect, you can use this method: http://api.jquery.com/fadein/
$( "#close-button-id" ).click(function() {
$( "#id-of-what-you-want-to-fade-in" ).fadeIn( "slow", function() {
// Animation complete
});
});
For a more detailed example - Add this code snippet to your html file:
<script>
$( "#close-button-id" ).click(function() {
$( "#id-of-what-you-want-to-fade-in" ).fadeIn( "slow", function() {
// Animation complete
});
});
</script>
If you are unsure of the id required to trigger the fadeIn animation, you can right-click on the element and select inspect to view the html structure of your page.