Grant said:
Presumably you are passing something to window.open() that is not supported
in Internet Explorer 5.0. So the first thing to do is:
var _properties = '';
aWindow = window.open(...);
If the error still occurs, add:
var _detailWindowTitle = 'x';
then:
var _popURL = 'about:blank';
It was the url.
Is it indeed correct that it HAS to look like
"
http://...../app?service=page/ViewProducts" ?
Moz, Firebird & Opera accept "/app?service=page/ViewProducts" and work
just fine.
At some point you'll identify the problem. I note you're calling the second
parameter "_detailWindowTitle". It's *not* the title of the new window, it's
the name of the new window, and should not contain any spaces (although some
browsers may be more forgiving if you've included spaces in the name).
Thx for setting me straight on this one, hadn't realized.
Also, why are you using all global variables instead of passing the url,
name and attributes to the popup() function?
Granted I can also stick them in directly but this way I could be
setting these parameters from basically anywhere (even from two
different pages if I like) prior to actually calling the function (I'm
aware of the 'weirdish' nature of it but then again looking at the JS
implementation across the browsers *what* is weird? Really.
)