View difference between Paste ID: Ypsby34U and 6WP8v7g3
SHOW: | | - or go back to the newest paste.
1-
jQuery(function( $ ){
1+
function replaceText() {
2-
	
2+
	$( 'span.to-be-replaced' ).fadeOut(1000).replaceWith( '<span class="replaced">Redefining Advanced Wound Care</span>' ).fadeIn(1000);
3-
	function replaceText() {
3+
}
4-
		$( 'span.to-be-replaced' ).replaceWith( '<span class="replaced">Redefining Advanced Wound Care</span>' );
4+
5-
	}
5+
setTimeout(replaceText,10000);