Archive for the 'JavaScript' Category

Where can I download Olson timezone files?

Thursday, February 9th, 2012

If you’re working with timezone-js, or some other JavaScript timezone date library that works off of real tz information, you’ll likely need Olson timezone files to make that happen. Unfortunately, too many sites or forums tell you to try sites like http://www.twinsun.com/tz/tz-link.htm which only have broken links. Because it took me some time and google foo to […]

Timezones and date manipulation in JavaScript

Friday, February 3rd, 2012

One issue with web development is that your applications are immediately available to the world. As such, you want your application to work well for whoever is using it, and a big part of who someone is, is where they live. Where you live determines what language you speak, what units you measure with, etc. […]

Canvas text labels in Flot graphs

Wednesday, February 1st, 2012

While html ticks, labels, and legends are great for styling and extendability by default, there are times it’d be nice if all of that information was on the graph itself, like when you want to convert the canvas image to real image, i.e. through data uris: canvas.toDataURL("image/png"); Anyway, Andre Lessa did just that with his […]

jQuery: Extending bind() to define context of execution (scope)

Wednesday, February 4th, 2009

One of the main advantages of jQuery is that it does a lot of thinking for you, especially with more complex things like event handling. Unfortunately, as you move into more advanced application building, the jQuery developer is left without a standard method of applying context to an event. Although creating a generic bind function […]