\n");
wprintf("
");
- who_inner_div(); /* Actual data handled by another function */
+ who_inner_div();
wprintf("
\n");
wprintf("
");
@@ -199,20 +189,21 @@ void who(void)
wprintf("
\n");
/* JavaScript to make the ajax refresh happen:
- * 1. Register the request 'getWholist' which calls the WebCit action 'who_inner_html'
- * 2. Register the 'fix_scrollbar_bug' div as one we're interested in ajaxifying
- * 3. setInterval to make the ajax refresh happen every 30 seconds. The random number
- * in the request is there to prevent the eternally moronic Internet Explorer from
- * caching the XML even though it's been told not to.
+ * * See http://www.sergiopereira.com/articles/prototype.js.html for info on Ajax.Updater
+ * * It wants: 1. The div being updated
+ * * 2. The URL of the update source
+ * * 3. Other flags (such as the HTTP method)
+ *
+ * * setInterval() makes it auto-run this code every 30,000 milliseconds (30 seconds)
+ *
+ * FIXME b0rken IE is still caching it
*/
wprintf(
- " \n"
+ " \n"
);
-
wDumpContent(1);
}