Created
October 20, 2009 11:13
-
-
Save jakearchibald/214186 to your computer and use it in GitHub Desktop.
This file contains 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
var listenerRef; | |
function addListener() { | |
listenerRef = glow.events.addListener(myCarousel2, 'afterScroll', afterScrollListener); | |
} | |
fucntion removeListener() { | |
glow.events.removeListener(listenerRef); | |
} | |
fucntion afterScrollListener() { | |
myCarousel2.moveBy(1, true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment