Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<body id="#wrapper_object_content">
<div><a class="audio_mpeg" href="link1">link1</a></div>
<a class="audio_mpeg" href="link2">link2</a>
<p><a class="audio_mpeg" href="link3">link3</a></p>
$(document).ready( function() {
var selector = '.audio_mpeg';
$('#wrapper_object_content').on("portfolio:finish", selector, function(ev) {
$(selector, ev.delegateTarget).eq(
$(selector, ev.delegateTarget).index(this) + 1
return true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.