To implement modal windows and dialogs, there are quite a few jQuery plugins. Having tried many of them, I couldn’t find one that was simple enough and, importantly, correctly solved the task.
Recently, SamDark wrote about the correct modal windows and introduced The Modal plugin to the community. I fully agree with his vision of modal windows, but in the presented plugin there was not enough functionality. I have long since been moving from project to project on the same topic, so I decided to also design them as a plug-in.
Main features
simultaneous display of multiple windows
vertical and horizontal centering of the window
AJAX loading of modal window content with process visualization
hide scroll bars of main page content
the ability to scroll the window if it does not fit on the screen
closing the window by pressing Escape or clicking on the overlay
Using the plugin
We connect jQuery and jquery.arcticmodal plugin: ')