I am developing a cordova mobile app. In this app it is loading an a external page link. For example I am loading http://www.google.com.
After loading the page, I click on the links inside the page, but the links take some time to load. I want to show a progress on the time of loading.
I got some code from http://www.nacios.it/phonegap-progress-dialog-android/. But it shows an error in Java files.
Is there any other way to show a loading bar on webview?
Related
I'm trying to have a loading indicator while a pdf is being generated. I redirect to a php page page for the generation of the pdf and then the pdf is downloaded. The thing is, you never actually leave the original page. It simply downloads the file. Is there a way of telling when the page is done processing so I can have a loading indicator appear when it starts and disappear when it's done?
Try using jQuery FileUpload plugin: https://github.com/blueimp/jQuery-File-Upload/wiki
you'll get the equivalent of a promise.done() where you can hide the loading inidicator.
I have a web page which is loading more than 1000 images per page and these images are located on Amazon severs.
I have added jQuery plugins to this page which are local to the webserver, I am not using any remote JS or CSS.
When the page is loaded for the first time or refreshed the page looks distorted and images are overlapping each other. When the content is fully loaded or cached the page displays correctly.
Is there is a way to load the images in a way that will make the page look good during loading?
Display gif images while original image is loading.
Try
jQuery Image Loader
or
http://bradsknutson.com/blog/display-loading-image-while-page-loads/
Okay I am building a mobile application base off a web application with JQuery Mobile.
I have
<meta name="apple-mobile-web-app-capable" content="yes">
Set in the head tags of each page, in my navigation I am linking to a new page of /people.php for example and its busting out of the application that is on the homescreen that has no browser bars and opening up the browser to load that page. I want to load that page inside the application on the home screen. I am also going to have a few things like the login post to login_submit.php later and need them to stay in the application because the login_submit.php is going to bring them to the home.php page. I want everything to process in the application that is added to the home screen. How can I accomplish this?
I ended up figuring this out. I built the code below. I just have to restructure all the links and it will work.
Here is the HTML
Go
Here is the javascript I run on the top of everypage. It gets all of the web pages and keeps them inside the full screen mode. If their is a lot of content on the new page it may take half a second longer to load but get the job done.
function navigator_Go(url) {
window.location.assign(url); // This allows links to stay in full screen mode
}
I am using the nivoSlider image gallery on my website, however when the page loads the gallery doesn't appear straight away. And after a little while it loads
Using firebug I have identified it is an issue with including pure chat in my website. If I remove pure chat from my code it loads soon as the page starts. How can I make is so pure chat doesn't affect the load of the image gallery (without removing it from my page)?
With purechat
Without purechat
I have developed an App using PhoneGap and JqueryMobile.
I have many HTML Pages , navigation from One page to other page on click of the image is taking lot of time.And the end user have no clue what is happening at the back end.
I would like to show loading image until the page gets loaded.
I'm wondering how could I use Jquery to show a simple "Loading..." on the screen until page is loaded.
Please help me on this.
With jquerymobile you can do this with $.mobile.showPageLoadingMsg() resp. $.mobile.hidePageLoadingMsg() as described in the documentation.