A Single Article

Read it, comment, and share it with your friends

Revisiting Image Rollovers

Posted September 18 in Design.

The topic of image rollovers came up again today on the Web Standards Group, and I went off to recommend a solution. The page in question was the usual rollover trash pretending to be accessible but degrading to blank space with images disabled and CSS on. I revisited my own rollover technique and had a look at a solution posted in the comments: Ryan Rollovers. Ryan put a nice demonstration together for his technique and after testing it a little, I’ve decided to fully support Ryan Rollovers in all future projects. Have a look yourself, report any incompatibilities, and see what you think. It’s a little heavier than my own technique but I think it is also more stable. It might even work inside of table cells, which is definitely a limitation of mine.

Nevermind, the demo is gone.

Meta

Useful things

Related Articles

These just might ring a bell

2 Trackbacks/Pingbacks

Other blogs referencing this article
  1. Pingback: Christian Montoya » Hatin’ on Javascript on November 5, 2006
  2. Pingback: Hatin’ on Javascript, revisited | Christian Montoya on November 15, 2006

3 Comments

Responses to my article
  1. Johan September 18, 2006

    For the images used to do the rollovers you need to add pixels to left and bottom that is enough whitespace, (in this case in the same color as background) to cover up the font 3x enlarging. This way the enlarged fontsize will be covered up. For the rest it looks good.

  2. Ryan September 27, 2006

    Hey thanks for the comments, I’ve sorted out the missing title content and cleaned up the css a little. I hadn’t really put much thought into this but having noticed more people visiting the page I think I may redesign it and make it look a bit nicer.

    Cheers,
    Ryan.

    p.s. I love the live posting/feedback you’ve got here, is this wordpress?

  3. Christian Montoya September 27, 2006

    Yep, this is Wordpress. Glad I could help.

Sorry, comments for this entry are closed at this time.


Stay on top of new updates at this site: Subscribe to the Feed!