<script>
jQuery(document).ready(function($) {

//Hide all content to be revealed
$(‘.reveal_content’).hide();

//Create the click event for each reveal button
$(‘.reveal_button’).click(function (e) {

//Prevent the default button action (i.e. redirecting to a url)
e.preventDefault();

//Get the parent section for the button clicked
$parent_section = $(this).closest(‘.reveal_section’);

//Remove the opened class from all other buttons
$(‘.reveal_button’).not(this).removeClass(‘opened’);

//Close all content in other sections
$(‘.reveal_section’).not($parent_section).find(‘.reveal_content’).fadeOut(‘slow’);

//Hide/Reveal the content in the same section as the button clicked
$(this).addClass(‘opened’);
$parent_section.find(‘.reveal_content’).each(function() {
$(this).slideToggle();
}
)

});

}
)
</script>
<script>
jQuery(function($){
$(‘.rv_button’).click(function(e){
e.preventDefault();
$(“#reveal”).slideToggle();
$(‘.rv_button’).toggleClass(‘opened closed’);
});
});
</script>
<script>
jQuery(function($){
$(‘.rv_button2’).click(function(e){
e.preventDefault();
$(“#reveal2”).slideToggle();
$(‘.rv_button2’).toggleClass(‘opened closed’);
});
});
</script>
<script>
jQuery(function($){
$(‘.rv_button3’).click(function(e){
e.preventDefault();
$(“#reveal3”).slideToggle();
$(‘.rv_button3’).toggleClass(‘opened closed’);
});
});
</script>
<script>
jQuery(function($){
$(‘.rv_button4’).click(function(e){
e.preventDefault();
$(“#reveal4”).slideToggle();
$(‘.rv_button4’).toggleClass(‘opened closed’);
});
});
</script>
<script>
jQuery(function($){
$(‘.rv_button5’).click(function(e){
e.preventDefault();
$(“#reveal5”).slideToggle();
$(‘.rv_button5’).toggleClass(‘opened closed’);
});
});
</script>