Skip to content

Instantly share code, notes, and snippets.

@mikespokefire
Created April 19, 2012 15:12
Show Gist options
  • Save mikespokefire/2421581 to your computer and use it in GitHub Desktop.
Save mikespokefire/2421581 to your computer and use it in GitHub Desktop.
var myFunc = function() {
console.log(this); //currently outs DOMelement
};
if ($('body.home').length) {
$('.slideshow').cycle({
after: myFunc
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment