Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #4095
| Date | 2011-07-12 21:19 +1000 |
|---|---|
| From | Andrew Poulos <ap_prog@hotmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: know its ipad |
| References | <kOmdnXEq7Zy_UobTnZ2dnUVZ_qidnZ2d@westnet.com.au> <XKidneRX3pRgYobTnZ2dnUVZ8oOdnZ2d@giganews.com> |
| Message-ID | <iP-dnek2IJNZsIHTnZ2dnUVZ_u2dnZ2d@westnet.com.au> (permalink) |
On 12/07/2011 6:04 PM, Richard Cornford wrote: > Andrew Poulos wrote: >> How can I know if a web page is running on an iPad without >> parsing navigator.platform (ie. without browser sniffing)? > > Start by understanding why you care. The reason for caring will allow > you to narrow in on which aspect of the difference between 'running on > an iPad' and 'not running on an iPad' is actually relevant to you, and > so the thing that should be the subject of a pertinent test. Rather than have multiple "mini" branches (which have been working fine for years) like e = e || windows.event I want to one branch to a separate block of code that I can code/test without having to simultaneously deal with whatever issues Android, Windows... etc may bring. So when the client says, "this needs to work on an iPad" I can be confident it does. My clients "know" about web development and are expecting that development that includes the iPad and other mobile devices to be relatively straightforward when in fact I'm struggling. For example, why is it that: 1. Apple says the iPad screen resolution is 1024 x 768 2. designing as 980 x 660 appears to fit appropriately. The page has this meta element: <meta name="viewport" content="width=device-width"> 3. window.innerWidth/Height returns 768 x 518 Andrew Poulos
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar
know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-12 14:35 +1000
Re: know its ipad "Richard Cornford" <Richard@litotes.demon.co.uk> - 2011-07-12 09:04 +0100
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-12 21:19 +1000
Re: know its ipad 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2011-07-12 13:09 +0100
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-13 07:35 +1000
Re: know its ipad 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2011-07-13 01:00 +0100
Re: know its ipad 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2011-07-13 01:14 +0100
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-13 15:57 +1000
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-12 23:29 -0700
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-12 23:31 -0700
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-13 17:25 +1000
Re: know its ipad Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-13 12:53 +0200
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-13 04:20 -0700
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-13 04:34 -0700
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-13 04:58 -0700
Re: know its ipad 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2011-07-13 13:50 +0100
Re: know its ipad dhtml <dhtmlkitchen@gmail.com> - 2011-07-13 11:02 -0700
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-13 11:59 -0700
Re: know its ipad 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2011-07-13 21:32 +0100
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-13 14:28 -0700
Re: know its ipad 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2011-07-13 23:46 +0100
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-14 10:01 +1000
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-13 16:51 -0700
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-14 02:04 -0700
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-14 15:11 -0700
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-14 21:54 -0700
Re: know its ipad Yoda <jorgechamorro@mac.com> - 2011-07-15 03:14 -0700
Re: know its ipad Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-07-15 13:06 +0100
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-15 08:14 -0700
Re: know its ipad Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-07-15 20:00 +0100
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-15 12:12 -0700
Re: know its ipad Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-07-16 01:14 +0100
Re: know its ipad Jorge <jorge%jorgechamorro.com@gtempaccount.com> - 2011-07-16 08:56 -0700
Re: know its ipad Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-07-16 23:07 +0100
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-17 16:40 -0700
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-18 11:33 +1000
Re: know its ipad RobG <rgqld@iinet.net.au> - 2011-07-17 19:54 -0700
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-18 02:19 -0700
Re: know its ipad Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-18 21:41 +0200
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-19 07:13 +1000
Re: know its ipad Dr J R Stockton <reply1129@merlyn.demon.co.uk> - 2011-07-19 20:18 +0100
Re: know its ipad Arno Welzel <usenet@arnowelzel.de> - 2011-07-17 10:34 +0200
Re: know its ipad dhtml <dhtmlkitchen@gmail.com> - 2011-07-15 09:56 -0700
Re: know its ipad Arno Welzel <usenet@arnowelzel.de> - 2011-07-13 11:57 +0200
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-13 04:13 -0700
Re: know its ipad Dr J R Stockton <reply1128@merlyn.demon.co.uk> - 2011-07-13 18:19 +0100
Re: know its ipad "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-07-14 08:12 +0000
Re: know its ipad Richard Cornford <Richard@litotes.demon.co.uk> - 2011-07-13 08:05 -0700
Re: know its ipad Andrew Poulos <ap_prog@hotmail.com> - 2011-07-14 08:34 +1000
Re: know its ipad Elegie <elegie@anonymous.invalid> - 2011-07-12 10:13 +0200
Re: know its ipad Ry Nohryb <jorge@jorgechamorro.com> - 2011-07-12 04:19 -0700
Re: know its ipad Bjoern Hoehrmann <bjoern@hoehrmann.de> - 2011-07-12 13:24 +0200
csiph-web