Category Archives: Code
Contact Form Experiment
Yesterday, I saw this tweet from Smashing Magazine:
I took a look at the form, and I must say I was impressed too. Unfortunately, I was using TweetDeck on my iPhone… as a result, I didn’t see the contact form at all because the background image didn’t load very fast. That prompted me to post this [...]
New Window, No In-source Event
I was prompted by this Twitter post to cross-post an old blog entry of mine.
Having JavaScript events in-source binds you to whatever JavaScript method (and it’s signature) you’ve specified, not to mention breaking the tenets of Progressive Enhancement. When wishing to launch an anchor’s href into a new window while using a STRICT doctype, [...]
Creating Elements in JavaScript, (any good?)
I’ve been playing around with a couple of ideas for JavaScript methods, thought I’d get some feedback.
The following link is a code snippet in PasteBin that shows the methods and a quick test:
http://pastebin.com/f7b68ab19
Basically, the two I wrote and that I’m evaluating are:
Create Element
This method caches a created element instance in an array. In some [...]
Run Safari 3 and Safari 4 beta on the same Mac
I couldn’t find a blog post or comprehensive tutorial anywhere, but after a great deal of trial and error, I’ve managed to get Safari 3 and Safari 4 beta to run on my Macbook Pro at the same time. Most insisted you have to download WebKit… but you don’t.
It’s much easier than that, once you figure [...]
PSD2HTML: Terrible Pricing for Web Development
I was absolutely disgusted by the pricing strategy at PSD2Web. Here are a few examples, and an explanation as to why the practice feels shady.
When email parsing gets ‘glitchy’
When Google introduced their online Calendar solution, I was pleasantly surprised when I received an email soon after containing an upcoming event, GMail offered to “Add it to my Calendar.” Obviously there were parsing rules in place that recognized a date and/or time, even guessed correctly at the name of the event.
Unfortunately, as in all rules assumed in parsing, [...]
Resume is Online
I’ve coded and uploaded a new resume in HTML format. There were some cool features I thought I’d mention:
Microformatted
I used the hResume microformat, which basically makes it readable by any microformat-parsing utility. Very slick. My microformat plugin for Firefox lit up as soon as I loaded it, telling the who, what, where and when of my [...]
The Ajax Experience: Day "0"
A few coworkers and I have traveled to Boston, MA for The Ajax Experience conference at the Westin Waterfront. It’s running today thru Wednesday and is covering the gamut of Ajax patterns, techniques, bells, whistles and hare-brained ideas in the industry.
My First Google Gadget: Color Harmonizer
I decided to jump head-first into Google Gadgetry with a Color Harmonizer.
It’s currently an “alpha” release, so… basically it’s a pet project I plan on finishing when I’m not bogged down at work. This also means the code isn’t exactly hardened, so I’m not too worried about someone copying the code!
It was really [...]
You learn something new everyday…
Everyday you learn something new. MovableType has taught me something about HTML forms I didn’t know (but should have): you can have multiple submit buttons on a form.