From 4d9ff3d556619a6579aae8c0f6ee9b2a7b23bea6 Mon Sep 17 00:00:00 2001 From: andi Date: Mon, 14 Feb 2005 21:48:37 +0100 Subject: visual feedback on search darcs-hash:20050214204837-9977f-6e6806a578341c8b94c5aca3121f2204fc153e8d.gz --- script.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'script.js') diff --git a/script.js b/script.js index db22d32b1..996652903 100644 --- a/script.js +++ b/script.js @@ -30,6 +30,29 @@ function escapeQuotes(text) { return text; } +/** + * Prints a animated gif to show the search is performed + * + * @author Andreas Gohr + */ +function showLoadBar(){ + if(document.getElementById){ + document.write(''); + } +} + +/** + * Disables the animated gif to show the search is done + * + * @author Andreas Gohr + */ +function hideLoadBar(){ + if(document.getElementById){ + document.getElementById('loading').style.display="none"; + } +} + /** * Checks if a summary was entered - if not the style is changed * -- cgit v1.2.3