-
Recent Posts
Recent Comments
Archives
- June 2018
- March 2018
- October 2017
- August 2015
- May 2015
- February 2015
- January 2015
- December 2014
- August 2014
- July 2014
- May 2014
- March 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- January 2013
- August 2012
- December 2011
- November 2011
- March 2011
- August 2010
- February 2010
- January 2010
- June 2009
- April 2009
- March 2009
- December 2008
- November 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
Categories
Meta
Category Archives: JavaScript
Accessing Cordova Config Info From JavaScript Without Plugins
I wanted to access the current build number for analytics, but there seemed to be no easy way to get at the info that Cordova puts into the plist file (Xcode) and AndroidManifest.xml (Android Studio). My solution is to copy … Continue reading
Posted in JavaScript, Programming, Useful
Leave a comment
Build an HTML5 Game: Some Reviews
I’ve found three decent reviews for my book “Build an HTML5 Game“, and especially pleasing is the fact that two of them seem to be from exactly the target audience i.e. developers with existing web skills who didn’t realise how … Continue reading
Posted in JavaScript, Programming
4 Comments
Build An HTML5 Game – Answers To Exercises
My Build An HTML5 Game book is finally on the way, and the website to go with it is live too. As well as info about the book it serves three main purposes: A place to see and play the … Continue reading
Posted in JavaScript, Programming
Leave a comment
Build an HTML5 Game – 40% Early Access Discount
My book Build an HTML5 Game in going to be out in a couple of months, and until around 4pm on January 31st 2015 you can get 40% off with the discount code BRIGHTANDEARLY if you buy it here: http://www.nostarch.com/html5game … Continue reading
Posted in JavaScript, Programming
Leave a comment
A New Venture: Wedu Games
My new venture, Wedu Games, is up and running. Or at least the site is as there are no games finished yet. There are a few things in development, though, including an interactive storytelling table app (that isn’t a game … Continue reading
Posted in JavaScript, Other, Programming
Leave a comment
Repeatable random numbers in JavaScript
Ever since programming BASIC on the Spectrum I’d wondered why it was possible to seed a “random” number generator. But then I found I wanted to do something that would produce repeatable results, but look like a random sequence. Strangely, … Continue reading
Posted in JavaScript, Programming
1 Comment
Firing JavaScript functions after a .Net AJAX request
I wanted to have a function called after data was returned to the page from a .Net AJAX call. (The idea was to fade out when you pressed “submit” and then redraw when data came back.) It turns out there … Continue reading
Posted in JavaScript, Programming
Leave a comment
JavaScript solution to PNG alpha transparency in IE
Solutions to the problem of PNG alpha transparency in IE6 have been around for a while, as exemplified by this post on Cross-Browser Variable Opacity with PNG on A List Apart. This solution uses script to write in the correct … Continue reading
Posted in JavaScript
Leave a comment
More JavaScript haiku
I first published a JavaScript haiku called ‘Fear of tomorrow’ here. Well, I’ve written some more. Apparently these are more likely to be classed as Senryuu, but what do I know. Anyway, here are some others that I’ve written, with … Continue reading
Posted in JavaScript, Programming
Leave a comment
Deleting page elements using removeChild in JavaScript
Here’s a handy(?) script to delete pieces of any page you’re on when you click on them: javascript:document.onclick=new Function(‘e’,’document.all?src=event.srcElement:src=e.target;src.parentNode.removeChild(src);return false’);void(0); Go to any page on the web, paste it into the address bar of your browser and then start clicking … Continue reading
Posted in JavaScript, Programming
Leave a comment