ladynaureen
08-05-2002, 06:57 AM
I have a MAIN.JSP page and there is a HREF (hyper reference) on it. When a user clicks the HREF a popup window POP.JSP is opened. I used the following syntax to achieve this (this code is written in JAVA script in MAIN.JSP):
function popup_click() {
var page = "POP.JSP";
windowprops = "height=150,width=300,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=no";
window.open(page, "Popup", windowprops);
}
The problem is that when the pop up window is displayed I want to disable the MAIN.JSP window. Question is : How to achieve this functionality?
Waiting for a reply from experts.
Thank,
LadyN.
function popup_click() {
var page = "POP.JSP";
windowprops = "height=150,width=300,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=no";
window.open(page, "Popup", windowprops);
}
The problem is that when the pop up window is displayed I want to disable the MAIN.JSP window. Question is : How to achieve this functionality?
Waiting for a reply from experts.
Thank,
LadyN.