Skip to content

xintaoLi/jquery.alerts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.5%
  • CSS 13.5%