CoreFiles by mySites.guru
common.js47 lines, 1,365 bytes, from wordpress-2.7-beta2.zip
Raw History Compare with 2.7-beta1
md5
0425f2c05ada3fa6be65bfb3be642e5f
sha1
bc4301ad545987e382183d0158449c656bb9e511
sha256
0152c3fdd4c7c7dac5813bd01e06b8656894ebfccd970611854c47f1f7623dcb
jQuery(document).ready( function() {
	// pulse
	jQuery('.fade').animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300).animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300);

	// show things that should be visible, hide what should be hidden
	jQuery('.hide-if-no-js').removeClass('hide-if-no-js');
	jQuery('.hide-if-js').hide();

	// Basic form validation
	if ( ( 'undefined' != typeof wpAjax ) && jQuery.isFunction( wpAjax.validateForm ) ) {
		jQuery('form.validate').submit( function() { return wpAjax.validateForm( jQuery(this) ); } );
	}
});
/*
(function($) {
	$.fn.tTips = function() {

		$('body').append('<div id="tTips"><p id="tTips_inside"></p></div>');
		var TT = $('#tTips');

		this.each(function() {
			var el = $(this), txt;

			if ( txt = el.attr('title') ) el.attr('tip', txt).removeAttr('title');
			else return;
			el.find('img').removeAttr('alt');

			el.mouseover(function(e) {
				txt = el.attr('tip'), o = el.offset();

				clearTimeout(TT.sD);
				TT.find('p').html(txt);

				TT.css({'top': o.top - 43, 'left': o.left - 5});
				TT.sD = setTimeout(function(){TT.fadeIn(150);}, 100);
			});

			el.mouseout(function() {
				clearTimeout(TT.sD);
				TT.css({display : 'none'});
			})
		});
	}
}(jQuery));
*/

//jQuery(function(){jQuery('#media-buttons a').tTips();});

The same content is in 2 releases, WordPress 2.7-beta1 to 2.7-beta2. See them all, or every version of this file.