]> git.wh0rd.org - tt-rss.git/commitdiff
hide load progress
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 20 Mar 2006 14:45:55 +0000 (15:45 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 20 Mar 2006 14:45:55 +0000 (15:45 +0100)
feedlist.js
tt-rss.css
tt-rss.php

index 8f9898ac7e6725b0d4f783f4051d110e7734c35b..1be1020c66ef325c9082f7b0397b371953f33b70 100644 (file)
@@ -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);
        }
index ed320a0c20a48a5d5db3faebcd702a9256c69f1a..aefc66be34719b4f545723564fb221e806c2ff86 100644 (file)
@@ -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;
+}
index e22d8408ab3d289bf371e86f68bdf99ec8766444..68ab5268cec9c7c40f103c5245cb6d366794c343 100644 (file)
@@ -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);