On Fri, 2009-02-13 at 16:25 -0500, John Resig wrote: > 3) Why does $.size exist? Why not just have the functionality be in > .height()/.width() - or in .curCSS(). I don't see a need for a new > function here.
I think this is important to have: when calling .height()/.width() we have to show the element to measuring it, and this makes it twice as slow to get both the height/width. On large elements this can bring the time down to 500ms from 1s. Big improvement. -- Dimi Paun <[email protected]> Zipalong, Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
