Run node.js in windows

by graham
  recent releases of node js, altough unstable, now come with windows executables (thanks to help from Microsoft) which means no more fiddling with cygwin to get it up and running on your machine.  How to run node 1. Download node.exe from http://nodejs.org/#download  2. Put this ... [More]

JS1K #3

by graham
JS1K is a "competition is to create a cool JavaScript 'application' no larger than 1k." The third version runs until 24 April and my entry is a little game called Run away!  

Prevent console.log throwing errors

by graham
Although all debugging code should be removed before live deployments there will likely be times during development that people without a debugging tool, like Firebug, will want to view the application. To prevent console.log throwing an error add the following to your JavaScript:   if (type... [More]

HTML5 logo, W3F

by graham
  Yesterday the W3C unveiled their logo for HTMl5 to a largely mixed response. To some it was nice to now have a visual reference point for HTML5, to others it was met with a chorus of groans. The W3C seemingly lumped CSS3 in with HTML5. What were they thinking?  Clearly... [More]

jQuery 1.4.4 released

by graham
A few minor changes in this latest release from the jQuery team and a new feature, .fadeToggle() This method is similar to the existing .slideToggle() and .toggleClass() toggle effects and extends the method types to a fade effect.  More from the release notes on the jQuery blog and the ... [More]

swfobject IE6 error

by graham
Error: 'null' is null or not an object Wow, this was fun to figure out. IE6 doesn’t like hyphens in the id of the target element. Running the following code displayed the flash fine in IE6 (and other browsers) but there was an error coming from swfobject.js (line 14 actually had jQuery on w... [More]