I want to apply some custom styling to the jquery loading dialog but can’t find anything in the docs to do this.
Share
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.
When you can’t find any docs, where do you look? Source code.
I looked up
showPageLoadingMapat https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.init.js. The relevant portion is reproduced here:Here,
$htmlis just a reference to$('html'), and$loaderis defined earlier as this:So it looks like you can adjust the styles on these elements/classes appropriately. The css selectors might look like this: