A tiny carousel with jQuery
I have been wanting to do this for a long time. Finally I made this: a really tiny carousel. It is good for: a light weight »
I have been wanting to do this for a long time. Finally I made this: a really tiny carousel. It is good for: a light weight »
Convert [[0, 1], [2, 3], [4, 5]] to [0, 1, 2, 3, 4, 5] or [4, 5, 2, 3, 0, 1] Solution 1: var flattened = [[0, »
I've been working on SPA (single-page application) with different frameworks, such as AngularJS and DurandalJS. Most of the time, each partial or viewModel needs multiple restful »
Regarding to this topic, I have 5 ways to add a file download link/button in HTML. See below: 1. <a> <a href= »
This post aims to only list out the most common use of JavaScript Type Conversions: Convert to Boolean: var boolValue = !!x; Convert to String: var stringValue »
How to get the value from URL parameter? This is a very common tip in web development. Code is as follow: function getValue(key) { var query »
Transpose in JavaScript Transpose: interchange rows and columns of a matrix (two-dimensional array). [ [1, 2, 3], [4, 5, 6] ]; ↓↓↓ [ [1, 4], [2, 5] »
The first time I saw Steve Souders was at HTML5 Conference 2013 in San Francisco. Just in case you haven't heard about him, here is a »
In this tutorial, I am going to teach you how to log JavaScript to a Python HTTPServer[1]. For a front-end developer, this becomes very useful »
Static properties and methods are those that don't change from one instance to another, which can be used without having to create an instance of the »