jQuery(document).ready(function($) {
var str = $(".slogan").html(); $(".slogan").html(""); var spans = "" + str.split(" ").join(" ") + "";
$(spans).hide().css({opacity:0}).appendTo(".slogan").each(function(index){
$(this).css({display:"inline"}).delay(Math.random()*2000).animate({opacity:1},400,"easeOutCubic");
});
});
“and if you are wondering about who is Massimo Rinaldi… click here“
Hey, be sure to drop me a line if you have suggestions for future article for the blog, your ideas are always appreciated!
massimo [at] thenewblack.it
jQuery(document).ready(function($) {
$('.contact_form_wrap form').validate({
highlight: function(element, errorClass) { $(element).addClass('invalid'); },
unhighlight: function(element, errorClass) { $(element).removeClass('invalid'); },
errorPlacement: function(error, element) {
},
submitHandler: function(form) {
$.post(form.action+'?'+$(form).serialize(),function(){
$(form).siblings('.success').fadeIn(200);
});
}
});
});