// default options $('#one').strongPassword();
$('#two').strongPassword( { sounds: 3, //number of sounds has been shotten to 3 lastConsonant: true, //but the script can add a random consonant //to the end firstVowel: true, //and a random vovel before the first sound visibleTime: 5000 } );
$('#three').strongPassword( { range: [3,5], // the number of sounds is in a range now cssClass: 'sp-black', //the dark style backdrop: false, // no backdrop placement: 'right', animation: 'from-left' } );
$('#fore').strongPassword( { arrow: false, // an arrow is hidden placement: 'bottom-left', offset: { // the popover has been shifted top: -100, left: -40 }, caption: 'Are you agree?', //new caption buttons: { //new names of buttons regen: 'New', ok: 'Ok', cancel: 'Close' } } );
$('#five').strongPassword( { //The plugin is used again afterHide: afterHide } ); function afterHide(element) { element.strongPassword({ afterHide: afterHide }); }