Skip to content

ara pehlivanian

Web Standards, Web Culture, Web Everything.™

Archive for the 'Web Development' Category

Introducing 140 char (or less) JavaScript programs

Today I got tired of seeing yet another onclick=”myjavascriptsucks()” in HTML so I wrote a little program in protest. What I wanted to do though was to post the program to Twitter which has a 140 character limit so it was mildly challenging. Here it is:
Fully expanded:
var elems = document.getElementsByTagName(”*”);
for (var i = 0; elems[i]; [...]

Come Work With Me!

Are you a front-end code ninja? Do you eat HTML, CSS and JavaScript for breakfast? Are you a fanatic for best practices? Are the terms Unobtrusive JavaScript, Web Standards and graceful degradability common in your vocabulary? If so, you might be the person I’m looking for.
Nurun is on the hunt for a Senior front-end [...]

A Nuance of Preventing Default

One of the most common operations when assigning event handlers is to prevent the default action the event normally triggers.
In the case of an anchor for example, the click event of an anchor triggers the default behaviour of following the URI specified in the href attribute. So the browser’s default action when clicking the “Fluffy [...]

Have JavaScript, Will Travel

The technology of the web is maturing. However slowly and clumsily, it is maturing. The web of today looks nothing like the web of ten years ago. Most notable are the advent and widespread adoption of Web Standards, and more recently the mushrooming popularity of JavaScript due largely to Web 2.0 mania.
The trouble though, is [...]

The Skinning Trade-off

Anyone who’s built a website has likely had to deal with the temptation to skin native browser elements, such as the pulldown menu, the input field, the radio button, the checkbox, the button, the text field and the scroll bar. The most common skinning job that pervades the web is that of the simple button. [...]

Skip to navigation

More stuff by Ara elsewhere on the web

    Snook Approved!

    © 2005-2008, Ara Pehlivanian.

    Stock photography courtesy stock.xchng. This site uses Akismet to catch spam (54,743 caught since May 2006) is hosted by DreamHost and powered by WordPress.