Permalink
Browse files

Upgrade to validanguage 1.0.0

  • Loading branch information...
gcao-vonage committed Oct 7, 2009
1 parent f38fc0e commit cdafcbeb43a00fde6c0104a7b5ded39a910fc54e
Showing with 257 additions and 90 deletions.
  1. 0 MIT_License.txt
  2. BIN ajax-loader.gif
  3. +1 −1 readme.txt
  4. BIN red_error.gif
  5. +30 −10 validanguage.css
  6. +2 −2 validanguage.js
  7. +224 −77 validanguage_uncompressed.js
View
0 MIT_License.txt 100644 → 100755
No changes.
View
0 ajax-loader.gif 100644 → 100755
No changes.
View
2 readme.txt 100644 → 100755
@@ -1,4 +1,4 @@
-Validanguage Overview -- version 0.9.9
+Validanguage Overview -- version 1.0.0
This REAMDE is outdated! To view an updated, online version of this documentation, formatted for easy readability, visit:
http://www.drlongghost.com/wordpress/?page_id=16
View
0 red_error.gif 100644 → 100755
No changes.
View
40 validanguage.css 100644 → 100755
@@ -4,7 +4,7 @@
* pages listed on http://drlongghost.com/vd_tests/index.php to see these CSS rules in action.
*/
-
+/* Sample CSS to format error messages */
.vdError span {
color: red;
padding-left: 20px;
@@ -14,6 +14,18 @@
vertical-align: top;
}
+#vdErrorDiv {
+ position: fixed;
+ color: red;
+ background-color: #EEEEEB;
+ border: 2px solid red;
+ padding: 15px;
+ font-size: 10pt;
+ top: 20%;
+ right: 30%;
+}
+
+/* Sample CSS for use with the showSubmitMessage() transformation */
#vdSubmitMessage {
color: green;
font-size: 9pt;
@@ -25,13 +37,21 @@
vertical-align: top;
}
-#vdErrorDiv {
- position: fixed;
- color: red;
- background-color: #EEEEEB;
- border: 2px solid red;
- padding: 15px;
- font-size: 10pt;
- top: 20%;
- right: 30%;
+/* Sample CSS for use with the remainingChars() transformation */
+.remaining {font-weight: bold; color: black; padding: 4px;}
+.vdLengthPassed {background-color: #93F371; padding: 0px 2px;}
+.vdLengthFailed {background-color: #E15643; padding: 0px 2px;}
+
+/* Sample CSS for use with the validatePasswordStrength() validation */
+.passwordClass {
+ border: 1px solid gray;
+ width: 200px;
+ margin: 8px 0px;
+}
+.passwordClassStrong {background-color: green; width: 200px;}
+.passwordClassMedium {background-color: yellow; width: 120px;}
+.passwordClassWeak {background-color: red; width: 60px;}
+#passwordStrength {
+
}
+
View

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit cdafcbe

Please sign in to comment.