DISCOVER
X

Tag Archive: jQuery

Sticky Sidebar in 10 Minutes

July 24, 2013 7:33 am Leave your thoughts

There had been a couple occasions where I had to create a sidebar on a website that will stay visible no matter how much the user scrolled. This is pretty easy of course if you just want to stick the sidebar to the absolute top using fixed positioning, but of... View Article


Counting Associative Array Length in JavaScript

February 26, 2013 1:47 pm Leave your thoughts

Before we look at the code snippets, yes there is no such thing as associative array in JavaScript, they are all objects. But really, a lot of people search for “how do we ¬†get¬†JavaScript¬†associative array length?” so I might as well publish this short post. So say we have an... View Article