Il popup apre una finestra con frame, con questo codice:
Codice HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>...</title>
</head>
<frameset rows="*,63" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="main.php" name="mainFrame" id="mainFrame" title="mainFrame" />
<frame src="bottom.php" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
<noframes>
<body onunload="alert('ciao');">
</body>
</noframes>
</html>
Mentre per aprire il popup utilizzo questo link:
Codice HTML:
<a href="javascript:window.open('Chat', '', 'width = 400, height = 250');">Apri popup</a>