Created
April 20, 2012 05:11
-
-
Save Yuffster/2426170 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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