user profile image


  1. Could use .toggleClass instead of add/remove, saves you a couple lines:

    $('nav').toggleClass('fixed', $(window).scrollTop() > navHeight);

  2. ousum!

  3. The thing is in that header "sticks" to top? Why don't you use position: sticky in CSS instead?

  4. @JTParrett @marthknoxmk @smellyshovel The picking of this pen caught me off guard. Maybe this is awkward but I would rather have the comments on , because it feels weird to me replying on something that is not of my own making.

  5. The only thing that throws me off is the fixed height value. Other than that it's superb.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.