Skip to content

Instantly share code, notes, and snippets.

@wnstn
Created August 30, 2012 03:51
Show Gist options
  • Save wnstn/3522140 to your computer and use it in GitHub Desktop.
Save wnstn/3522140 to your computer and use it in GitHub Desktop.
mochaclub.coffee
$ ->
options =
autoPlay: true
autoPlayDelay: 6000
transitionThreshold: -100
startingFrameID: 1
nextButton: "#sequence .next"
prevButton: "#sequence .prev"
pauseOnHover: true
preloader: false
afterLoaded: ->
if(!sequence.transitionSupported)
$("#sequence").animate({"opacity": "1"}, 1000)
data = $("#sequence").sequence(options).data(sequence)
$('#sequence .prev').click( ->
event.preventDefault()
)
$('#sequence .next').click( ->
event.preventDefault()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment