Archive for javascript

DHTML Leaks Like a Sieve

You heard me: Like a sieve. Gobs and gobs of memory. Necessarily. “Gee, that’s funny”, you might say, “My browser doesn’t seem to leak noticably”. And you’re probably right. However, the design of both major browsers (Internet Explorer and Mozilla) leaks memory necessarily (To be honest, I’m not sure about Safari and Opera, but it wouldn’t surprise me).

Link

[Via JGWebber]

Comments

Javascript memory leaks

Quite by accident I found the article DHTML Leaks Like a Sieve by Joel Webber. It’s an interesting read that I can recommend to all JavaScripters. Also, it may have disturbing implications for my current coding practices.

Link

[Via Quirksmode]

Comments

Rediscovering the Button Element

Creating a consistent interface for your users is a constant struggle for every interface designer. Building consistency on the web is especially tough because the visual rendering differences across browsers and operating systems is wildly different and almost arbitrary in what can and cannot be done. No where does this become more apparent than when you’re dealing with form elements and the biggest loser of them all in the battle for a standardized look is the infamous Submit button.

Link

[Via Particle Tree]

Comments

Event Capturing is near evil

If you’re using a browser that implements the EventListener interface (W3 model), try this out for size.

Link

[Via Dustin Diaz]

Comments

YUI Version 2.2.2: Bug-Fix Release

We released version 2.2.2 of the Yahoo User Interface Library (YUI) today. This is a minor bug-fix release that corrects several issues introduced in the 2.2.1 update. Full details are available in the README files that accompany the download. For a short overview, please review the release note available in the YUI Forums.

Link

[Via YUI Blog]

Comments

CRIR - Checkbox & Radio Input Replacement

O CRIR (Checkbox & Radio Input Replacement) é uma combinação de JavaScript com CSS que permite você personalizar a aparência dos elementos checkbox e radio button, trocando-os por imagens. Este script é muito útil quando você quer ter uma interface 100% personalizada. O mais importante do script é que ele é 100% não obstrusivo, ou seja, se desabilitar o javascript do seu browser você passa a ver os checkbox e radio buttons normalmente, com a aparência padrão que seu browsers está acostumado a renderizar.

Link

[Via Revolução ETC]

Comments

The Perfect Popup was Imperfect …

But now it’s history. The Perfect Popup is dead, long live The Perfect Pop-up.

After many years of sitting there advising about how to create accessible pop-up windows using inline event handlers (onclick), I have finally got around to updating this article using unopbtrusive JavaScript and also the accompanying Popup Window Generator (the two go very much hand in hand).

Link

[Via Accessify]

Comments

Introducing DED|Chain JavaScript Library

This started off as a plane ride project, then blew up into something much larger. Today I’m proud to announce a JavaScript library I’m calling DED|Chain the Web Developers JavaScript kit (less cruft, more fun). It sits on top of Yahoo! UI, with a bit of jQuery spice. Also a big thanks to Jack Slocum for providing DOMQuery which is the base of all “chains” in DED|Chain. The goals (among other things) are mentioned on the project page which will hopefully give you a clearer understanding of its conception.

Link

[Via Dustin Diaz]

Comments

Abrir/Fechar elementos usando Javascript e CSS

Vou começar hoje a publicar uma série de artigos com exemplos de código que costumo usar para elaborar vários tipos de layout (HTML+CSS) e efeitos em Javascript ou AJAX (algo que estou a começar a aprender a mexer este ano).

Link

[Via Ivo Gomes]

Comments

JavaScript Chaining

AKA: Proof that JavaScript is an Object Oriented language. AKA: Why JavaScript is a totally kick ass language. Yeah. Anyway. It’s 3am and I’m in Austin Texas writing JavaScript for work at the Hotel and I ran into particular problem that involved something that looked extremely wicked and totally awesome from which immediately afterward I couldn’t believe my fingers just whiddled it onto the keyboard as if sprinkling fairy dust unto the children (I have no idea where that image just came from (nor is whiddled a word)).

Link

[Via Dustin Diaz]

Comments

« Previous entries · Next entries »