Skip to content

Instantly share code, notes, and snippets.

@cherihung
Created March 15, 2013 05:30
Show Gist options
  • Save cherihung/5167682 to your computer and use it in GitHub Desktop.
Save cherihung/5167682 to your computer and use it in GitHub Desktop.
var that = this;
$(window).bind( 'hashchange', function(e) {
var new_hash_slide = location.hash.slice(1);
that.setSlide(new_hash_slide);
VMM.Timeline.Config.current_slide = new_hash_slide;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment