Nitobi
About Nitobi
Services
Products
Home -> Blogs -> Dave Johnson

Dave Johnson

A:Hover an AJAX Mistake

February 25th, 2006

As some will know we are currently getting into development of our latest version of Nitobi Grid and getting it up to snuff for our Firefox users - don’t worry we will have a Beta out very soon!

Anyhow, when we started on the new version we decided to overhaul the old IE centric architecture. With that in mind we chose to try using <A> tags for each cell such that we could take advantage of the built in cross-browser CSS support for A:hover and the other CSS pseudo classes that apply to the anchor tag. The reason for this was to simply the code so we didn’t have to explicitly set mouseover / mouseout type event handlers just to change the style of the active or mouseover’ed cell.

The result of this was disasterous. It was very slow. So to give you an idea of how slow it is I have made a screen cast - take a look. You can see in the “fast” part the mouseover highlighting works as expected - whereas when we used the intrinsic A:hover pseudo class then it was bleedin slow.

By the way - we are still looking for AJAX developers.

Del.icio.us

This entry was posted on Saturday, February 25th, 2006 at 9:37 am and is filed under AJAX, JavaScript. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “A:Hover an AJAX Mistake”

  1. Dave Johnson » Blog Archive » AJAX and focus() Says:

    […] Dave Johnson let the chips fall where they may « A:Hover an AJAX Mistake WordPress 2 » […]

Leave a Reply


Search Posts

Pages

Archives

Categories

All contents are (c) Copyright 2006, Nitobi Software Inc. All rights Reserved
Dave Johnson Entries (RSS) and Comments (RSS).