Hallo,
dann versuche ich nochmal dein Frameset nachzubauen ...
So sieth mein Frameset aus:
<html>
<head>
<title>Frame2</title>
</head>
<frameset rows="*" cols="200,*" border="0" frameborder="1" framespacing="0" >
<frame id="FrameLeft" name="treeframe" src="FrameLeft.htm"/>
<frameset rows="160,*" border="0" frameborder="1">
<frame id="FrameTop" name="FrameTop" src="FrameTop.htm">
<frame id="FrameMain" name="basefrm" src="FrameMain.htm" />
</frameset>
<frame id="FrameLeft" name="treeframe2" src="FrameLeft.html" />
<noframes>
<body></body>
</noframes>
</frameset>
<body></body>
</html>
jetzt hiermit, (die armen Browser ;) )
<html>
<head>
<title>Frame2</title>
</head>
<frameset rows="*" cols="200,*" border="1" frameborder="1" framespacing="5" >
<frame name="treeframe" src="test1.htm"/>
<frameset rows="160,*" border="0" frameborder="1">
<frame name="FrameTop" src="test1.htm">
<frame name="basefrm" src="test1.htm" />
</frameset>
<frame name="treeframe2" src="test1.htm" />
<noframes>
<body></body>
</noframes>
</frameset>
<body></body>
</html>
und test1.htm
<html>
<head>
<script>
function myLeftF( wert)
{
document.getElementById('myS').style.backgroundColor = 'red';
document.getElementById('myS').innerHTML = wert;
}
</script>
</head>
<body>
<script type=text/javascript>
document.write("<h1>"+self.name+"</h1>"+"<p>parent.length: "+parent.length);
</script>
</body>
</html>
in jedem Framefenster soll der Name ausgegeben werden. Ich sehe nur 3 Fenster, wo ist "treeframe2" ?
Gruß plan_B