Hallo zusammen
Wie kann ich in Frames das Event "onresize" verwenden. Bei mir funktioniert das nicht so richtig. Hat jemand ein Beispiel? Also ich möchte bei einem Resize eine bestimmte Funktion ausführen. Folgendes funktioniert bei mir nicht:
<html>
<head>
<title>Test</title>
<script language="Javascript">
function test()
{
alert('hallo');
}
top.urlkey="";
top.onresize = test;
document.writeln('<frameset rows="115,*" cols="*" border=0>');
document.writeln('<frame name="logo" src="header_h.html" scrolling="no"></frame>');
document.writeln('<frameset rows="*" cols="10,121,*" >');
document.writeln('<frame></frame>');
document.writeln('<frame name="menu" src="menu/menu.html" scrolling="no"></frame>');
document.writeln('<frame name="haupt" src="haupt/startseite.html"></frame>');
document.writeln('</frameset>');
document.writeln('</frameset>');
top.onresize = test;
</script>
</head>
<body>
</body>
</html>
Vielen Dank für eure Hilfe
Urs