AJAX and focus() 
March 2nd, 2006
Another little tidbit for everyone - don’t use
This is quite closely related to my previous post about using a:hover.
We thought we were sooooo smart - well actually James-no blog-Douma thought so (of course he has some right to think that since he is uber smart).
Anyhow, in the latest version of our Grid we thought that we would use <A> tags for each cell in the grid such that we could take advantage of using things like A:hover pseudo classes in CSS and the ability to set the focus on the cells - all this we assumed would be fast since it is built into the browser and does not require so much manual labour with setting active colours etc. Low and behold we found that performance of the keyboard navigation started to drop fairly rapidly as we rendered more cells on the page.
Del.icio.us
This entry was posted on Thursday, March 2nd, 2006 at 12:24 pm 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.
