Download dihellog.js (666 bytes)
Download dihellog.css (666 bytes)
This was made as a proof of concept how jQuery-UI sucks. See my biased comparison below:
jQuery dialog | dihellog | |
---|---|---|
Code size | 824.100 B | 666 B |
Memory usage | 6.000 kB | 100 kB |
Separable | No | Yes |
By Separable I mean the option to separate the functionality you need from the rest of the code features you don't intend to use. In case of jQuery you need to use the all 824 kB code bundle with 90%+ effects you will never use. Of course they brag it is 10% of the size gzipped, but this is just a cheat: the browser needs to unpack the code to run it (see the Memory usage difference).
jQuery was almost essential at the beginning of the 21st century when Explorer was major non-standard browser with no autoupgrade feature. In the present when browsers implement new standards almost instantly, jQuery is nothing but a dead dog.
It would be quite easy to add new modules to dihellog (like modality or resize option) in separate 666 bytes chunks of code, but there is no motivation (if you want to, just contact me): modal dialogs themselves are obsolete, today we use flash messages and background actions to interact with users.