problem opening web apps in separate browser

Bill Humphrey

Active member
Joined
Apr 10, 2008
Messages
35
Programming Experience
Beginner
Hi

I have a problem where when I open a .net web app in explorer and then try to open a second .net web app in a separate explorer window it populates the first app explorer window and does not open a separate browser.

Page open code for app1:

HTML:
<%@ Page CodeBehind="StaffAbsenceStarter.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="StaffAbsencePresentation.StaffAbsenceStarter" %>
<HTML>
	<HEAD>
		<SCRIPT LANGUAGE="JavaScript">
    function FullScreen() 
    {
       self.moveTo(0,0);
       self.resizeTo(screen.availWidth,screen.availHeight); 
       window.open("StaffAbsenceLoginSecure.aspx",null,"fullscreen=no,toolbar=no,titlebar=yes,status=yes,location=no,scrollbars=yes,resizable=yes,menubar=no");
       window.opener = top;
       window.close();
    }
		</SCRIPT>
	</HEAD>
	<body onLoad="javascript:FullScreen()">
		Please wait while application is loading .....
	</body>
</HTML>
Page open code for app2:

HTML:
<%@ Page CodeBehind="StaffAbsenceStarter.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="StaffAbsencePresentation.StaffAbsenceStarter" %>
<HTML>
	<HEAD>
		<SCRIPT LANGUAGE="JavaScript">
    function FullScreen() 
    {
       self.moveTo(0,0);
       self.resizeTo(screen.availWidth,screen.availHeight); 
       window.open("NUTHLoginSecure.aspx",null,"fullscreen=no,toolbar=no,titlebar=yes,status=yes,location=no,scrollbars=yes,resizable=yes,menubar=no");
       window.opener = top;
       window.close();
    }
		</SCRIPT>
	</HEAD>
	<body onLoad="javascript:FullScreen()">
		Please wait while application is loading .....
	</body>
</HTML>
 
Last edited by a moderator:
Back
Top