What happens with jQuery UI
Through the last few pages we have accomplished our main objective: reducing the number of times our site loads the jQuery library. However, two extensions are left:
The jQuery tabs module
The c7DialogMOD module we used for our login form
These two extensions not only use the jQuery library, but also the jQuery UI library.
Note
If you want to know more about jQuery UI visit http://jqueryui.com/. This is an interesting library that won't disappoint you. It is very useful.
The jQuery UI is a must for these two extensions, as is the library that provides the dialog and tabs methods. The problem here is that each one of these extensions loads its own copy of the UI library, and also a copy of the jQuery library.
This too is something that we can solve. Remember the SC jQuery plugin? It will also help us this time...