Jquery Mobile Fixed Position(Transparent, during transition)
Hi I encounter a problem, Whenever I apply a fixed position to the footer, I get a transparent looking navbar, where it disappears, then reloads afterwards.
Attached is a screenshot of what I am referring to, also can someone kindly help me. I know it maybe something simple, but help me please, it is driving me crazy.
Here is my code:
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
-
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1">
- <title>jQuery Mobile Web App</title>
- <link rel="stylesheet" type="text/css" href="jquery-mobile/jquery.mobile-1.4.5.css">
- <script src="jquery-mobile/jquery-1.11.1.min.js"></script>
- <script src="jquery-mobile/jquery.mobile-1.4.5.min.js"></script>
- <link rel="stylesheet" type="text/css" href="my-styles.css">
- </head>
- <body>
-
- <div data-role="page" id="page" data-add-back-btn="true">
- <div data-role="header">
- <a href="http://www.facebook.com" data-icon="refresh" data-iconpos="notext">No Text</a>
- <h1>First App</h1>
- <!--<span class="ui-title"></span> To remove header but keep current Settings-->
- <a href="http://www.facebook.com" class ="ui-btn-right" data-icon="phone" data-iconpos="notext">Contact</a>
- </div>
- <div data-role="content" id="background">
- <ul data-role="listview" data-inset="true">
- <li>
- <a href="#Registration" data-transition="slide">
- <img src="image1.jpg" alt="image of cavetubing">My First App
- <p>Hello World</p>
- </a>
- </li>
-
- </ul>
-
- </div>
-
-
- <div data-role="footer" data-position="fixed" data-id="footernav">
-
- <div data-role="navbar">
-
- <ul>
- <li><a href="a.html" class="ui-btn-active">Home</a></li>
- <li><a href="b.html" >Maps</a></li>
- <li><a href="c.html" >Galleries</a></li>
- <li><a href="d.html" >Options</a></li>
- </ul>
- </div>
- </div>
- </div>
- <div data-role="page" id="Registration">
- <div data-role="header">
- <h1>Registration</h1>
- </div>
- <div data-role="content">
- <p>Here is the information for the content<p>
- </div>
- <div data-role="footer" data-position="fixed" data-id="footernav">
- <div data-role="navbar">
-
- <ul>
- <li><a href="a.html">Home</a></li>
- <li><a href="b.html">Maps</a></li>
- <li><a href="c.html">Galleries</a></li>
- <li><a href="d.html" class="ui-btn-active">Settings</a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
My custom css style:
/* CSS Document */
body {
background: url(123.jpg);
background-repeat:repeat-y;
background-position:center center;
background-attachment:scroll;
background-size:100% 100%;
}
.ui-page {
background: transparent;
}
.ui-content{
background: transparent;
}
}
------------------------------------
Even when I remove my css file, i still get the same problem
Thank You