$('.slideshow').cycle({
fx: 'scrollUp' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
ĐĂNG KÝ TÀI KHOẢN
(*) Thông tin bắt buộc phải điền
$(document).ready(function() {
var userObj = $("#newusername");
userObj.attr("value", "");
userObj.focus();
$("#newpassword").attr("value", "");
$("#newconfirmPassword").attr("value", "");
$("#birthday").datepicker({
dateFormat: 'dd/mm/yy',
changeYear:true,
changeMonth:true,
yearRange: "-80:+20"});
$("#UserForm").validate({
rules: {
username: {required:true, minlength: 3},
password: {required:true, minlength: 6},
confirmPassword: {required:true, minlength: 6},
fullName: {required:true},
email: {required:true, email:true},
cellPhone: {required:true},
},
messages: {
username: {required: "Vui lòng nhập tên tài khoản.", minlength: jQuery.format("Tên tài khoản phải chứa ít nhất {0} ký tự")},
password: {required: "Vui lòng nhập mật khẩu", minlength: jQuery.format("Mật khẩu phải chứa ít nhất {0} ký tự")},
confirmPassword: {required: "Vui lòng nhập mật khẩu xác nhận", minlength: jQuery.format("Mật khẩu phải chứa ít nhất {0} ký tự")},
fullName: {required: "Vui lòng nhập họ và tên"},
email: {required: "Vui lòng nhập địa chỉ email", email: "Địa chỉ email không hợp lệ"},
cellPhone: {required: "Vui lòng nhập số điện thoại di động"},
}
});
});






