hermes: erledigt

Beitrag lesen

Hab so lange rumgespielt, bis es funktioniert hat.
Falls jemand das hier liest und wissen will wie:

JS:

	function fadein2(infobox) {  
			$(infobox).morph('.fadein');  
	};  
	  
	function fadeout2(infobox) {  
			$(infobox).morph('.fadeout');  
	};

HTML:

<input type="text" name="f2" size="20" onfocus="fadein2('anotherElement2')" onblur="fadeout2('anotherElement2')">  
		<div id="anotherElement2" class="fadeout">  
			Demo Text 2  
		</div>  
<input type="text" name="f3" size="20" onfocus="fadein2('anotherElement3')" onblur="fadeout2('anotherElement3')">  
		<div id="anotherElement3" class="fadeout">  
			Demo Text 3  
		</div>