Jesper Holm Damgaard and myself have been working on a new version of my old jQuery modal block plugin for a long time, which is used in my
jQuery Light View . The new version is coded from scratch and we’ve optimized the code throughout. It can do everything the old could, only better and more robust manner.
What can jQuery Modal Window do?
- Display all kinds of html content in a modal window
- Manage the location of the modal window
- Manage background / sandwich paper color and transparency
- Provide access to important events which are fired when the modal window is opened or closed
- Make the user determine the animation time
How does it do?
The JQuery Modal Window plugin grants access to some features that can be used on all jQuery objects/collections. It will use the selected content and move it in the DOM to the modal window, which is created for the purpose. This means that the content will be the exact same as the one you selects with jQuery. By doing it this way, the content can be changed and the changes will be retained.
Before moving the content the jQuery modal window plugin will insert a marker wich is to be used to move content back in place when the modal window is closed again.
See jQuery Modal Window in action
this page is a very comprehensive with examples of some of the many opportunities jQuery Modal Window offers. On the page you can download a minified version of the plugin and use it on your own page.
This post was written in
Javascript,
jQuery,
Plugin. Ad
permalink to favorites. Follow all comments with
RSS feed for this posts.
or a trackback:
Trackback URL.
|
dansk version