Re: Why "window.open(' 'my.jpg' ',' '_blank' ')" does work on IE but not work on Navigate2
From: Mike J ("Mike)
Date: 10/08/04
- Next message: Peter Carlson: "Re: resolving "relative" url's"
- Previous message: Igor Tandetnik: "Re: Why "window.open(' 'my.jpg' ',' '_blank' ')" does work on IE but not work on Navigate2"
- In reply to: Igor Tandetnik: "Re: Why "window.open(' 'my.jpg' ',' '_blank' ')" does work on IE but not work on Navigate2"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 8 Oct 2004 20:52:30 +0100
I tried, it really worked. If I don't insert the script, it will pop up
error message. (If SetSilent(TRUE), debugger will be invoked). When insert
the script into the head, no error message popup(other HTML codes are the
same).
I use m_pHtmlDoc2->write(sfArray). I have not tried Navigate2 yet.
Mike
"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:%23fzMxpWrEHA.332@TK2MSFTNGP14.phx.gbl...
> "Mike J" <cannotbeanywhere(at)hotmail.com> wrote in message
> news:uqCm1hWrEHA.2948@TK2MSFTNGP11.phx.gbl
>> I found a solution to block script debugger.
>> I insert the following script into the head of the HTML document:
>>
>> window.onerror = errorHandler;
>
> Are you sure this stops a script debugger, as opposed to just a regular
> error message (these are two different things)? It does not, in my
> experience. The article you quote seems to agree with me:
>
> A common problem that bites many developers occurs when their onerror
> handler is not called because they have script debugging enabled for
> Internet Explorer. This will be the case by default if you have installed
> the Microsoft Script Debugger or Microsoft Visual Studio 6.0R
> (specifically Visual InterDev 6.0T)-onerror handling is how these products
> launch their debugger. You can disable script debugging for a given
> instance of Internet Explorer on the Advanced tab of the Internet Options
> dialog box (note that checking the Disable script debugging setting will
> apply only to that instance of Internet Explorer)
>
> --
> With best wishes,
> Igor Tandetnik
>
> "On two occasions, I have been asked [by members of Parliament], 'Pray,
> Mr. Babbage, if you put into the machine wrong figures, will the right
> answers come out?' I am not able to rightly apprehend the kind of
> confusion of ideas that could provoke such a question." -- Charles Babbage
>
- Next message: Peter Carlson: "Re: resolving "relative" url's"
- Previous message: Igor Tandetnik: "Re: Why "window.open(' 'my.jpg' ',' '_blank' ')" does work on IE but not work on Navigate2"
- In reply to: Igor Tandetnik: "Re: Why "window.open(' 'my.jpg' ',' '_blank' ')" does work on IE but not work on Navigate2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|