Graphic Designer: Raul Iglesias
Location: Madrid, Spain
Raul Iglesias Graphic Design Portfolio
Browse Timeline
Comments ( 5 )
[...] more Graphic Design by Raul Iglesias Here Art, Identity, Inspirations, [...]
Raul Iglesias | Design You Trust added these pithy words on Aug 24 10 at 3:32 pm[...] more Graphic Design by Raul Iglesias Here Advertise with Design You Trust! – DYT on Twitter – [...]
Raul Iglesias | itechdot added these pithy words on Aug 24 10 at 3:38 pm[...] click to jump SHARE [...]
Linkage – Raul Iglesias: Graphic Designer | blueverticalstudio added these pithy words on Sep 16 10 at 2:49 pm[...] click to jump Added Feb 06, 2011 at 4:02 pm. — Category EZINE Tags GRAPHIC DESIGN, PRINT, TYPOGRAPHICS Permalink → There are no comments yet. Would you like to write one? $(document).ready(function() { /* * Excellent ajax comment posting script by Satbir Singh * URL: http://webdeveloperplus.com/wordpress/how-to-ajaxify-wordpress-comment-posting/ */ var commentform=$('form[action$=wp-comments-post.php]'); commentform.prepend(''); var infodiv=$('#wdpajax-info'); commentform.validate({ submitHandler: function(form){ //serialize and store form data in a variable var formdata=commentform.serialize(); //Add a status message infodiv.html('Processing…'); //Extract action URL from commentform var formurl=commentform.attr('action'); //Post Form with data $.ajax({ type: 'post', url: formurl, data: formdata, error: function(XMLHttpRequest, textStatus, errorThrown){ infodiv.html('You might have left one of the fields blank.'); }, success: function(data, textStatus){ if(data=="success") infodiv.html('Thanks for your comment. We appreciate your response.'); else infodiv.html('Error in processing your form.'); commentform.find('textarea[name=comment]').val(''); } }); } }); /* End */ $("input[type='text'], textarea").mouseenter(function() { if($(this).val()=="Add response") $(this).val(""); if($(this).val()=="Name (required)") $(this).val(""); if($(this).val()=="E-mail (required)") $(this).val(""); if($(this).val()=="Website") $(this).val(""); $(this).focus(); }) $("input[type='text'], textarea").mouseleave(function() { if( ($(this).attr('id')=="comment") && ($(this).val()=="")) { $(this).val("Add response"); $(this).blur(); } if( ($(this).attr('id')=="author") && ($(this).val()=="")) { $(this).val("Name (required)"); $(this).blur(); } if( ($(this).attr('id')=="email") && ($(this).val()=="")) { $(this).val("E-mail (required)"); $(this).blur(); } if( ($(this).attr('id')=="url") && ($(this).val()=="")) { $(this).val("Website"); $(this).blur(); } }) }); [...]
Raul Iglesias: Graphic Designer | blueverticalstudio added these pithy words on Feb 06 11 at 5:02 pmAdd a Comment
You must be logged in to post a comment.

























