From 2b3bb17764b2c379fa5441b89c43a401d18d1228 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 4 Apr 2011 15:56:35 +0200 Subject: progress bar for downloads --- application/modules/fbgui/views/scripts/index/start.phtml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'application/modules') diff --git a/application/modules/fbgui/views/scripts/index/start.phtml b/application/modules/fbgui/views/scripts/index/start.phtml index c341e02..a59dd3e 100644 --- a/application/modules/fbgui/views/scripts/index/start.phtml +++ b/application/modules/fbgui/views/scripts/index/start.phtml @@ -85,6 +85,17 @@ window.setTimeout(rotate, 100); } window.setTimeout(rotate, 100); + + +function updateProgress(p, s, u){ + if (p >= 0 && p <= 100) + $("#progressbar").progressbar({ value: p }); + else + $("#progressbar").progressbar({ value: 0 }); +} + $(document).ready(function() { + $("#progressbar").progressbar({ value: 0 }); + }); @@ -99,3 +110,5 @@
back + +
-- cgit v1.2.3-55-g7522