D
Daniel
Hi all.
I have an application that a person needs to login first and then runs with
the following command:
function popupApplication()
{
var str = 'left=0,top=0,screenX=0,screenY=0,resizable=yes';
str += ",toolbar=no,directories=no,status=no,menubar=no,scrollbars=no"
if (window.screen)
{
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
str += ',height=' + ah;
str += ',width=' + aw;
}
win=window.open('/home/default.jsp', "Application", str);
win.focus();
}
This pops up a new IE window, with no IE buttons, url location, or status
bar. I noticed then that I could not use the following function in the
pages. I want to be able to have a back button on a page, as follows:
function back()
{
history.back();
}
<input type="button" name="btnBack" value="back one page" onClick='back()'>
But this does not work. I tried it on a *blank* page, and it works.
I noticed that if I did this in popupApplication(): window.location(
'/home/default.jsp' ) instead of window.open, then I could see all the IE
buttons, and the back button would work.
Does anybody know the answer?
Thanks in advance.
I have an application that a person needs to login first and then runs with
the following command:
function popupApplication()
{
var str = 'left=0,top=0,screenX=0,screenY=0,resizable=yes';
str += ",toolbar=no,directories=no,status=no,menubar=no,scrollbars=no"
if (window.screen)
{
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
str += ',height=' + ah;
str += ',width=' + aw;
}
win=window.open('/home/default.jsp', "Application", str);
win.focus();
}
This pops up a new IE window, with no IE buttons, url location, or status
bar. I noticed then that I could not use the following function in the
pages. I want to be able to have a back button on a page, as follows:
function back()
{
history.back();
}
<input type="button" name="btnBack" value="back one page" onClick='back()'>
But this does not work. I tried it on a *blank* page, and it works.
I noticed that if I did this in popupApplication(): window.location(
'/home/default.jsp' ) instead of window.open, then I could see all the IE
buttons, and the back button would work.
Does anybody know the answer?
Thanks in advance.