IE 5.00 & JS woes

D

Da Costa Gomez

Hi All,

Would it be safe to presume IE 5.00 is less than ideal to do popups?
Compared to Mozilla (any) & Opera it really smells!

Anyone else got the same experience?

TIA
Fermin DCG
 
L

Lasse Reichstein Nielsen

Da Costa Gomez said:
Would it be safe to presume IE 5.00 is less than ideal to do popups?

What would the problem be?

I don't have access to IE5.0, but I would be surpriced if window.open
didn't work at all ... so what is "less than ideal"?
Compared to Mozilla (any) & Opera it really smells!

Both Moz and Opera have built-in popup stoppers, so they could be seen
as less ideal when it comes to pop-ups.

/L
 
D

Da Costa Gomez

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. ;))
 

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,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top