Skip to content

xintaoLi/jquery.alerts

This branch is up to date with aurels/jquery.alerts:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Aurélien Malisart
Mar 1, 2010
ff3c402 · Mar 1, 2010

History

3 Commits
Mar 1, 2010
Mar 1, 2010
Sep 30, 2009
Sep 30, 2009

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%