How can I make a popup window that opens everytime a user logs in?
you can use window.open(fileName); to open a new window, but the popup window will be usually blocked by browser.
you can also create an div element in page, when the user logs in, show this element. it will never be blocked,but it is not a real popup window.
I wrote the sample code for you , hope it helps.
[HTML]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>User log in Page</title>
</head>
<style type="text/css">
<!--
body{
background-color:#E4DFFF;
}
-->
</style>
<body>
user log in successfully
<br />
<div id="popupWindow" style="position:absolute; left:178px; top:64px; width:426px; height:280px; border:1px solid; background-color:#FFFFFF">
<div style="text-align:right; background-color:#CED3FF"><a onclick="document.getElementById('popupWindow').st yle.display = 'none';" style="cursor:pointer;">Close</a></div>
<div>This is your popup window<br />You can click "Close" to close it.</div>
</div>
</body>
</html>
[/HTML]