captain Kork: Frames mit html-Dateien füllen und Inhalt ändern

Beitrag lesen

Hallo,

fr1.htm
<frameset rows="76,692" frameborder="no" border="0" framespacing="0">
  <frame src="Head.htm" name="head" scrolling="no" noresize frameborder="no" marginwidth="0" marginheight="0">
  <frame src="fr2.htm" name="content" scrolling="no" noresize frameborder="no" marginwidth="0" marginheight="0">
</frameset>

fr2.htm
<frameset rows="25,668" frameborder="no" border="0" framespacing="0">
 <frame src="Status.htm" name="status1" scrolling="no" noresize frameborder="no" marginwidth="0" marginheight="0">
 <frame src="Main.htm" name="main" scrolling="no" noresize frameborder="no" marginwidth="0" marginheight="0">
</frameset>

head.htm
<html>
<head><title>head</title></head>
<body text="#000000" bgcolor="#00FF00" link="#FF0000" alink="#FF0000" vlink="#FF0000">
HEAD
</body></html>

main.htm
<html>
<head><title>main</title></head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
MAIN
<input type="Radio" name="" value="v" onClick="javascript:parent.status1.document.location.href='xyz.htm';">
</body></html>

status.htm
<html>
<head><title>status</title></head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
STATUS1
</body></html>

xyz.htm
<html>
<head><title>xyz</title></head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
xyz
</body></html>

funktioniert unter IE als auch unter netscape