http://www.webreference.com/dhtml/column18/menuFrLoad.html
authorArt Cancro <ajc@citadel.org>
Wed, 14 Apr 1999 21:58:04 +0000 (21:58 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 14 Apr 1999 21:58:04 +0000 (21:58 +0000)
        How to cause "onLoad=" to cause a sibling frame to refresh without
        having to use the nonportable HTTP "Window-Target:" directive.  Began
        implementation of this; it should allow portable NS/IE compatibility.

webcit/ChangeLog
webcit/roomops.c
webcit/static/braindamage
webcit/webcit.c
webcit/webcit.h

index 5f45dd859a7f8783af322c38d9440979ce70128f..8142ee5b33d5d742ba9d910bc3ea571bc6ca94ad 100644 (file)
@@ -1,3 +1,9 @@
+Wed Apr 14 17:56:18 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
+       http://www.webreference.com/dhtml/column18/menuFrLoad.html
+       How to cause "onLoad=" to cause a sibling frame to refresh without
+       having to use the nonportable HTTP "Window-Target:" directive.  Began
+       implementation of this; it should allow portable NS/IE compatibility.
+
 Wed Apr  7 21:51:33 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Implemented "access level required to create rooms"
 
index 3411678397690b498d9fd16e026274f1166aea2f..974559fafd17e339c3e7d7c1ab65d2fb3a3be0e6 100644 (file)
@@ -334,7 +334,7 @@ void gotoroom(char *gname, int display_name)
 
                /* automatically fire up a read-new-msgs in the bottom frame */
                if (!noframes)
-                       wprintf("onload=location=\"/readnew\" ");
+                       wprintf("onload=parent.frames.bottom.location=\"/readnew\" ");
 
                wprintf("BACKGROUND=\"/image&name=background\" TEXT=\"#000000\" LINK=\"#004400\">\n");
        }
index 302586f5ae8d4f0505284ee9a45e05fc21d5d189..e7698e83fbbc04b8a5e02d90c4effcac2568bf02 100644 (file)
@@ -23,7 +23,7 @@
 # Version 4 and 5 appear to be ok.
 NO     Mozilla*MSIE 1.*
 NO     Mozilla*MSIE 2.*
-NO     Mozilla*MSIE 3.*
+YES    Mozilla*MSIE 3.*
 YES    Mozilla*MSIE 4.*
 YES    Mozilla*MSIE 5.*
 
index 5428f8c948bc0af334e36d98d48ea1c75e9b6386..63e03dead367173d7fec37e41e9ab9d0b4d6b62d 100644 (file)
@@ -336,9 +336,9 @@ void output_headers(int print_standard_html_head, char *target)
        printf("Server: %s\n", SERVER);
        printf("Connection: close\n");
 
-       if ((strlen(target) > 0) && (noframes == 0)) {
+       /* if ((strlen(target) > 0) && (noframes == 0)) {
                printf("Window-target: %s\n", target);
-       }
+       } */
        if (print_standard_html_head > 0) {
                printf("Pragma: no-cache\n");
                printf("Cache-Control: no-store\n");
index 3d99a11f03603cd7ec319efd0e3c13612c18ab4c..38693e09e6878dd1c57b3f06cc2f6adda29dc6f2 100644 (file)
@@ -7,8 +7,8 @@
 #define DEVELOPER_ID   0
 #define CLIENT_ID      4
 #define CLIENT_VERSION 200
-#define DEFAULT_HOST   "localhost"
-#define DEFAULT_PORT   "citadel"
+#define DEFAULT_HOST   "uncnsrd.mt-kisco.ny.us"
+#define DEFAULT_PORT   "504"
 #define LB             (1)
 #define RB             (2)
 #define QU             (3)