summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-24 07:25:11 +0100
committerAndrew Dolgov <[email protected]>2007-08-24 07:25:11 +0100
commit19815594c882ca3f25b257dbdce76c74428d1e16 (patch)
tree9c0675d218c895f3e097d27d39fb52046a85f78b /feedlist.js
parentc4587ce39c76b5a31ea4a6449a14b70a0304356f (diff)
code cleanups, fade effect when changing feeds
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js18
1 files changed, 5 insertions, 13 deletions
diff --git a/feedlist.js b/feedlist.js
index 07f218b38..91c324484 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -122,11 +122,6 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
debug(query);
-/* var container = document.getElementById("headlines-frame");
-
- container.innerHTML = "<div class=\"loadingPrompt\"><img src=\"images/indicator_white.gif\">&nbsp;" +
- "Loading, please wait...</div>"; */
-
// for piggybacked counters
if (tagsAreDisplayed()) {
@@ -139,15 +134,12 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
notify_progress("Loading, please wait...", true);
}
-// xmlhttp.abort();
+ var container = document.getElementById("headlinesInnerContainer");
-/* if (xmlhttp_ready(xmlhttp)) {
- xmlhttp.open("GET", query, true);
- xmlhttp.onreadystatechange=headlines_callback;
- xmlhttp.send(null);
- } else {
- debug("xmlhttp busy (@feeds)");
- } */
+ if (container && page_offset == 0) {
+ new Effect.Fade(container, {duration: 1, to: 0.01,
+ queue: { position:'end', scope: 'FeED-' + feed, limit: 1 } } );
+ }
new Ajax.Request(query, {
asynchronous: page_offset == 0,