Writing: JavaScript

Function Friday #23: close your menu if a same-page anchor is clicked

Single-page websites and minimized-by-default menus are both really popular at the moment, and the combination of the two can cause an interesting problem. When these menus are expanded, combined with anchor links that just jump down the page instead of reloading it, you can end up with a menu covering your content.

Continue reading “Function Friday #23: close your menu if a same-page anchor is clicked”

I write about code, client resources, and nerdy things I like. You can jump straight to the technical stuff or the nontechnical stuff, or find specific topics below.