Contact Us

  • Your Name (required)

    Your Email (required)

    Subject

    Your Message

Search

What we are saying

Image Rollovers

Posted in: Image Sprites, Websites by koolkat on September 30, 2008 | 1 Comment

In website design image rollovers are always a big deal. While I mostly use unobtrusive javascript for rollovers, others seem to prefer CSS sprites. I really like the idea of sprites in that it is a fully css approach, I don’t like the hassle of building the combined images. Also with the unobtrusive javascript implementation, you can just create new images and your rollover effect is in place assuming you use some kind of naming convention that allows you to find all the appropriate images and create the on/off states.

Unobtrusive Javascript

Posted in: Image Sprites, Websites by koolkat on November 8, 2007 | No Comments

I just tried it out for image rollovers on my site. While it makes the HTML markup very clean, it does make the code more obscure and a bit harder to figure out when you want to debug. At least for me, its way less obvious that something is happening on a mouseover or onclick event.