Android viewport?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • shushant
    replied
    what about this
    How to fix viewport scaling with JQuery Mobile on Android HDPI devices - Stack Overflow

    Leave a comment:


  • shushant
    replied
    Originally posted by something else View Post
    yeah jquery is a headache .... heres a nice demo for pages within a page: jQuery Mobile: Pages within Pages
    Try
    taken from twitter bootstrip
    Code:
       <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    Leave a comment:


  • something else
    replied
    yeah jquery is a headache .... heres a nice demo for pages within a page: jQuery Mobile: Pages within Pages

    Leave a comment:


  • amylee
    replied
    should also have a look at using mobile jquery looks awesome on mobile devices
    i'm currently trying to update my lava script into using mobile jquery and it's pretty dam hard tbh lol

    got preview of one page im currently using to test it out on MOBILE JQUERY TEST PAGE
    pretty bog standard but looks ok for me still learning how to use it :/
    Last edited by amylee; 17.03.12, 18:27.

    Leave a comment:


  • something else
    replied
    Thanks amylee :D

    looks like i was doing the right thing ..... would advise everyone to add that code to there mobile sites

    Leave a comment:


  • amylee
    replied
    have a look at A tale of two viewports — part two might help



    Sent from my HTC One X using Tapatalk
    Last edited by amylee; 17.03.12, 17:18.

    Leave a comment:


  • something else
    started a topic Android viewport?

    Android viewport?

    Im a little bit confused on how to use viewport to make androids view as mobile pages view as mobile rather than a web page (having to scroll left/right zoom in etc)?

    Has anyone had any experience with this?

    iv currently set it to:
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    but i dont know if this is right or not due to not owning a android device and not being able to get an internet connection on android emulator
    Last edited by something else; 17.03.12, 16:34.
Working...
X