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


Groups > comp.lang.javascript > #7158

Re: know its ipad

From David Mark <dmark.cinsoft@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: know its ipad
Date 2011-10-09 18:35 -0700
Organization http://groups.google.com
Message-ID <20892229.2514.1318210553787.JavaMail.geo-discussion-forums@yqcs10> (permalink)
References (5 earlier) <ivin7b$o09$1@dont-email.me> <0tWdnZXtqdlWroDTnZ2dnUVZ_jadnZ2d@westnet.com.au> <26eef53d-aee6-4162-88fc-4855bd51a555@p10g2000prf.googlegroups.com> <4f034459-6218-4cd1-8125-1b9b70da4b2c@j9g2000prj.googlegroups.com> <fuudnQFKubzq1YDTnZ2dnUVZ_hSdnZ2d@westnet.com.au>

Show all headers | View raw


On Wednesday, July 13, 2011 3:25:31 AM UTC-4, Andrew Poulos wrote:
> On 13/07/2011 4:31 PM, RobG wrote:
> > On Jul 13, 4:29 pm, RobG<rg...@iinet.net.au>  wrote:
> > [...]
> >> You should be testing for touch support, not what the device is.
> >
> > Because I know you're going to ask:
> >
> > Detecting support for event types
> > <URL:
> > http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/93e05bc723164080/17d5759265e496fe?lnk=gst&q=detect+touch+support#17d5759265e496fe
> 
> So a browser that supports touch events won't claim to support touch 
> events when the browser is on a device that can't send touch events. Is 
> that true?
> 

No. Chrome on the desktop "supports" touch events, regardless of the hardware.

See the My Library attachTouchListeners add-on. It's a simple example of handling mouse and (single) touch events with a single API.

Only time it's needed is for drag and drop interfaces (a relative rarity on the Web).

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


Thread

Re: know its ipad David Mark <dmark.cinsoft@gmail.com> - 2011-10-09 18:35 -0700
  Re: know its ipad dhtml <dhtmlkitchen@gmail.com> - 2011-10-09 22:39 -0700
    Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-10-10 17:42 +1100
      Re: know its ipad David Mark <dmark.cinsoft@gmail.com> - 2011-10-10 21:40 -0700
    Re: know its ipad David Mark <dmark.cinsoft@gmail.com> - 2011-10-10 21:38 -0700

csiph-web