Articles

A jQuery snippet to hide unnecessary support

We had a list of links that wouldn’t sit still. The client would occasionally change the links, including some to PDF files. To accommodate users, we added a link to Adobe Reader. But when the list had no PDFs, the Reader link became superfluous. Conventional wisdom would have left the Reader link on the page [...]

10 minutes to read.

Building a useful not-found search results page

Big trucks, nothing found I once worked with a client who sold trucks. Big trucks. Trucks so big that their “light” vehicles regarded my car as a speed bump. And they sold plenty of them. The first set of data was a 8MB, pipe-delimited text file that, I was told, could change daily. Writing a [...]

10 minutes to read.

Using JavaScript to populate select lists through the ages

When two different clients had the same problem, I knew a bit of portable code would solve both. But would it work next year?

10 minutes to read.

When iOS interprets data as phone numbers

I caught my test iPhone scanning web pages for phone numbers when it offered to add longitude to my address book. It happens after the HTTP transaction, so it’s completely automatic. But when iPhones get it wrong, how do you set things right?

5 minutes to read.

How to disable WordPress comments with MySQL

Comments on blog posts are a common part of online conversations. But they don’t apply to every page on a site, and can cause unnecessary page (and inbox) clutter. How do you quickly turn off people’s ability to comment on pages?

5 minutes to read.

CSS button recipe

Making clickable text stand out from non-clickable text has been a staple of the web since the web was called the mesh. How do you make a button look tappable — without graphics? By using CSS3.

2 minutes to read.

Browsers read resources as Asian characters

What would cause a browser to misread CSS and JavaScript? When a file says UTF-8, but means UTF-16, unexpected problems occur.

5 minutes to read.

Assistive text vs. IE7

What happens when Internet Explorer 7 encounters “hidden” text? The affect is different in most other browsers, but requires a less obvious design solution.

2 minutes to read.

Validate email with regex in PHP

Did a user enter a valid email address, or just a bunch of letters and numbers? Learn how to check emails in PHP with this handy function.

10 minutes to read.

Notes on the rel attribute

HTML’s rel attribute describes what kind of hyperlink we’re looking at, or how the linked material relates to the content at hand. But using it isn’t as simple as it first appears. Learn how it works and read on for more references.

5 minutes to read.

Categories

  • Articles (0)
  • Code (6)
  • HTML & CSS (13)
  • Imagery (21)
  • Portfolio (1)
  • Process (12)
  • Content (12)
  • Uncategorized (1)