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 9153561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:17:31+00:00 2026-06-17T12:17:31+00:00

I have an issue with Jquery mobile persistent navbar. I am developing a mobile

  • 0

I have an issue with Jquery mobile persistent navbar. I am developing a mobile app using phonegap to deploy on iOS and Android. I have a navbar to navigate from one page to another. (footer/navbar fixed).

Example on: http://jquerymobile.com/demos/1.2.0/docs/toolbars/footer-persist-a.html

The navigation works, the bar persists when rendered in a browser such as chrome or safari. But when I upload the app to the Android emulator or iOS emulator, clicking a link from the navbar makes the whole screen go white for a sec and then re-appears. (Kind of a flicker)

Can someone help with this?

Here’s my code for the footer: (a.html,b.html… are the name of my pages)

<div data-role="footer" data-id="foo1" data-position="fixed" data-tap-toggle="false">
    <div data-role="navbar">
        <ul>
            <li><a href="a.html" data-prefetch data-transition="slideup" class="ui-btn-active ui-state-persist" rel="external">Info</a></li>
            <li><a href="b.html" data-prefetch rel="external" >Friends</a></li>
            <li><a href="footer-persist-c.html" data-prefetch="true">Albums</a></li>
            <li><a href="footer-persist-d.html" data-prefetch="true">Emails</a></li>
        </ul>
    </div><!-- /navbar -->
</div><!-- /footer -->

Thank you !

  • 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-06-17T12:17:32+00:00Added an answer on June 17, 2026 at 12:17 pm

    I figured it out. It’s a combination of what you said and what I had.

    So to stop the Jquery mobile footer from flickering when you upload to Android or iOS, you need to set the following properties in your div:

    page1.html:

    <div data-position="fixed" data-tap-toggle="false" data-role="footer" data-id="f1">
        <a href="page1.html">Page 1 NAV</a>
        <a href="page2.html">Page 2 NAV</a>
    </div>
    

    page2.html

    <div data-position="fixed" data-tap-toggle="false" data-role="footer" data-id="f1">
        <a href="page1.html">Page 1 NAV</a>
        <a href="page2.html">Page 2 NAV</a>
    </div>
    

    The data-id=”f1″ has to match in both pages so that jquery mobile knows that this is the same footer that was on the previous page therefore it won’t render it again.

    Let me know if you need help with this.
    Regards,
    Tony

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

Sidebar

Related Questions

Setup: I am developing a PhoneGap/Cordova app for iOS and Android using jQuery Mobile.
i am developing an android phonegap app using phonegap 1.3 and jquery mobile 1.0
I'm writing a phonegap/jquery mobile app and have an issue I cant seem to
I'm developing a mobile app using Dreamweaver CS6 (with PhoneGap ), jQuery Mobile and
I am creating a Phonegap application for android using JQuery Mobile. I have a
I have created bottom fixed tabs using jquery mobile data-role=navbar inside a JQ footer.
I'm using jquery mobile and run into an issue with blackberry playbook. I have
I have built a mobile app using Rhomobile, jQuery Mobile and Google Maps API.
I have three single html pages in jquery mobile application with phonegap. From a
I am creating an app with Phonegap and JQuery Mobile and have a particular

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.