- From: ONIME EHIMIKA OHIREIME <onime@ictp.trieste.it>
- Date: Thu, 1 Jul 1999 07:31:50 +0200 (MET DST)
- To: Katherine Morrow <kmorrow@bellanet.org>
- cc: www4mail comments <www4mail-comments@w3.org>, ARIEDEL@cedelglobalservices.com
Dear ARIELDEL, I would like to thank you for the suggested modifications to the xbyjs script. From what I can see you are interested in having the browser display the output and then cut and paste to a mail window.. Actually the latest www4mail servers has a command for that: The XJSDUMP command. The XJSDUMP command will cause the browser to display what should have been sent by MAIL. You could try this option, I know it works with www4mail@wm.ictp.trieste.it server. Please let me know how it goes. Thanks Clement Onime On Wed, 30 Jun 1999, Katherine Morrow wrote: > > -----Original Message----- > From: ARIEDEL@cedelglobalservices.com <ARIEDEL@cedelglobalservices.com> > To: Messages to info@bellanet.org <bellanet-info-cl@lyris.bellanet.org> > Date: June 30, 1999 5:50 AM > Subject: Update of XBYJS .... > > > >Hello, > > > >Sitting behind a firewall, with no access to www, www4mail is a very > >valueable tool. > >Unfortunetaly I also have an old IE3 on NT4.0, so I need to do a lot of > >cutting and pasting if I want to select pages. > > > >To make this easier I would like to ask you if it is possible to add a few > >lines in the XBYJS script. > > > >Appended are the changes, in bold. (the check for IE3 should be expanded) > >Change consist of an extra display field in the end of the form, and > opening > >of the mail application without the subject line. > >It is then necessary to copy the text from the display field on the form, > to > >the body of the mail. > > > >Kind regards > > > >Asbjorn Riedel > > > > > ><HTML> > ><FORM METHOD = POST ENCTYPE = "text/plain" ACTION ="javascript:www4js()"> > > > ><SCRIPT Language="JavaScript"> > ><!-- > >function www4js() { > >//Remove this line===> var out > >="mailto:www4mail@web.bellanet.org?subject=XBYJS"; > > var out =""; > > var te = 0; > > var tmp = ""; > > for (i = 0; i < document.forms[0].elements.length; i++) { > > if (document.forms[0].elements[i].checked) > > > te = 1; > > } > > if (document.forms[0].elements[i].type == "hidden") > > > te = 1; > > } > > if (document.forms[0].elements[i].type == "password") { > > te = 1; > > } > > if (document.forms[0].elements[i].type == "select") { > > te = 1; > > } > > if (document.forms[0].elements[i].type == "submit") { > > te = 1; > > } > > if (document.forms[0].elements[i].type == "text") { > > te = 1; > > } > > if (document.forms[0].elements[i].type == "textarea") { > > te = 1; > > } > > if (document.forms[0].elements[i].name == "XBASE") { > > te = 1; > > } > > if (document.forms[0].elements[i].name == "xbase") { > > te = 1; > > } > > if (te > 0) { > > if (document.forms[0].elements[i].value > "") { > > tmp = document.forms[0].elements[i].name; > > tmp = tmp + "="; > > tmp = tmp + > >document.forms[0].elements[i].value; > > tmp = escape(tmp); > > if (out > "") { > > out = out + ";" + tmp; > > } else { > > out = tmp; > > } > > } > > te = 0; > > } > > } > > if (BrowserType=MSIE3.0) > > { > > document.forms[0].out.value = out; > > window.location="mailto:www4mail@web.bellanet.org"; > > } > > else > > { > > > >window.location="mailto:www4mail@web.bellanet.org?subject=XBYJS" + out; > > } > >} > >//--> > ></script> > > > >Here is normally the webpage..... > > > > > > > ><BR><CENTER><HR><TABLE BORDER=0 COLS = 1 WIDTH = "100%" BGCOLOR ="#FFFFFF" > >NOSAVE><TR><TD><FONT COLOR = "#000000"> Click here to <INPUT TYPE = submit > >NAME= XSCS value = "Get Selected Document(s)"> for LINKS only. Click <INPUT > >TYPE = reset value = " Undo "> to reset all selections.<BR> > ><INPUT TYPE = checkbox NAME = GETPS value = 1> Check this to get Postscript > >version of all selected WEB document(s). <BR> > ><INPUT TYPE = textbox NAME = GETSIZE SIZE = 6 MAXLENGTH = 6> Enter maximum > >size of reply(s) from WWW4MAIL in bytes only (307200 max). <BR> > ><INPUT TYPE = textbox NAME = GETPART SIZE = 10> Enter file part(s) to > >retrieve, (examples: 1, 2 6-10 ) [leave empty to get all parts].<BR> > ><INPUT TYPE = textbox NAME = OUT SIZE = 160> > > > > </FONT></TD></TR></TABLE><HR></CENTER></FORM> </HTML> > > > > > >Asbjorn Riedel > > > >Work: +352 4499 2 (2691) > > > >--- > >You are currently subscribed to bellanet-info-cl as: [kmorrow@bellanet.org] > >To unsubscribe, forward this message to > leave-bellanet-info-cl-985D@lyris.bellanet.org > > > > >
Received on Thursday, 1 July 1999 01:35:26 UTC