Frameset und Statusleistentext

Grisu

Mitglied
Ich hab da ein Problem. Ich will in mene Homepage einen Stauzeilentext-Script einbauen. Ich benutze aber Frames und wenn ich den Script nun in den <body> bereich des Framesets einfüge passiert nix. Weiß irgendwer was ich da machen muß??
Danke in soraus
 
body bereich des framesets?
bin verwirrt...

poste mal ein klein wenig sourcecode, danke
 
das wird wohl daran liegen das der body des framesets nur beachtet wird wenn dein browser keine frames unterstüzt...

pack das script doch einfach mal in eine frameseite.


SteKo
 
Also das mit den Framesseiten hab ich schon probiert. das funktioniert nicht. Hier ist der Quelltext:<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset cols="167,*" frameborder="no" border="0" framespacing="0" rows="*">
<frame name="leftFrame" scrolling="no" noresize src="sitemap.htm">
<frameset cols="*,121" frameborder="NO" border="0" framespacing="0" rows="*">
<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
<frame name="topFrame" scrolling="NO" noresize src="topbar.htm" >
<frameset rows="*,80" frameborder="NO" border="0" framespacing="0">
<frame name="mainFrame" src="home.htm">
<frame name="bottomFrame" scrolling="NO" noresize src="bottombar.htm">
</frameset>
</frameset>
<frame name="rightFrame" scrolling="NO" noresize src="rightbar.htm">
</frameset>
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000></body>
</noframes>
</html>

so jetzt hab ich mir gedacht pack ich den Script den den <body> tag aber das hat nicht gefunzt.
 
Code:
<head> 
<title>Untitled Document</title>
<script>
onload=window.status='ich werde hier definitiv unterfordert :)';
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
</head> 
<frameset cols="167,*" frameborder="no" border="0" framespacing="0" rows="*"> 
<frame name="leftFrame" scrolling="no" noresize src="sitemap.htm"> 
<frameset cols="*,121" frameborder="NO" border="0" framespacing="0" rows="*"> 
<frameset rows="80,*" frameborder="NO" border="0" framespacing="0"> 
<frame name="topFrame" scrolling="NO" noresize src="topbar.htm" > 
<frameset rows="*,80" frameborder="NO" border="0" framespacing="0"> 
<frame name="mainFrame" src="home.htm"> 
<frame name="bottomFrame" scrolling="NO" noresize src="bottombar.htm"> 
</frameset> 
</frameset> 
<frame name="rightFrame" scrolling="NO" noresize src="rightbar.htm"> 
</frameset> 
</frameset> 
<noframes> 
<body bgcolor="#FFFFFF" text="#000000></body> 
</noframes> 
</html>
viel spass
 
biddeschön :)
wenn du das ganze noch w3c-konform machen willst, dann sieht das script so aus:
Code:
<script type="text/javascript">
onload=window.status='ich bin ein statusleistentext...';
</script>
die type-bezeichnung will w3c nunmal :)
hatte ich vorhin vergessen
 

Neue Beiträge

Zurück