| | |
| | | } else { |
| | | width = points*20; |
| | | } |
| | | document.getElementById("passBar").innerHTML = '<div style="float:left; height: 10px; padding:0px; background-color: ' + pass_messages[points]['color'] + '; width: ' + width + 'px;" />'; |
| | | document.getElementById("passBar").innerHTML = '<div style="background-color: ' + pass_messages[points]['color'] + '; width: ' + width + 'px;" />'; |
| | | document.getElementById("passText").innerHTML = pass_messages[points]['text']; |
| | | } |
| | | function pass_contains(pass, check) { |
| | |
| | | var maxLength = minLength + 5; |
| | | var length = getRandomInt(minLength, maxLength); |
| | | |
| | | var alphachars = "abcdefghijklmnopqrstuvwxyz"; |
| | | var upperchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; |
| | | var numchars = "1234567890"; |
| | | var alphachars = "abcdefghijkmnopqrstuvwxyz"; |
| | | var upperchars = "ABCDEFGHJKLMNPQRSTUVWXYZ"; |
| | | var numchars = "23456789"; |
| | | var specialchars = "!@#_"; |
| | | |
| | | if(num_special == undefined) num_special = 0; |