Impromptu
Impromptu is an extension to help provide a more pleasant way to spontaneously prompt a user for input. No more alert(), prompt(), and confirm(). Easily customizable with CSS and options to add multiple buttons tailoring Impromptu to your exact need. No more prompting with "Ok" and "Cancel", now you can say "Please Do", "Not Now", "Never".
$.prompt("Procede?",{buttons:{'Please Do':'yes','Not Now':'no','Never':'never'}});
Other Options:
- prefix: a class prefix to associate each prompt with a css class
- submit: a function to call when prompt has been submitted
- callback: a function to call when prompt is complete
- opacity: prefered opacity of the overlay
- container: jquery selector for the overlay to cover ("div.mydiv")
- buttons: buttons you would like to display(as many as you like)
- overlayspeed: speed which the overlay fades in/out
- promptspeed: speed which the prompt displays
- show: how to show the prompt(show, fadeIn, slideDown, or your own)
