Archive for November, 2009:

Using a function’s arguments array in JavaScript

By David Pratt / Tags: , / No Comments » / Published: 29-11-09

A tutorial that explains how to access a functions arguments array.

Are you sure you want to put that pop-under on your site?

By David Pratt / Tags: , , / 1 Comment » / Published: 27-11-09

A bit of analysis that looks at the negative consequences of putting a pop-under on a website, in terms of impressions, repeat visits, visits per impression, and revenue.

“This Page Contains Both Secure and Non-Secure Items”

By David Pratt / Tags: , , / 2 Comments » / Published: 24-11-09

When you get this message on a webpage, you might be needing a protocol-independent absolute path that switches between HTTP and HTTPS.

Dots appearing around images when you click them

By David Pratt / Tags: , / No Comments » / Published: 22-11-09

To fix this, set the outline property of the anchor element to zero, like so: a{outline:0};

Debugging JavaScript the easy way

By David Pratt / Tags: , / 1 Comment » / Published: 21-11-09

A function that tests for the existence of the console.log method, and if it doesn’t exist, instead calls alert(). Handy when you’re testing in different browsers that don’t all have Firebug installed.