Archive for the 'General Web Dev' Category

May 14th, 2008

Confessions of a Web Developer

This is a response to David Walsh's article from yesterday. Confessions of a 30-something web developer I still sometimes use <table>s as a layout tool to create columns, not as markup for tabular data. I took longer than most people to embrace CSS Absolute Positioning, because I didn't think it was well ...
May 10th, 2008

htaccess rewriting for an “under construction” page.

Quick post. Sorry for the terseness. You're running a site on Apache, and while you're working on it you want the public to see an "under construction" page. The site is visible at a subdomain of your root host, (a typical scenario on Apache, with CPANEL and add-on domains) Your normal redirection ...
April 24th, 2008

Firefox used to *not* suck.

The most recent version of Firefox crashes every freaking few minutes. I can't even browse to my own site with it. When I request ianring.com, Firefox crashes. It used to not suck. What happened? I've heard Flock is no better. And IE is ... IE. Where have all the good browsers gone? ...
April 17th, 2008

IP Numerology

Really smart, witty people often come up with identical thoughts. Just moments ago, I was looking at an IP address for a site I host, and wondering whether it was a good one. I felt the undeniable urge to spin up a little numerology on it. So I did. Got ...
April 16th, 2008

The sorrowful task of finding Javascript news

Why is it that searching for Javascript inevitably returns piles of results for "Java"? Don't the machines that serve up results know that they are two very different things, and I'm interested in the former, not the latter? My employer is hiring right now for a Javascript Expert, and we keep ...
March 17th, 2008

Another one hits the front page

wmwhome2.gif Another post hits the front page; this one posing whether XML and JSON are topologically homeomorphic.
February 21st, 2008

DOM style properties: FF vs IE

For my own convenience and that of my loyal readers (both of you! hi!), Here is my table of style objects for Firefox and IE. When you're manipulating styles via Javascript, it helps to know whether a style property exists in the 2 browsers worth supporting. Here is that list. Some ...
February 11th, 2008

my first WMW home page feature

Shortly after reaching 4 years and 1000 posts, I finally got one onto the home page. httpwebwitch featured on the WMW home page That was my morning thrill
January 29th, 2008

The most useless thing I’ve read a thousand times.

It's this: uselesserror.png OK, first complaint. My script does not have a Line 368. It only goes up to 211. I know what you're trying to say, it's that after parsing the DOM and code, something went wrong on my own internal imaginary Line 368 which you can't ...
January 22nd, 2008

Javascript: show and hide a table cell

Challenge: You want to show/hide some table cells. Problem: To hide a table cell, you set its style display property to "display:none". Easily accomplished. To show it, you set the style display property to either "block" in IE, or "table-cell" in Firefox. There’s the challenge - if you set the cell style to "display:block", ...