[Javascript] Best Practices

Paul Novitski paul at juniperwebcraft.com
Mon Apr 17 17:19:20 CDT 2006


At 02:54 PM 4/17/2006, Triche Osborne wrote:
>Paul Novitski wrote:
>I change images on rollover by toggling the CSS background-position, 
>including both image states in the same image file so there's no 
>time delay the first time an image is moused over (eliminating the 
>need for JS image preloading for nav menus).
>This sounds similar to an approach that I read about on ALA some time
>ago and had completely forgotten about. (She has a V-8 moment.)


I think this is the article you're recalling:

CSS Sprites: Image Slicing's Kiss of Death
by Dave Shea
March 05, 2004
http://alistapart.com/articles/sprites/

Is it a V-8 moment when one realizes that one's brain has become a turnip?

Paul





More information about the Javascript mailing list