Last active
November 15, 2019 11:15
-
-
Save robhob/60f42210a3a5f83851f2b7803270ec91 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<script type="text/javascript"> | |
jQuery(document).ready(function() { | |
// Hide the div | |
jQuery('#reveal').hide(); | |
jQuery('.rv_button').click(function(e){ | |
e.preventDefault();jQuery("#reveal").slideToggle(); | |
jQuery('.rv_button').toggleClass('opened closed'); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment