JavaScript Tutorials
Place the pop-up window on the top of all other windows
<!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=iso-8859-1" />
<script language="javascript" type="text/javascript">
<!--
function demoPopUp() {
window.open("pop_up_window.html", "demoName", "width=250, height=210, scrollbars=yes, resizable=yes");
}
// -->
</script>
<title>Pop-up window always on top</title>
</head>
<body>
<p><a href="javascript:demoPopUp();">Click here</a></p>
</body>
</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=iso-8859-1" />
<title>Pop-up window always on top</title>
</head>
<body onBlur="self.focus()">
This is a pop-up window and must always stay on top of all other windows!
</body>
</html>