Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6685697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:05:13+00:00 2026-05-26T05:05:13+00:00

I am working on a PhoneGap application using jQuery Mobile. Currently I am only

  • 0

I am working on a PhoneGap application using jQuery Mobile.
Currently I am only testing in the iPhone and iPhone Retina-simulators.

When I open up the application in Retina-mode, the application’s density is correct but the page is only half the screen size on both dimensions.

My own guess is that jQuery Mobile’s css does not scale up the widths and heights, but I haven’t been able to find anything about this.

My HTML has this:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />

And then I execute this Javascript:

if ($.mobile.media("screen and (min-width: 320px)")) {
    if ($.mobile.media("screen and (-webkit-min-device-pixel-ratio: 2)")) {
        $('meta[name=viewport]').attr('content','width=device-width, user-scalable=no,initial-scale=.5, maximum-scale=.5, minimum-scale=.5');
    }
}

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:05:13+00:00Added an answer on May 26, 2026 at 5:05 am

    I think you are guessing correct.

    Look at the JQM.css file.

    It only includes media queries for hi-res/lo-res icons. Everything else is “as is” on retina and non-retina devices, so JQM only supports retina in terms of icon-size.

    By specifying initial-scale=.5, maximum-scale=.5, minimum-scale=.5 you are locking everything in at 50%. So there is your non-scalable half page.

    The more you tailor for retina (“high-end”) devices the more trouble you will have with standard browsers (especially “low end”, like IE7). Check the JQM iconsprite positioning in IE7 for example – if you don’t include a script like respond.js to support media queries, icons will be off-postion.

    I think there is currently just not enough retina devices to warrant JQM providing a cross-browser retina and non-retina solution.

    I found some good info here. I also did a CSS-only iOS tab-bar, which works down to IE7.

    Check the CSS required in my plugin to just make icons and gradient backgrounds look good on all browsers and the amount of extras CSS necessary to tailor for IE7+8. A retina/non-retina JQM.css file would be nice to have but hard to download 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Created a phonegap application using jQuery Mobile. Everything is working great for the most
Working on a mobile application using jquery mobile and phonegap framework. My question is
I am designing an app for Iphone using PhoneGap and Jquery mobile framework.(alpha 3
I'm currently evaluating the combination of jQuery Mobile and PhoneGap. For my application, I
I'm working on a mobile web-app using sencha touch, HTML5 and phonegap as a
I'm developing an app using jquery mobile, phonegap and openDatabase. When the app is
I have a mobile web application built using the following versions :- JQuery Mobile
I need help, working on iPhone app using phoneGap 0.9.6. while using app I
We are currently working on the finishing touches of an application which uses Phonegap
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.