hide load progress

This commit is contained in:
Andrew Dolgov 2006-03-20 15:45:55 +01:00
parent ad815c71ea
commit 2055d4a6dc
3 changed files with 25 additions and 0 deletions

View 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);
}

View 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;
}

View 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);