Javascript animated collapsible panels without any frameworks
If you need to make collapsible panels that remember their state, but don’t want to use any javascript framework, this tutorial will help you do this with no headaches – and you’ll learn some neat javascript tricks too!
Full StoryAutomatically highlight current page in menu via Javascript
Whenever one builds a website, one issue is always guaranteed time consuming: highlighting the current page or section in the website with a different style. In theory, this is relatively simple, just add a .current class to the link in question. So, if you have a menu styled from a list, you’d have: <ul> <li><a [...]
Full Story