By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

IE 5.00 & JS woes

P: n/a
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

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Da Costa Gomez <dc*@xs4all.nl> writes:
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
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

P: n/a
Grant Wagner wrote:

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. ;)) --
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html


Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.