Re: OnNewWindow with javascript url?
- From: heatseek.mail@xxxxxxxxx
- Date: 17 Apr 2006 11:41:51 -0700
Not really. BeforeNavigate2 does get the javascript:url. I don't cancel
it or anything, and that's the last callback I get really. I figured
out why I'm getting the NewWindow2/3 -- it's only when I hold down the
SHIFT key which is supposed to launch in a new window. *However* -- if
I regular click on the image, I *only* get the BeforeNavigate2 and
nothing else!
I do have an event sink for HTMLTextContainerEvents2::onclick which is
hooked up to the image as well. So when the user clicks on the image,
I get the onclick event, and I am returning VARIANT_TRUE from there.
Then my BeforeNavigate2 gets called with the javascript url, and then I
don't get any other calls. So here is the chain of events right now:
1. User clicks on the image (no SHIFT held down..just regular click).
2. Receive HTMLTextContainerEvents2::onclick --> return VARIANT_TRUE.
3. Receive BeforeNavigate2 with the javascript URL. Don't do anything
in this function.
4. *** nothing else happens *** I do not get a NavigateComplete, nor
a OnNewWindow2/3 at all.
.
- Follow-Ups:
- Re: OnNewWindow with javascript url?
- From: key88sf
- Re: OnNewWindow with javascript url?
- References:
- OnNewWindow with javascript url?
- From: key88sf
- Re: OnNewWindow with javascript url?
- From: Igor Tandetnik
- Re: OnNewWindow with javascript url?
- From: heatseek . mail
- Re: OnNewWindow with javascript url?
- From: Igor Tandetnik
- OnNewWindow with javascript url?
- Prev by Date: Re: OnNewWindow with javascript url?
- Next by Date: Re: OnNewWindow with javascript url?
- Previous by thread: Re: OnNewWindow with javascript url?
- Next by thread: Re: OnNewWindow with javascript url?
- Index(es):