ptorchilov / jquery.alerts

pretty alerts, confirms and prompts for jQuery

Home Page:http://abeautifulsite.net/notebook/87

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jQuery Alerts

This is a modified version of jQuery alerts from Cory S.N. LaViska, A Beautiful Site (abeautifulsite.net/notebook/87).

Dual-licensed as GPL and MIT.

Modifications

  • no titles anymore;

  • no ‘draggable’ dependency;

  • buttons texts are parametrables (for i18n and more flexibility).

Installation

Just copy and include the .js and .css files.

Usage

jAlert('Yup', 'Okay dude', function(){
 // ...
});

jConfirm('Sure ?', 'Yes dude', 'Nope', function(confirmed){
  if(confirmed){

}else{ }

});

jPrompt('What is the response?', 42, 'OK', 'Cancel', function(){
 // ...
});

License

Reseased under MIT License as the original source was.

About

pretty alerts, confirms and prompts for jQuery

http://abeautifulsite.net/notebook/87


Languages

Language:JavaScript 84.2%Language:CSS 15.8%