IE 5.00 & JS woes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Da Costa Gomez

    IE 5.00 & JS woes

    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

  • Lasse Reichstein Nielsen

    #2
    Re: IE 5.00 & JS woes

    Da Costa Gomez <dcg@xs4all.n l> writes:
    [color=blue]
    > Would it be safe to presume IE 5.00 is less than ideal to do popups?[/color]

    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"?
    [color=blue]
    > Compared to Mozilla (any) & Opera it really smells![/color]

    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 - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Da Costa Gomez

      #3
      Re: IE 5.00 &amp; JS woes

      Grant Wagner wrote:[color=blue]
      >
      > 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 _detailWindowTi tle = 'x';
      >
      > then:
      >
      > var _popURL = 'about:blank';[/color]
      It was the url.
      Is it indeed correct that it HAS to look like
      "http://...../app?service=pag e/ViewProducts" ?
      Moz, Firebird & Opera accept "/app?service=pag e/ViewProducts" and work
      just fine.[color=blue]
      >
      > At some point you'll identify the problem. I note you're calling the second
      > parameter "_detailWindowT itle". 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).[/color]
      Thx for setting me straight on this one, hadn't realized.[color=blue]
      >
      > Also, why are you using all global variables instead of passing the url,
      > name and attributes to the popup() function?[/color]
      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. ;))[color=blue]
      > --
      > | Grant Wagner <gwagner@agrico reunited.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
      >
      >[/color]

      Comment

      Working...