2008-01-09 13:12:35 +01:00
|
|
|
addLoadEvent( function() {
|
|
|
|
// pulse
|
2008-03-02 21:17:30 +01:00
|
|
|
jQuery('.fade').animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300).animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300);
|
2008-01-10 23:42:49 +01:00
|
|
|
|
2008-02-26 23:45:46 +01:00
|
|
|
// Reveal
|
2008-01-10 23:42:49 +01:00
|
|
|
jQuery('.wp-no-js-hidden').removeClass( 'wp-no-js-hidden' );
|
2008-03-12 06:50:07 +01:00
|
|
|
|
|
|
|
// Basic form validation
|
|
|
|
if ( ( 'undefined' != typeof wpAjax ) && jQuery.isFunction( wpAjax.validateForm ) ) {
|
|
|
|
jQuery('form').submit( function() { return wpAjax.validateForm( jQuery(this) ); } );
|
|
|
|
}
|
2008-01-10 23:42:49 +01:00
|
|
|
});
|