jQuery and old Prototype on the same page

July 21st, 2009 | 1 comment

This morning I had to implement an interactive map that allows one to locate local dealers of GPS equipment.  The site I needed to do this on is running an extremely old version of prototype.js (version 1.5, circa 2007) and moodom.js (the precursor to MooTools). I didn’t want to use these outdated libraries to create the little interactive app.  I would normally use MooTools, but I needed a library I could namespace so that I wouldn’t step on Prototype’s shoes.  I grabbed the latest build of jQuery, namespaced it using the jQuery.noConflict(); technique, wrote my code, and included it right before…

read more

Dreamweaver CS3 Code Coloring

December 22nd, 2008 | 1 comment

There was a submission about “What makes a good programming font?” on HN today and, as usual, the comments on the submission proved more enlighting than the actual linked post (Hacker news has a great community).  From the comments I came across some nice programming fonts; Envy Code R and Bitstream Vera Sans Mono.  The user who posted about the Vera Sans Mono font also added a picture of it in action here.  I liked the syntax highlighting/code coloring of that code screenshot, so naturally I set out to try out something similar with dreamweaver and TextPad. I have to…

read more