Skip to content

Instantly share code, notes, and snippets.

@Yuffster
Created April 20, 2012 05:11
Show Gist options
  • Select an option

  • Save Yuffster/2426170 to your computer and use it in GitHub Desktop.

Select an option

Save Yuffster/2426170 to your computer and use it in GitHub Desktop.
Eve.scope('.image-slideshow', function() {
//Will return all .image-slideshow img items.
this.find('img');
this.listen('a', 'click', function() {
// Only returns img.active items within the current
// .image-slideshow element.
this.find('img.active');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment