[css-d] coding critique?

2015-02-03 Thread John
Is it within the bounds of this list’s mission to request coding critiques, or is that too broad; is the list meant to help with specific problems/questions? and if not, are there places where one can get a critique of one’s coding? Thank you! John

[css-d] Using Modernizr html classes

2015-02-03 Thread Tom Livingston
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

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Tom Livingston
Greg, this is not a touch device. We figured out a script-based work around to serve our needs. Thanks all. On Tue, Feb 3, 2015 at 4:55 PM Greg Gamble ggam...@sbctc.edu wrote: Are these browsers running on a touch-capable device? I thought 8.1 could auto detect if it's on one and act

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Philippe Wittenbergh
Le 4 févr. 2015 à 05:58, Tom Livingston tom...@gmail.com a écrit : 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

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Tom Livingston
Thanks Philippe On Tue, Feb 3, 2015 at 7:05 PM Philippe Wittenbergh e...@l-c-n.com wrote: Le 4 févr. 2015 à 05:58, Tom Livingston tom...@gmail.com a écrit : 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

[css-d] correct way to code in a toggle menu?

2015-02-03 Thread John
Is what I have below an acceptable way to code desktop nav and mobile toggle nav? at DT sizes, media queries would hide #toggle-menu; at mobile sizes, they hide #nav-main I think I’d want to put that toggle-menu code inside the nav tag, but I can’t see how to make the toggle menu icon display

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Greg Gamble
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

Re: [css-d] correct way to code in a toggle menu?

2015-02-03 Thread MiB
4 feb 2015 kl. 01:16 skrev John j...@coffeeonmars.com: I think I’d want to put that toggle-menu code inside the nav tag, but I can’t see how to make the toggle menu icon display when I’m hiding the nav-main.. Am I looking at this wrong? If you hide #nav-main only then #toggle-menu