Hi!
Frame1: (Bei Klick auf ein Image wird folgendes ausgeführt)
parent.frame2.document.images['bild'].src = "neuesbild.jpg";Frame2: (Dieses Bild soll durch ein neues ersetzt werden)
<div id="bild"><img src="altesbild.jpg" width="50" height="50" alt=""></div>
Das kann auch nicht funktionieren, denn du weißt nicht dem Bild selbst den Namen "bild" zu, sondern dem <div>-Tag. Dementsprechend versuchst du mit JavaScript nun, dem <div>-Tag einen source zuzuweisen ;-)
cu
Marc Reichelt || http://www.step2identity.com/
--
Linux is like a wigwam - no windows, no gates and an Apache inside!!!
SELFCode: ss:| zu:) ls:[ fo:} de:[ va:} ch:? sh:) n4:° rl:? br:^ js:( ie:% fl:) mo:)
http://emmanuel.dammerer.at/selfcode.html
Linux is like a wigwam - no windows, no gates and an Apache inside!!!
SELFCode: ss:| zu:) ls:[ fo:} de:[ va:} ch:? sh:) n4:° rl:? br:^ js:( ie:% fl:) mo:)
http://emmanuel.dammerer.at/selfcode.html