Archive for the ‘webdesign’ Category

workaround for entity bug (?) in tabber

Tuesday, February 6th, 2007

A user of my tabber script discovered that when his tab headings had an ampersand character like this:

<h2>Me &amp; My Shadow</h2>

Then the tab control displayed “&amp;” instead of a single ampersand character.

It looks like this occurs because the JavaScript DOM function document.createTextNode() does not convert entities. However, it looks like innerHTML does convert entities, so to fix your problem find the following line in tabber.js:

DOM_a.appendChild(document.createTextNode(t.headingText));

and replace with the following:

DOM_a.innerHTML = t.headingText;

I’ll think about this some more and if I can’t find any bad side effects I’ll add to the tabber code.

keep that curve continuous!

Friday, December 15th, 2006

Bill Gates’s apology for not updating IE6 for five years:

“we should have kept the browser innovation curve to be a more continuous curve”

You sound like a politician, Bill. Kind of like “collateral damage” for web developers.

remember me

Sunday, October 8th, 2006

Many sites have a “remember me on this computer” checkbox when logging in, which saves a cookie on your computer so you remain logged into the site. Slashdot actually makes the cookie opt-out: you must select “public terminal” if you don’t want to save a cookie on the computer.

Today I saw an interesting feature on the AAA Auto Club web site. It had the typical “remember me” checkbox when logging in. I logged in but did not select the checkbox.

Then on the “my account” page, it presented the option again. This is the first time I have seen an option to save your account cookie other than on the log-in form. It also gives you the ability to delete the cookie. It’s a nice detail.

FauxJAX: An AJAX Framework for Idiots

Thursday, April 13th, 2006
fake eyball

Introducing FauxJAX.

Want to get your hands on some crazy delicious Web 2.0 venture capital, but don’t have mad AJAX skills? If you can copy and paste, you too can have a website that looks oh-so two thousand and six!

Simply use our framework to display content on your site, and we’ll do the rest. Don’t worry about outdated server-side technology because FauxJax is beyond all that. Way beyond. Like in the next century, you have no idea.

Get FauxJAX today!

more user interface blast from the past

Tuesday, April 11th, 2006

vv-power-anim.gif

Forgive my continued stroll down memory lane as I sort out my old-school ui / web application design work. Back in those days we didn’t have any fancy “C S S” and we liked it that way! Harumph.

VirtualVault was a high-security variant of HP-UX with an integrated web server, used by the first Internet-enabled banks. In fact, when SecureWare was pitching the first Internet bank (Security First Network Bank) I created the demo screens used in the presentation (my one meager contribution to history, I’ll puff up my resume to say “I designed the first internet bank”).

Compartmented-mode security was devilishly hard to administer, so we created a web-based administration tool. We solved a lot of problems and developed our own standards, and looking back at it I think it holds up remarkably well.

vv-home.gif vv-newaccount.gif

In addition to doing information architecture, graphic design, user interface design, and high-security programming (phew!) one of the toughest things was to retrofit the application for internationalization/localization, then I got stuck managing the Japanese localization (what a time and culture difference!). We came up with a pretty good solution for internationalizing the code, then a few years later I was looking at a new GNU gettext solution, and realized it used a very similar system so I guess we did something right! Even with the aid of tools we developed, retrofitting an existing application was a bitch, so now whenever I can I write i18n code from the start.

vv-i18n-2.gif

This project was a great opportunity for me, but the ultra-high security market was not lucrative enough so HP got out of the security market. The old team still gets together for a holiday party each year, which I think is pretty remarkable.

Web Developer extension outline any CSS selector

Friday, April 7th, 2006
webdev-toolbar.png

“You don’t need to be helped any longer. You’ve always had the power to go back to Kansas.” — Glinda, the Good Witch of the North

When I saw Pawel Knapik’s
bookmarklet to test CSS selectors
, I thought it was a great idea – now I can enter any CSS selector and it will be outlined on the page.

Why isn’t this feature in Chris Pederick’s web developer extension? I jotted off an email to Chris – and got a reply in just a few minutes, informing me that it was already there!

I knew that I could outline a custom HTML element (as it says: “eg. div”), but it turns out you can enter any CSS selector. Oh joy!

So thanks again to Chris, the Good Web Developer of the West!