Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #20064

Re: onmouseup IE9

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="UTF-8"
Message-ID <6560842.YUYWtJiLuI@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <usenet@PointedEars.de>
Mail-Copies-To usenet@PointedEars.de
Organization PointedEars Software (PES)
Date Fri, 31 May 2013 15:12:45 +0200
User-Agent KNode/4.10.2
Content-Transfer-Encoding 8Bit
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
Subject Re: onmouseup IE9
Newsgroups comp.lang.javascript
References <0cCdnbushMARIjvMnZ2dnUVZ_oCdnZ2d@westnet.com.au> <PdWdnT07Iu-gXjvMnZ2dnUVZ_sqdnZ2d@westnet.com.au> <29791032.XE3BKoFSiS@PointedEars.de> <hrudnWGT0oQ2TzrMnZ2dnUVZ_oydnZ2d@westnet.com.au>
MIME-Version 1.0
Lines 56
NNTP-Posting-Date 31 May 2013 15:12:48 CEST
NNTP-Posting-Host a5c00c71.newsspool2.arcor-online.net
X-Trace DXC=VhAf<<@^V67nBOkdL^Lo7>A9EHlD;3Yc24Fo<]lROoR18kF<OcfhCO;^iM`VYfj2E6DZm8W4\YJN<b@mF9jNikd5BoKGPB=12A7[XFF<bkBkm8
X-Complaints-To usenet-abuse@arcor.de
Xref csiph.com comp.lang.javascript:20064

Show key headers only | View raw


Andrew Poulos wrote:

> On 30/05/2013 8:12 PM, Thomas 'PointedEars' Lahn wrote:
>> Andrew Poulos wrote:
>>> On 30/05/2013 12:54 PM, Andrew Poulos wrote:
>>>> <!DOCTYPE html>
>>>> <html>
>>>> <head>
>>>> […]
>>>> <script type="text/javascript">
>>>> function down() {
>>>>     document.getElementById("me").innerHTML += "--- Down ";
>>>> }
>>>> function up() {
>>>>     document.getElementById("me").innerHTML += "Up --- ";
>>>> }
>>>> document.onmousedown = down;
>>>> document.onmouseup = up;
>>>> </script>
>>>> </head>
>>>> <body>
>>>>     <p id="me" style="text-align:center;">Starts here:<br></p>
>>>> </body>
>>>> </html>
>>>>
>>>> onmouseup will fail to trigger in IE 9 by dragging the pointer to an
>>>> new location and waiting a second or two before releasing the left
>>>> mouse button. I couldn't get IE 7 or 8 (or any other browser) to fail
>>>> in this manner. How can I get IE 9 to behave?
>>> Here's a bit more info. It works when the pointer stays as an arrow but
>>> fails when (for some reason) the pointer changes to a circle with a
>>> diagonal line through it.
>> That cursor shape indicates that the element is not a proper
>> drag-and-drop target.  You are using HTML5 which is (partially) supported
>> from IE/MSHTML 9 on.  There are specific events for drag-and-drop, and
>> they have been standardized with HTML5; use your current approach only as
>> a fallback.
> 
> […] Unfortunately I didn't find IE9 behaving any better [with ondragend].
> That is, the onmousedown would always trigger and the onmouseup and
> ondragend would not always trigger.
> 
> Well-referenced sites like
> <http://www.thecssninja.com/demo/gmail_dragout/>
> fail in IE9 with "show errors" on :-(

“"show errors" on”?  And the referenced site uses HTML5-specific techniques 
that need not to work in IE 9.

Please post the public URI and a more detailed explanation of a reduced test 
case that demonstrates *your* problem.

And *please* trim your quotes.

-- 
PointedEars

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

onmouseup IE9 Andrew Poulos <ap_prog@hotmail.com> - 2013-05-30 12:54 +1000
  Re: onmouseup IE9 Andrew Poulos <ap_prog@hotmail.com> - 2013-05-30 13:10 +1000
    Re: onmouseup IE9 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-30 12:12 +0200
      Re: onmouseup IE9 Andrew Poulos <ap_prog@hotmail.com> - 2013-05-31 08:28 +1000
        Re: onmouseup IE9 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-31 15:12 +0200
          Re: onmouseup IE9 Andrew Poulos <ap_prog@hotmail.com> - 2013-06-01 18:36 +1000
            Re: onmouseup IE9 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-01 11:55 +0200

csiph-web