Prettify: Pretty Printing Your Code with Style

Update (Mar. 11): My Sunburst theme has been added to the official Prettify project! There aren’t many themes yet. Take a look. Today, I added pretty printing for any code snippets I paste inside <pre> and <code> tags. To do this, I am using Mike Samuel’s Prettify. Prettify powers the syntax highlighting on Google Code… Continue reading Prettify: Pretty Printing Your Code with Style

JQuery 1.5.0 and animating backgroundPosition

I wasted a lot of time tonight trying to debug this annoying problem. I recently upgraded from loading JQuery 1.4.4 to 1.5.0 with Google CDN. When I upgraded, my backgroundPosition animations stopped functioning. For example, I used to have: $(this).stop().animate({backgroundPosition: [‘-1800px 0px’, ‘easeOutExpo’]},5000); This no longer works in version 1.5.0 loaded from Google CDN. Let… Continue reading JQuery 1.5.0 and animating backgroundPosition