treehouse : what would you like to learn today?
Web Design Web Development iOS Development

chrisdewar

  • Jquery Smooth Scroll to a name and id

    The reason it's failing is because you are using this.hash as a selector. In the case of an element id it works, but you can't select a name like that. Try something like this: $(document).ready(function() { $('a[href^="…
    Comment by chrisdewar October 2012 permalink