Skip to content

Instantly share code, notes, and snippets.

@jjcall
Created January 27, 2014 22:25
Show Gist options
  • Save jjcall/8658581 to your computer and use it in GitHub Desktop.
Save jjcall/8658581 to your computer and use it in GitHub Desktop.
$(document).ready ->
$(".next").click ->
target = $(this).attr('data-target')
$('body, html').animate
scrollTop: $('#' + target).offset().top, 600
setTimeout (->
$(".idea-logo").addClass "animated tada"
), 2000
$('#steps').waypoint ->
setTimeout (->
$(".create img").addClass "animated pulse"
), 600
setTimeout (->
$(".validate img").addClass "animated pulse"
), 1200
setTimeout (->
$(".repeat img").addClass "animated pulse"
), 1800
$(window).on "load resize", (e)->
$('.landing section.billboard.full, .landing section.steps.full').height $(window).height() - 46
$('.row-wrapper.full').flexVerticalCenter()
$(window).trigger "resize"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment