jquery.html5loader
jquery.html5loader copied to clipboard
Percentage update
Hello,
I have let's say one image to preload, percentage goes 0 - 100, is it possible to have it goes like 0 - 37 - 52 - 84 - 100...
I hope you understand me :) Thanks
I did it something like this, just add an element in your preload div area and update it on the fly.
<div class="pg-loading-screen">
<p class="percent"></p>
</div>
$.html5Loader({
onUpdate: function ( percentage ) {
$('.pg-loading-screen .percent').html(percentage);
}
});