Joel Clermont wrote:
> I have been working with someone on the IE team from Microsoft for the
> last 2 days on this issue. They are saying that a ctrl-click in IE7 does
> not even fire the onclick event at all. It appears that they are
> correct. This is why none of the code cancels the event, it's not even
> technically being fired.

Thanks so far. I've never thought of this, actually.
> 
> Does this make sense to anyone here? I setup a sample page to
> demonstrate the problem: http://orionweb.net/joelstuff/click.html

No, it does not make sense at all because it's a click and when I assign an
"onclick" handler I expect it to fire when somebody actually clicks.
> 
> Also, he asked the following question: Are you looking for a scripting
> solution/workaround to this only?  Are you open to using C++ code with
> writing some kind of COM plugin?

LOL! This sounds like a typical microsoft-style answer to me. Tsss....
> 
> I haven't answered yet, but my initial thought is that we want a pure
> script solution, not some plugin hack. Thoughts?

Right. We want to make a pure cross-browser web-application. I don't see
any reason why to start writing COM plugins only to make IE behave like the
other browsers. If we start doing this, we can also start writing a desktop
app.
> 
> Finally, is there any documentation you are aware of that I could show
> the IE team stating it is bad practice to take low-level ownership of a
> user-initiated click event? It seems like common sense to me, but I'd
> love something official making a more solid point.

I didn't find anything yet. Looks like we're the first coming up with this
problem. IMO a click is a click and the whole event-firing behavior should
not change when holding down the Ctrl-key. Ctrl is just an event modifier
and should be detectable like Alt and Shift keys are. It is even detectable
and cancelable in click events from other elements than links. Why should
links behave differently?

When comparing the behavior of Firefox, Safari and Opera I would call it
best-practice when the four major browsers all behave the same.
> 
> Thanks in advance. I will wait to hear back, and then I'll continue
> working with MS tomorrow.

Thanks a lot for your effort!

~Thomas

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to