|
|
Prototype Based Popup Window Class
|
03/25/2006, By Ajax Impact News
|
Over Xilinus, Seb has posted a way to create popup windows using the Prototype. This javascript class allows you to add window in an HTML page. This class is based on Prototype 1.4. The code is inspired of the powerful script.aculo.us library.
You can even use all script.aculo.us effects to show and hide windows if you include effects.js file. It has been tested on Safari, Camino, Firefox and IE6.
How to Use
It's easy to use, one javascript and one css to include (or more if you want different skins).
To create a window, you just have to instanciate a Window object with some optional parameters, set innerHTML of the window main content and call show() or showCenter() function.
Download the code from here.
Explore It....
|
Rate this Ajax News
Rating: 6.4 out of 21 votes cast
| |
|
|
| |
|
|
|
|
|
|
|
|