Page 1 of 1

Update Mobile Panel

Posted: Fri Jan 25, 2013 12:56 pm
by Joe Bohen

Hi,

You answered my question on how to remove headers and footers which I am now able to do thank you, but I now have a black gap in the space where the headers and footers where! How do I get the container to re size to fill this gap?

I have tried:

Code: Select all

      var h = $( window ).height(); 

var w = $( window ).width();
$( "#mobilecontainer1" ).css( "height", h );
$( "#mobilecontainer1" ).css( "width", w );
$(".ui-page").triggerHandler('updatelayout');

without success.

Image


Update Mobile Panel

Posted: Fri Jan 25, 2013 1:28 pm
by Kateryna Grynko

Hello,
Try changing padding for Page component...
code$(".ui-page").css("padding-top", "0px")/code


Update Mobile Panel

Posted: Fri Jan 25, 2013 1:38 pm
by Joe Bohen

Hi Katya, thanks that has sorted it out.