jQuery 1.3 and SimpleModal
In case you haven't heard, jQuery 1.3 has been released! In addition to being jQuery's 3rd birthday, the team has a number of new announcements, including Sizzle (a brand new CSS selector engine), a new API browser (developed by Remy Sharp) and the formation of the jQuery Foundation.
I tested SimpleModal (tests and demos) with jQuery 1.3 and everything seems to be working as expected. After reading about all of the speed improvements, I thought it would be interesting to run some tests (Firebug 1.3 Profiler) comparing the SimpleModal demos with jQuery 1.2.6 and jQuery 1.3:
|Basic Modal Dialog||Contact Form||Confirm Override|
|jQuery 1.2.6||22.472ms | 1126 calls||101.547ms | 3805 calls||24.03ms | 1094 calls|
|jQuery 1.3||19.747ms | 938 calls||91.612ms | 3859 calls||16.883ms | 914 calls|
I haven't looked into why 1.3 has more calls for the Contact Form, but even so, the execution time (ms) has improved for each one!
Congratulations to the jQuery team and Happy Birthday!