debug(query);
+/* var container = document.getElementById("headlines-frame");
+
+ container.innerHTML = "<div class=\"loadingPrompt\"><img src=\"images/indicator_white.gif\"> " +
+ "Loading, please wait...</div>"; */
+
+ notify("Loading, please wait...", true);
+
if (xmlhttp_ready(xmlhttp)) {
xmlhttp.open("GET", query, true);
xmlhttp.onreadystatechange=headlines_callback;
debug("xmlhttp busy (@feeds)");
}
-
} catch (e) {
exception_error("viewfeed", e);
}
right : 35%;
min-width : 30%;
position : absolute;
- -moz-border-radius : 3px;
font-size : x-small;
font-weight : bold;
text-align : center;
+ display : none;
float : right;
padding : 3px 20px 3px 20px;
- display : none;
+ z-index : 999;
+ -moz-border-radius : 3px;
}
#dispSwitch {
display : none;
}
+div.loadingPrompt {
+ padding : 1em;
+ text-align : center;
+ font-weight : bold;
+}
+
/* layout */
#header {
<div id="overlay"><div id="overlay_inner">Loading, please wait...</div></div>
+<div id="notify" class="notify"><span id="notify_body"> </span></div>
+
<div id="fatal_error"><div id="fatal_error_inner">
<h1>Fatal Error</h1>
<div id="fatal_error_msg">Unknown Error</div>