We are working with the jQuery Mobile framework for the graphical interface of our HTML5-based iPad application. Since we are creating an iPad application, we essentially need a typical split screen, for example, on an ipad: a narrow sidebar on the left side and the main content with right side:

Now my question is: I am looking for code to create this split screen , and I have not found anything for this in the jquerymobile documentation. I missed it or didnβt understand ?? If the code for splitscreen does not exist on this website, where can I find something related?
Since I did not find anything related to what I needed, I tried another way to get this splitscreen. Therefore, I worked with blocks in css style sheets:
for explanation: in the jQuerymobile documentation, I found a category called "content formatting" (table) "Table (table)" ( http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/content/content -grids.html ) So I thought about creating two blocks to create a broken screen. BUT I don't need a broken screen with 50/50, but much more than 20/80 or 30/70. I tried changing it in my stylesheet:
.ui-grid-x { overflow: hidden; } .ui-block-x, .ui-block-y { margin: 0; padding: 0; border: 0; float: left; min-height:1px;} .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 anyone know what I did wrong? How to resize blocks? Is this the right thing to do? Thanks in advance.
Kirinriki
source share