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]; [...]
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 [...]
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 [...]
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 [...]
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. [...]