Skip to content

Instantly share code, notes, and snippets.

@ejlangev
Created April 28, 2014 18:30
Show Gist options
  • Save ejlangev/11380168 to your computer and use it in GitHub Desktop.
Save ejlangev/11380168 to your computer and use it in GitHub Desktop.
Example of page specific js
$ ->
$("#scared, #down-arrow, #example-button").click ->
$("html, body").animate
scrollTop: $("#dares-photos").offset().top
, 1000
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment