Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created June 3, 2013 19:16
Show Gist options
  • Select an option

  • Save objectivehtml/5700566 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/5700566 to your computer and use it in GitHub Desktop.
// Foundation 3
if(window.hash == 'some-trigger') {
$('a.reveal-link').trigger('click');
}
// Foundation 4
if(window.hash == 'some-trigger') {
$('#myModal').foundation('reveal', 'open');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment