summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2006-03-02 15:09:49 +0100
committerAndreas Gohr <gohr@cosmocode.de>2006-03-02 15:09:49 +0100
commit9edac8a88163139d215ee39ec2c907478b9c9402 (patch)
tree4d621eee627f3a1b8503a63c900441914340bc54 /inc
parent604e4efa6ac936fef36f3676738fb630abb78982 (diff)
downloadrpg-9edac8a88163139d215ee39ec2c907478b9c9402.tar.gz
rpg-9edac8a88163139d215ee39ec2c907478b9c9402.tar.bz2
no more document.write for progressbar
darcs-hash:20060302140949-6e07b-d85f1e3f8989bd5fe8464f4f82ef8a14f8722eff.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/inc/html.php b/inc/html.php
index 2fc6bfe37..edfc5a2cb 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -332,11 +332,12 @@ function html_search(){
flush();
//show progressbar
- print '<div class="centeralign">';
+ print '<div class="centeralign" id="dw__loading">';
+ print '<br /></div>';
print '<script type="text/javascript" charset="utf-8">';
- print 'showLoadBar();';
+ print 'showLoadBar("dw__loading");';
print '</script>';
- print '<br /></div>';
+ flush();
//do quick pagesearch
$data = array();
@@ -379,8 +380,9 @@ function html_search(){
//hide progressbar
print '<script type="text/javascript" charset="utf-8">';
- print 'hideLoadBar();';
+ print 'hideLoadBar("dw__loading");';
print '</script>';
+ flush();
}
/**