TPetersonFlorida
Programmer
I'm not getting any responses on the ASP forum so i wanted to see if anybody here could help me.
I need to be able to determine if a certain popup window is still open, can that be done and if so how!!???? Here is my code that opens the popup window:
<!--#include file="includes\GlobalIncludes.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="REFRESH" CONTENT="5">
</head>
<body bgcolor="#660000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
if CheckForQuickMsg then
%>
<script language="vbscript">
LeftPos = (screen.width-400)/2
TopPos = (screen.height-150)/2
WinName = "QuickMsgWindow"
strOptions = "toolbar=No, location=no, directories=no, "
strOptions = strOptions & "status=no, menubar=no, scrollbars=no, "
strOptions = strOptions & "resizable=no, width=400, height=150,"
strOptions = strOptions & "top=" & TopPos & ",left=" & LeftPos
Window.Open "QM_Choice.asp",WinName,strOptions
</script>
<% end if
%>
</body>
</html>
I need to be able to first check to see if that popup window is already open before i call the Window.Open command to open it.
thanks
I need to be able to determine if a certain popup window is still open, can that be done and if so how!!???? Here is my code that opens the popup window:
<!--#include file="includes\GlobalIncludes.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="REFRESH" CONTENT="5">
</head>
<body bgcolor="#660000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
if CheckForQuickMsg then
%>
<script language="vbscript">
LeftPos = (screen.width-400)/2
TopPos = (screen.height-150)/2
WinName = "QuickMsgWindow"
strOptions = "toolbar=No, location=no, directories=no, "
strOptions = strOptions & "status=no, menubar=no, scrollbars=no, "
strOptions = strOptions & "resizable=no, width=400, height=150,"
strOptions = strOptions & "top=" & TopPos & ",left=" & LeftPos
Window.Open "QM_Choice.asp",WinName,strOptions
</script>
<% end if
%>
</body>
</html>
I need to be able to first check to see if that popup window is already open before i call the Window.Open command to open it.
thanks