web

web

Hello, HXPPYTHXXGHTS.com

My buddy, Zach Humphrey, is the writer and brains behind hxppythxxghts.com. We launched the site toward the end of February. The goal of the site … well, honestly it’s difficult for me to summarize. It’s a place for music reviews; for exclusive interviews with musicians; it gives up-and-comers the spotlight; it’s a community for networking; …

Hello, HXPPYTHXXGHTS.com Read More »

Dynamically populate an element styled with white-space: pre

Assume: $ = document.getElementById; pre = $(‘pre-text-element’); //pre-text-element is the ID of my pre tag element You cannot use: $(‘element’).innerHTML = ‘line1\nline2’; //will not work in IE7 You must do this: e = $(‘element’); while(kid=e.firstChild) { e.removeChild(kid) } //remove all children in the e.appendChild(‘line1\nline2’); Lame, huh?

SwfUploadComponent: A CakePHP Component for Handling File Uploads

I recently published an article at The Bakery which explains how to incorporate SWFUpload into your CakePHP application. SWFUpload is a fantastic javascript/flash library which facilitates multiple file uploads with real-time upload progress. The article includes the SwfUploadComponent as well as usage tips. I developed this component because I needed to handle uploads which could …

SwfUploadComponent: A CakePHP Component for Handling File Uploads Read More »