Problem with Open and Opener on windows CE

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,052
Members
48,769
Latest member
Clifft

Latest Threads

Top