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