Skip to content

Instantly share code, notes, and snippets.

@Ethanb00
Created November 13, 2019 16:21
Show Gist options
  • Save Ethanb00/dfac2505c4c2c73aa5269b0ccfcd7e97 to your computer and use it in GitHub Desktop.
Save Ethanb00/dfac2505c4c2c73aa5269b0ccfcd7e97 to your computer and use it in GitHub Desktop.
<style>
button{
padding: 20px;
margin: 20px;
}
</style>
<div style="margin:0 auto; width:75%; text-align:center;">
<h3>I need to fill out the attorney referral request form in: <br>
Necesito completar el formulario de solicitud de referencia de abogado en:</h3>
<button id=trigger-english href="#">English</button>
<button id=trigger-spanish href="#">Español</button>
<script>
jQuery(document).ready(function($) {
$('#trigger-english').click(function() {
$('#english-request').toggle();
$("#spanish-request").css("display", "none");
});
$('#trigger-spanish').click
(function() {
$('#spanish-request').toggle();
$("#english-request").css("display", "none");
});
});
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment