Are these browsers running on a touch-capable device? I thought 8.1 could auto 
detect if it's on one and act accordingly.

Greg 

-----Original Message-----
From: css-d-boun...@lists.css-discuss.org 
[mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Tom Livingston
Sent: Tuesday, February 03, 2015 12:58 PM
To: CSS Discussion Group
Subject: [css-d] Using Modernizr html classes

List,

This may be borderline off-topic, but I'm a little desperate.

I am using Modernizr and it's html classes 'touch' and 'no-touch' in my CSS to 
add/hide functionality via such as a fixed menu bar on desktop and a relative 
menu bar on mobile, among other things.

The issue I am having is that in Chrome 40.X and FF 35.0.1 in Win 8.1, I am 
getting a false 'touch' class (as opposed to 'no-touch') on a desktop setup.

Googling hasn't been helpful yet and am wondering if anyone has over come this 
issue or has an idea.

Any ideas would be appreciated.

-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org] 
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- 
http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to