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 StoryUsing javascript expressions in CSS
I usually prefer a fixed layout for pages, because this allows for more control over typography, readability and so on. Still, one of biggest clients specifically required two years ago their site to be built with a liquid layout that expands full-width; the whole site (about 2000 html and aspx pages) was eventually done this [...]
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