diff options
author | Andrew Dolgov <[email protected]> | 2006-03-20 15:45:55 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-20 15:45:55 +0100 |
commit | 2055d4a6dcbfd7d0e791c37bd88db7100052fa3a (patch) | |
tree | 0913f31034690106fbf41cb40419203bdde8626d | |
parent | ad815c71ea70998c1fab0de1fd74e5507799cd60 (diff) |
hide load progress
-rw-r--r-- | feedlist.js | 7 | ||||
-rw-r--r-- | tt-rss.css | 16 | ||||
-rw-r--r-- | tt-rss.php | 2 |
3 files changed, 25 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js index 8f9898ac7..1be1020c6 100644 --- a/feedlist.js +++ b/feedlist.js @@ -227,6 +227,13 @@ function init() { hideOrShowFeeds(document, getCookie("ttrss_vf_hreadf") == 1); document.onkeydown = hotkey_handler; parent.setTimeout("timeout()", 0); + + var o = parent.document.getElementById("overlay"); + + if (o) { + o.style.display = "none"; + } + } catch (e) { exception_error("feedlist/init", e); } diff --git a/tt-rss.css b/tt-rss.css index ed320a0c2..aefc66be3 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1015,3 +1015,19 @@ div.cdmContent a:hover { padding : 0px; font-size : x-small; } + +#overlay { + background : white; + left : 0; + top : 0; + height : 100%; + width : 100%; + z-index : 100; + position : absolute; +} + +#overlay_inner { + font-weight : bold; + text-align : center; + margin : 10px; +} diff --git a/tt-rss.php b/tt-rss.php index e22d8408a..68ab5268c 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -59,6 +59,8 @@ <body> +<div id="overlay"><div id="overlay_inner">Loading, please wait...</div></div> + <script type="text/javascript"> if (document.addEventListener) { document.addEventListener("DOMContentLoaded", init, null); |