- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
function chekemailandpas(e) {
var email1val = $('#email1').val();
var pas1val = $('#password1').val();
var name1val = $('#name1').val();
var famil2val = $('#famil2').val();
name1val = del_spaces(name1val);
famil2val = del_spaces(famil2val);
email1val = del_spaces(email1val);
pas1val = del_spaces(pas1val);
email1 = email1val.length;
pas1 = pas1val.length;
if(!e) {
e = event || window.event;
}
if(e == '[object MouseEvent]' || e.keyCode == 13 && email1val !== '' && pas1val !== '') {
if(email1 < 5) {
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128, 0.1)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.2)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.3)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.4)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.5)');
}, 50);
}, 50);
}, 50);
}, 50);
}, 500);
if($('#email1').css('background', 'rgba(240,128,128,0.5)')) {
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128, 0.4)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.3)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.2)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.1)');
setTimeout(function() {
$('#email1').css('background', 'rgba(240,128,128,0.0)');
}, 50);
}, 50);
}, 50);
}, 50);
}, 500);
}
}
if(pas1 < 2) {
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128, 0.1)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.2)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.3)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.4)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.5)');
}, 50);
}, 50);
}, 50);
}, 50);
}, 500);
if($('#password1').css('background', 'rgba(240,128,128,0.5)')) {
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128, 0.4)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.3)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.2)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.1)');
setTimeout(function() {
$('#password1').css('background', 'rgba(240,128,128,0.0)');
}, 50);
}, 50);
}, 50);
}, 50);
}, 500);
}
}
if(email1 > 4 && pas1 > 1) {
var pagename = 'email='+email1val+'&password='+pas1val+'&name='+name1val+'&famil='+famil2val;
sendRequest(pagename);
}
}
}