« first day (24 days earlier)      last day (2404 days later) » 

12:46 AM
posted on July 15, 2010 by kangax

.subclassing-array .yes, table .no { text-align: center; } .subclassing-array .yes { background-color: #afa; } .subclassing-array .no { background-color: #faa; } .subclassing-array thead th { padding: 0.5em 1em; } .subclassing-array tbody th { padding-right: 1em; text-align: left; } .subclassing-array h4 { font-size: 1em; } .subclassing-array table { margin-bottom: 2em; } .subclassing-array ul

posted on December 15, 2010 by kangax

#global-eval-what-are-the-options ul { margin-top: 0; margin-bottom: 0; margin-left: 1em; } #global-eval-what-are-the-options ul li { margin-bottom: 3px; } #global-eval-what-are-the-options .toc { margin-bottom: 30px; } #global-eval-what-are-the-options blockquote p { margin-bottom: 0; } #global-eval-what-are-the-options h5 { font: bold 1.2em Georgia, serif; margin-bottom: 1em; } #global-eval-w

posted on January 17, 2011 by kangax

#expression-closure-tests li { margin-bottom: 30px; } #expression-closure-tests li .q { margin-bottom: 0.5em; } #expression-closure-traits li { list-style-position: inside; } I was recently working hacking on something in Firebug console and remembered about expression closures — a language addition, introduced in Mozilla’s JavaScript 1.8. The concise explanation on MDC captures the essen

 
3 messages moved from JavaScript
 
posted on June 01, 2010 by James

I wanted to give a brief overview of the techniques involved in creating this. It’s slightly pointless but still quite fun and I think there are a few notable aspects of its implementation that are worth writing about. It is a “Fairy” generator that creates…

posted on July 07, 2010 by James

Finding and replacing strings of text in a DOM document is very tricky, especially if you’re looking to do it properly and entirely unobtrusively. In this context, “unobtrusive” means affecting the page in a minimally invasive manner — minimal DOM destruction, no un-called-for normalizing of…

posted on July 26, 2010 by James

A letter to the .NET magazine Staring keenly at a stack of magazines, I hazard a gaze towards the computer section and lay my eyes upon the newest cover of my sworn enemy, the .NET magazine. Its luring front-page convinces me that it deserves my consideration.…

posted on August 20, 2010 by James

A short snippet for detecting versions of IE in JavaScript without resorting to user-agent sniffing

posted on March 01, 2011 by James

Today is “beautify ugly JS” (BUJS) day. Enjoy! This post is part of the BUJS series, a collection of posts that focus on and discuss best practices in JavaScript by revealing the inefficiencies and code-smells of randomly selected JS code from the wild. Today’s source: from here —…

 
5 messages moved from JavaScript
 
1:10 AM
posted on January 01, 0001

Forms Constructing a good form by hand is a lot of work. Popular frameworks like Ruby on Rails and Django contain code to make this process less painful. This module is an attempt to provide the same sort of helpers for node.js. Forms by Caolan McMahon (with contributions from Ludwig Pettersson, Jed Parsons, and Rob Burns) is a library for generating and validating forms. It’ll gener

posted on January 01, 0001

Welcome to part 53 of Let’s Make a Framework, the ongoing series about building a JavaScript framework. If you haven’t been following along, these articles are tagged with lmaf. The project we’re creating is called Turing. Documentation is available at turingjs.com. The Style and innerHTML Properties After years of blindly manipulating the style and innerHTML properties,

 
Okay, the published date is messed up for this one... sighs
 
posted on January 01, 0001 by contact.us

Designing websites for kids is a fascinating, challenging, rewarding, and exasperating experience: You’re trying to create a digital experience for people who lack the cognitive capacity to understand abstraction; to establish brand loyalty with people who are influenced almost exclusively by their peers; and to communicate subjective value propositions to people who can only see things in blac

posted on January 01, 0001 by contact.us

One of the most powerful security tools available to web developers is cryptography—essentially a process by which meaningful information is turned into random noise, unreadable except where specifically intended. A web developer working on an underpowered netbook in his basement now has access to cryptosystems that major governments could only have dreamed of a few decades ago. And ignorance o

posted on January 01, 0001 by contact.us

If you’re a web designer or developer, you’re well acquainted with prototyping. From raw wireframing to creating interfaces in Photoshop, designers map out how sites will work before they create them. Over the past few years, the protoyping process has changed significantly. With browser makers generally agreeing on web standards and the rise of tools such as Firebug and WebKit’s web inspector,

 
6 messages moved from JavaScript
 
 
16 hours later…
5:38 PM
posted on March 03, 2011

This week’s. Interesting breakdown of the Indonesian mobile market. In five years, mobile phone ownership has gone from 20 to 54%, while landline subscriptions halved from 25 to 11%. It’s the young that drive the transition. The mobile context does not exist according to Mark Kirby. Or rather, it’s impossible to accurately guess what the user wants by looking at his scree

posted on March 07, 2011

Here are the global mobile browser stats for February 2011, taken from StatCounter. Little is happening; it seems the browser market is taking a few months off after the huge changes of the second half of 2010. Nokia and Android are one point up; Safari and BlackBerry one point down. Android and BlackBerry continue their trends, Nokia and Safari don’t. That’s it. Global browse

posted on March 16, 2011

This week’s. And last week’s, when I was lazy....

 
3 messages moved from JavaScript
 

« first day (24 days earlier)      last day (2404 days later) »