pipwerks

A cross-browser JavaScript prompt

You might be looking at the title of this entry and say “Well, DUH! JavaScript’s prompt() is already cross-browser!” While working on a project earlier today, I discovered a nasty little problem… Internet Explorer v7 (IE7) disables prompt() by default! This means you can’t rely on prompt() being

Displaying code on WordPress entries using CODE and PRE tags

Once again, a journal entry is borne from frustration. I write these journal entries using WordPress, which is a very easy-to-use blogging solution. Since I sometimes write about code, I decided to install the Code Markup WordPress plugin. It works very well, and I am enjoying it a great deal

Email address obfuscation

Note: This post contains old code. Read about the updated code at https://pipwerks.com/2009/02/01/obfuscating-email-addresses-revisited/ Everyone knows the story: an innocent email address is posted online and a big bad spambot finds it, relaying it to every spammer on the face of the earth… the email

@media2007 San Francisco

I just finished the @media2007 conference in San Francisco, and all I can say is “wow.” I was totally in over my head, which in this case is a good thing! The speakers were all renowned experts in their fields, and I’d be willing to bet 90% of the

Vertical centering without using tables!

For many years, table-based web page layouts were the rule, not the exception. They were easy to build, they worked cross-browser, and WYSIWYG editors made it a breeze to create and edit tables. CSS-based layouts didn’t really grab hold until just a few years ago, thanks to the evangelism

pipwerks © 2026