Few days ago I have created very simple JS class for creating popup html forms.
Task was pritty specific, create dynamic form interface with ajax form submission. Apon completition of the task I noticed that the class was pritty much plug&play so I decided to publish it here.
It has simple controls, you can show, hide and “save” the form. Show and hide will display layer and hide it (duh), and save will do a callback on some function which will do… what ever you want. Also there is a simple ajax apstraction that will help you do ajax callbacks.
When you call “#show_ElementID” element with “ElementID” will pop and behind it you will see full visible screen transparent shadow. This shadow provides some protection since it will stop user from doing some more actions which would flood his screen, also it looks cool :).
Well, here you go test it out in a demo… hope you can find some use for it.
REQUIREMENTS: script.aculo.us 1.7.0 (script.aculo.us)
DEMO: View Simple Demonstration
DOWNLOAD: PopupGUI 0.1
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 License.