Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

navbar disappears after service call

In my app the navbar is visible when screen opens.
once a service is called and populates the page the navbar disappears
I tried using the code below as js asset, it didnt work for me

I tried "data-tap-toggle=false" in footer properties and this approach works great in browser and as web app but not on iphone from xcode

is there a clever way around this
I want the navbar and footer to remain at the botton of the device screen after service populates the page

this is the code that didnt work

$(document).on('taphold', '[data-role=page]', function(){
$('[data-position=fixed]').fixedtoolbar('toggle');
});

thx

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

navbar disappears after service call

sorry

I forgot to mention if the page is opened the service runs, nav disappears etc, if I navigate to another page and return to the previous page now when the service executes a second time the navbar remains in place

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

navbar disappears after service call

Hello!

Could you clarify where did you add this code
pre$(document).on('taphold', '[data-role=page]', function(){
$('[data-position=fixed]').fixedtoolbar('toggle');
});/pre

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

navbar disappears after service call

as js asset Maryna, should it be on screnload?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

navbar disappears after service call

Please post your public app link and steps to reproduce.

Return to “Issues”