I made a jquery mobile page with multiple data-role=page divs to navigate within the page.
The problem is that I need to keep the same background picture that does not refresh or move when I navigate within the page.
Is there any way to do so?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You can remove the default background from the pseudo page elements and then add your custom background to the
bodyelement. This can be done with CSS:Here is a demo: http://jsfiddle.net/jasper/feZJ7/2/
This will apply the same background for all pages. You can just target the
.ui-mobile .ui-pageelements with CSS to change their backgrounds respectively.