Find height på frame og udskriv
Hej eksperter!Hvordan får jeg fat i brugerens valgte height på mainframe, og ligger den i et hiddenfield(form) i settings.php ved onload?
Frameset:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Chat</title>
<script>
function logout(){
window.open('add.php?login=no','','toolbar=no,menubar=no,location=no,height=1,width=1');
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*,149" cols="*" framespacing="2" border="2" bordercolor="#000000">
<frame src="settigs.php" name="topFrame" scrolling="NO" >
<frame src="skriv.php" name="mainFrame">
</frameset>
<noframes><body "onunload=logout();">
</body></noframes>
</html>
Mvh René
