Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28471
| From | "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Move a div with mouse |
| Date | 2015-07-26 12:54 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <mp2e8i$ln0$1@dont-email.me> (permalink) |
| References | (1 earlier) <24793803.Cl0v73UULg@PointedEars.de> <mou5ap$180$1@dont-email.me> <13075758.S88mDJZToQ@PointedEars.de> <mp0i2h$aq4$1@dont-email.me> <2686661.kNTyxH5vvL@PointedEars.de> |
Il 07/25/2015 08:54 PM, Thomas 'PointedEars' Lahn ha scritto: > > The feature is called “format=flowed”... ...[instructions about the use of the newsreader] OK Thanks. > > You should use flags instead of creating Function instances repeatedly. > > That aside: > > Your code most certainly does not work in Chrome because you are assigning > to .onmousemove after you called .addEventListener() for the same target, > which adds *two* event listeners for the same event and target: the listener > added with .addEventListener() is added after the one assigned to > .onmousemove. (As I showed earlier this year.) > > And it probably does not work in Chrome because your feature test is wrong > again, a faulty inference: you are testing “window.event” but access > “e.clientX”, and you are testing “event”, but you are accessing > “event.pageX”. Debugging should show the underlying assumptions to be wrong > in the offending runtime environments. > Hummmmm... Interesting [guess: in the second sentence I should read "Safari"?]. Thank You, I would also note that the answer came on a Saturday - thanks for your time. I'll retest and give a follow-up, but I need some more time to go deeper in the matter. > > BTW, there are drag-and-drop event types now. > Eh... yes. I am [vaguely] aware of that. Let me understand this, and then to move forward. Dan -- "Everybody should pay taxes with a smile" I tried, but they want money.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Move a div with mouse "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-21 13:26 +0200
Re: Move a div with mouse Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-24 20:36 +0200
Re: Move a div with mouse "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-24 21:58 +0200
Re: Move a div with mouse Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-25 14:07 +0200
Re: Move a div with mouse "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-25 19:47 +0200
Re: Move a div with mouse Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-25 20:54 +0200
Re: Move a div with mouse "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-26 12:54 +0200
Re: Move a div with mouse Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-26 13:36 +0200
csiph-web