The Ultimate Batch File Template

While batch files are certainly en route to going the way of the dinosaur, they're still my preferred way of scripting automated procedures and routines. After a few years of va...

Toggling element visibility in CSS

Sometimes you'll want items hidden until a particular element is clicked, such as a side pop-out, or a "click here to expand this section" option - and think that JavaScript is t...

Handling cookies in JavaScript

While a contentious topic in many circles, cookie handling is nonetheless necessary in certain situations, so it's useful to be able to handle cookies in JavaScript should the ne...

Building an HTML Tab System

Sometimes you'll want to display a lot of information on a single page and be able to switch between sections, for which you'd like to implement a tab system. The trouble is, imp...

Adding spoiler text to pages

Ever wanted to have a hover spoiler, and wondered how to do it? It's quite simple to do, but relies on CSS3 (this should be no issue these days). What we do is to set the origin...