Last active
February 11, 2024 06:28
-
-
Save natejones/60aebbb033d59acd1fdb to your computer and use it in GitHub Desktop.
Registration Success message
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
<!-- formstack submit redirect to same page with #success on the end --> | |
<!-- This goes at the top of the content --> | |
<div class="alert-box success radius" data-alert="" id="success" style="display: none;">Success! Thank you for registering for Open House! <a class="close" href="#">×</a></div> | |
<!-- this goes anywhere --> | |
<!--#protect | |
<script type="text/javascript"> | |
if(window.location.hash) { | |
var thehash = window.location.hash; | |
if (thehash == "#success"){ | |
document.getElementById("success").style.display = "block"; | |
} | |
} | |
else {} | |
</script> | |
#protect--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment