Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28471
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Move a div with mouse |
| Date | Sun, 26 Jul 2015 12:54:44 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 42 |
| Message-ID | <mp2e8i$ln0$1@dont-email.me> (permalink) |
| References | <mola7b$fmu$1@dont-email.me> <24793803.Cl0v73UULg@PointedEars.de> <mou5ap$180$1@dont-email.me> <13075758.S88mDJZToQ@PointedEars.de> <mp0i2h$aq4$1@dont-email.me> <2686661.kNTyxH5vvL@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sun, 26 Jul 2015 10:54:10 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="f524f7ae19484ca945c6eacf4097541c"; logging-data="22240"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FTbkphlWDeTmK4W3a0mrL" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
| In-Reply-To | <2686661.kNTyxH5vvL@PointedEars.de> |
| Cancel-Lock | sha1:en3hfpFpociU8Rx33KYaYH6k6u8= |
| Xref | csiph.com comp.lang.javascript:28471 |
Show key headers only | View raw
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