Mobile Studio does not always present the mobile user agent string

ihaynes's Avatar

ihaynes

05 Sep, 2012 08:22 AM

I've been looking at some site templates that work responsively by using JS to look for the userAgent and, if mobile, add a class to the page body which then alters the layout for mobile.

The Lite sumulator works correctly every time but the Mobile Studio simulator does not.

You can see the effect by looking at http://www.frontpage-to-expression.com/ which was created with one of these templates.

Two screen shots attached.

Ian Haynes

  1. 1 Posted by ihaynes on 05 Sep, 2012 08:23 AM

    ihaynes's Avatar

    Despite attaching two screen shots only one was listed. The second one attached.

  2. Support Staff 2 Posted by Shaun Sullivan on 06 Sep, 2012 12:12 PM

    Shaun Sullivan's Avatar

    Thanks, we are looking into this, as it appears to be some sort of timing issue (hence the fact that it is spurious).

    Shaun

  3. Support Staff 3 Posted by Shaun Sullivan on 07 Sep, 2012 01:20 PM

    Shaun Sullivan's Avatar

    Download the latest, and you should be all set. Thanks.

  4. Shaun Sullivan closed this discussion on 07 Sep, 2012 01:20 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

06 Oct, 2021 05:12 AM
20 Sep, 2021 04:14 PM
02 Aug, 2021 04:22 AM
29 Jul, 2021 07:22 AM
28 Jul, 2021 05:37 AM