omg
omg

Reputation: 139842

How to show progress bar with jQuery?

Just to tell the user that your request is being processed.

EDIT:

I've find myself an image.

alt text
(source: maishudi.com)

How to show it in the center of whole page?

Upvotes: 9

Views: 63669

Answers (4)

user1535967
user1535967

Reputation: 177

This tutorial might help you a lot. It will atleast tell you from where to start!

 http://www.youtube.com/watch?v=bYTRKfcG6Rg

Upvotes: -1

Natrium
Natrium

Reputation: 31174

http://plugins.jquery.com/project/jQueryProgressBar

$(document).ready(function() {
$("#pb1").progressBar();
$("#pb2").progressBar({ barImage: 'images/progressbg_yellow.gif'} );
$("#pb3").progressBar({ barImage: 'images/progressbg_orange.gif', showText: false} );
$("#pb4").progressBar(65, { showText: false, barImage: 'images/progressbg_red.gif'} );
$(".pb5").progressBar({ max: 2000, textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) { alert("Callback example: Target reached!"); } }} );
$("#uploadprogressbar").progressBar();
});

or

http://docs.jquery.com/UI/Progressbar

$("#progressbar").progressbar({ value: 37 });

Upvotes: 7

Kirtan
Kirtan

Reputation: 21695

You can use one from Tips for Twits. Here's a demo.

Upvotes: 3

Related Questions