From: Art Cancro Date: Wed, 14 Apr 1999 21:58:04 +0000 (+0000) Subject: http://www.webreference.com/dhtml/column18/menuFrLoad.html X-Git-Tag: v7.86~7757 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=7db24ddae882acccc334dd89e697361a16982eb3;p=citadel.git 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. --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 5f45dd859..8142ee5b3 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,3 +1,9 @@ +Wed Apr 14 17:56:18 EDT 1999 Art Cancro + 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 * Implemented "access level required to create rooms" diff --git a/webcit/roomops.c b/webcit/roomops.c index 341167839..974559faf 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -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"); } diff --git a/webcit/static/braindamage b/webcit/static/braindamage index 302586f5a..e7698e83f 100644 --- a/webcit/static/braindamage +++ b/webcit/static/braindamage @@ -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.* diff --git a/webcit/webcit.c b/webcit/webcit.c index 5428f8c94..63e03dead 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -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"); diff --git a/webcit/webcit.h b/webcit/webcit.h index 3d99a11f0..38693e09e 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -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)