Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Last active August 29, 2015 14:01
Show Gist options
  • Save objectivehtml/61b8fd1e17f35944c69b to your computer and use it in GitHub Desktop.
Save objectivehtml/61b8fd1e17f35944c69b to your computer and use it in GitHub Desktop.
$(document).ready(function() {
$('.dentist-profile').click(function(e) {
var index = $(this).parent().index();
var marker = map_markers[index];
marker.window.open(map_map, marker);
e.preventDefault();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment