document.addEventListener over window.addEventListener

D

David Mark

LOL @ William Wallace. I registered so that I could tell you that your
original response was hilarious! "..less context is better, they just
pick apart what you say."

It's so true.

In general, "they" pick apart things that demonstrate faulty thinking.
"Give me more details so I can tell you that you are going about it all
wrong, or that you shouldn't be attempting it at all!"

If someone is going about something all wrong or attempting the
impossible, it is helpful to let them know. Of course, many people
are looking for magic rather than reasoning.
or even better-

"Why are you trying to do that?"

Classic!

Is this your first time on Usenet? You are going about it all
wrong. :)
Anyways, regarding your original topic (I know it has since turned into
talk of a book deal), half of the events will only work for window and
half for document.

Half? Who conducted that study?
I was just finishing up an events article on my own site and came upon
this post.
For attachEvent in IE (or inline events) you have to use
window for certain events and document for others.

It sounds as if your article needs more work.
use window for scroll,load,unload,focus,blur, and resize

use document for all mouse/key events, click, and dblclick

We've been over all of this (in much greater detail).
Hope that sheds some light on the original question.
Doubtful.


Ironic.

Hardware. Software. Solid.

*** Sent via Developersdexhttp://www.developersdex.com***

Of course. :(
 
D

David Mark

I can't tell what's sarcasm in that and what's not, but the JS is 100%
solid.

Will you please learn to quote? If you are referring to your last
(first ever?) post here, it contained no JS.
 
D

David Mark

Will you please learn not to be a fucking douche? Thanks.

LOL. You broke after two posts? Best to steer clear of Usenet (not
to mention me) from now on.
 
D

David Mark

In comp.lang.javascript message <[email protected]


I'd not encourage you to be optimistic there; he evidently believes that
vehemence is an adequate substitute for reasoning.

Sucking up to one-off losers, doc? Granted you've alienated all of
the regulars with your xenophobic tirades and boundless ego, but the
pairing of you and this neophyte seems unlikely.

And I told that clown to learn to quote. Do you really have a problem
with that or are you just spouting random gibberish? Doesn't take any
"reasoning" to see that he can't quote and needs to learn how.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,148
Latest member
ElizbethDa
Top