P
p_le_sueur_1
Dear All
I am having some problems with the window.open function on Pocket
IE (V6). I have read other postings about the same issue, but
can't find an answer that's appropriate.
My function on the "opening" window is as follows, and opens a
lookup window:
function openWin(winRef) {
var WindowRef;
//NB - I have tried all three of the following options:
//1 return value captured and no parameters
WindowRef = window.open(winRef);
//2 no return value captured
window.open(winRef, '_blank', 'toolbar=0, location=0, directories=0,
status=0, menubar=0, scrollbars=1, resizable=1, width=760,
height=580');
//3 return value captured and parameters
WindowRef = window.open(winRef, '_blank', 'toolbar=0, location=0,
directories=0, status=0, menubar=0, scrollbars=1, resizable=1,
width=760, height=580');
}
My function on the lookup window is as follows and copies data
back to the opening window:
function updOpenerField(StrField, StrValue) {
if (StrValue != ' ')
{
opener.document.getElementById(StrField).value = StrValue;
}
}
When I run the three options for the "OpenWin" function;
respectively on standard "desktop" IE (V6) the results are as I
expect:
1 redirects to postcode.aspx (in the same window)
2 & 3 open a seperate "popup" window
When I run the "OpenWin" function on Pocket IE V6, it does the
following:
1 redirects to postcode.aspx (in the same window)
2 & 3 open a seperate full size window
but all also generate a "general access denied error".
The "updOpenerField" function works OK on desktop IE, but doesn't
do anything on Pocket IE...
What I need is a work around for the above problems, based on the
fact that my application is designed around seperate lookup
windows; and they need to work with Pocket IE. I can therefore
make small changes easily, but large changes (for instance
redesigning the application to work with frames) may not be
possible (unless there is no other way!).
Any ideas welcome!
Thanks in advance,
Paul Le Sueur.
I am having some problems with the window.open function on Pocket
IE (V6). I have read other postings about the same issue, but
can't find an answer that's appropriate.
My function on the "opening" window is as follows, and opens a
lookup window:
function openWin(winRef) {
var WindowRef;
//NB - I have tried all three of the following options:
//1 return value captured and no parameters
WindowRef = window.open(winRef);
//2 no return value captured
window.open(winRef, '_blank', 'toolbar=0, location=0, directories=0,
status=0, menubar=0, scrollbars=1, resizable=1, width=760,
height=580');
//3 return value captured and parameters
WindowRef = window.open(winRef, '_blank', 'toolbar=0, location=0,
directories=0, status=0, menubar=0, scrollbars=1, resizable=1,
width=760, height=580');
}
My function on the lookup window is as follows and copies data
back to the opening window:
function updOpenerField(StrField, StrValue) {
if (StrValue != ' ')
{
opener.document.getElementById(StrField).value = StrValue;
}
}
When I run the three options for the "OpenWin" function;
respectively on standard "desktop" IE (V6) the results are as I
expect:
1 redirects to postcode.aspx (in the same window)
2 & 3 open a seperate "popup" window
When I run the "OpenWin" function on Pocket IE V6, it does the
following:
1 redirects to postcode.aspx (in the same window)
2 & 3 open a seperate full size window
but all also generate a "general access denied error".
The "updOpenerField" function works OK on desktop IE, but doesn't
do anything on Pocket IE...
What I need is a work around for the above problems, based on the
fact that my application is designed around seperate lookup
windows; and they need to work with Pocket IE. I can therefore
make small changes easily, but large changes (for instance
redesigning the application to work with frames) may not be
possible (unless there is no other way!).
Any ideas welcome!
Thanks in advance,
Paul Le Sueur.