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

  • SEARCH
  • Home
  • 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 6343091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:22:04+00:00 2026-05-24T20:22:04+00:00

We are working with the framework of jQuery Mobile for the graphical interface of

  • 0

We are working with the framework of jQuery Mobile for the graphical interface of our iPad app, based on HTML5. Because we’re creating an app for the iPad, we essentially need the typical split-screen like it is on ipad: A narrow sidebar on the left side and the main content on the right side:

enter image description here

Now my question: I’m searching for the code to create this splitted screen and I do not find anything for this in the jquerymobile documentation– Did I miss it or didn’t I understand it? If the code for the splitscreen doesn’t exist on this website, where can I find something related?

Because I didn’t find anything related to what I need, I tried another way to get this splitscreen. So I was working with blocks in the css stylesheets:

for explanation: In jQuerymobile documentation, I found a category with the name “content formatting>layout grid (column)” ( http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/content/content-grids.html)
So I thought about creating two blocks for making the splitted screen. BUT I don’t need a splitted screen with 50/50, but much more 20/80 or 30/70. I tried to change it into my stylesheet:

.ui-grid-x { overflow: hidden; }
.ui-block-x, .ui-block-y { margin: 0; padding: 0; border: 0; float: left; min-height:1px;}

/* grid a: 20/80 */
.ui-grid-x .ui-block-x  { width: 20%; }
.ui-grid-x .ui-block-y { width: 80%; }
.ui-grid-x .ui-block-x { clear: left; } 

the original was:

.ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; }
.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px;}


.ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; }
.ui-grid-a .ui-block-a { clear: left; } 

Does anybody know what I did wrong? How to change the size of the blocks? Is it the right way to do it like this?
Thanks alot in advance.

  • 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-24T20:22:06+00:00Added an answer on May 24, 2026 at 8:22 pm

    Use JQuery Mobile’s Grid Layout and just override “width” on “ui-block-a” and “ui-block-b” to split screen as per your need.

    for sample demo page checkout this blog
    http://mdshannan1.blogspot.com/2011/08/jquery-mobile-split-screen-20-80-hack.html

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

Sidebar

Related Questions

I am designing an app for Iphone using PhoneGap and Jquery mobile framework.(alpha 3
I'm working on a mobile website with jQuery Mobile. I know the framework puts
So I'm working on a web app that makes use of the jquery mobile
Working on a mobile application using jquery mobile and phonegap framework. My question is
I am working on zend framework, PHP and jQuery. I am working on popups
I have been working on test framework, which creates a new app domain to
If we have developed our own ORM framework and the framework is working fine
I have a single page jQuery Mobile app with four data-role='pages' in place; so,
I'm new to JavaScript and also the JQuery mobile framework is new to me.
Ok I'm using the jQuery Mobile framework and I would like to be able

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.