Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created November 8, 2012 03:41
Show Gist options
  • Select an option

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

Select an option

Save objectivehtml/4036594 to your computer and use it in GitHub Desktop.
$('a').click(function() {
var id = $(this).attr('id');
$('.marker').hide();
$(id).show();
});
<a href="#your-category">Your Category</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment