From bill.marriott at optusnet.com.au Mon Oct 1 06:57:17 2001 From: bill.marriott at optusnet.com.au (Bill Marriott) Date: Mon, 1 Oct 2001 21:57:17 +1000 Subject: [Javascript] DHTML and table cells References: <002101c145d5$a40ab400$6b00a8c0@laubox> Message-ID: <001001c14a70$3b366e20$28b48ec6@toshiba> Hi Everyone, I want to design a form (ie 5.5) ( for maintaining parent / children records) that includes a select element and text element in one row of a table. When the user completes the row I want DHTML to create another row, the same as the first for the next child record. The code below works the first time but the second time it appends 2 records and the third it appends 3 and so on. Actually I don't know why the code works at all because .getElementById should reference the table and not the row. Any help would be appreciated. Bill ****************************************** JAVASCRIPT var tableElement = document.getElementById("row"); var lastRow = tableElement.lastChild; var newRow = tableElement.cloneNode(lastRow tableElement.appendChild(newRow); HTML
Crop Year Yield

From phumes1 at home.com Mon Oct 1 07:08:54 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Mon, 01 Oct 2001 08:08:54 -0400 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu Message-ID: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> Hi, I'm using ColdFusion to create a directory listing of files on my server. Every file displayed has a wrapped around it which loads the popup javascript menu that has "Info", "edit" command. I want to pass the filename into the javascript so it will redirect the appropriate file to another template. How can I do this with js? From mallard at mallard-design.com Mon Oct 1 07:57:48 2001 From: mallard at mallard-design.com (Tom Mallard) Date: Mon, 1 Oct 2001 05:57:48 -0700 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu References: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> Message-ID: <000201c14a7a$6dbdb7e0$568f27d8@mallard> Server side... This allows you to process the filename from the link clicked in a js function. tom mallard seattle ----- Original Message ----- From: To: Sent: Monday, October 01, 2001 5:08 AM Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu > > Hi, > > I'm using ColdFusion to create a directory listing of files on my server. > Every file displayed has a wrapped around it which loads the popup > javascript menu that has "Info", "edit" command. I want to pass the > filename into the javascript so it will redirect the appropriate file to > another template. > > How can I do this with js? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From phumes1 at home.com Mon Oct 1 08:07:39 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Mon, 01 Oct 2001 09:07:39 -0400 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu In-Reply-To: <000201c14a7a$6dbdb7e0$568f27d8@mallard> References: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011001090220.009ee620@mail.wlfdle1.on.wave.home.com> So, I would just add it in as so. If the filename happened to me "test.dat" I would need that filename sent to a template called "fileinfo.cfm" Not so much the contents of the file but just the filename so I can retrieve information regarding the file like name, size, date last modified etc. At 05:57 AM 10/1/01 -0700, you wrote: >Server side... > >filename> > >This allows you to process the filename from the link clicked in a js >function. > >tom mallard >seattle >----- Original Message ----- >From: >To: >Sent: Monday, October 01, 2001 5:08 AM >Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > Hi, > > > > I'm using ColdFusion to create a directory listing of files on my server. > > Every file displayed has a wrapped around it which loads the >popup > > javascript menu that has "Info", "edit" command. I want to pass the > > filename into the javascript so it will redirect the appropriate file to > > another template. > > > > How can I do this with js? > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From mallard at mallard-design.com Mon Oct 1 08:59:39 2001 From: mallard at mallard-design.com (Tom Mallard) Date: Mon, 1 Oct 2001 06:59:39 -0700 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu References: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> <5.1.0.14.0.20011001090220.009ee620@mail.wlfdle1.on.wave.home.com> Message-ID: <003101c14a81$512e25e0$568f27d8@mallard> Looks good, and in the function called openFile() submit a form value to fileinfo.cfm from the popup page, not the main window. Then after you have the info on the server, you would redirect to the file they want to see. tom ----- Original Message ----- From: To: Sent: Monday, October 01, 2001 6:07 AM Subject: Re: [Javascript] Re: Passing CF variables to Javascript hiermenu > > So, I would just add it in as so. > > > onMouseOver="popUp('HM_Menu3',event)" onMouseOut="popDown('HM_Menu3')" > class="dirlinks" alt="#name#"> > > If the filename happened to me "test.dat" I would need that filename sent > to a template called "fileinfo.cfm" > > Not so much the contents of the file but just the filename so I can > retrieve information regarding the file like name, size, date last modified > etc. > > > > At 05:57 AM 10/1/01 -0700, you wrote: > >Server side... > > > > >filename> > > > >This allows you to process the filename from the link clicked in a js > >function. > > > >tom mallard > >seattle > >----- Original Message ----- > >From: > >To: > >Sent: Monday, October 01, 2001 5:08 AM > >Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > > > > > Hi, > > > > > > I'm using ColdFusion to create a directory listing of files on my server. > > > Every file displayed has a wrapped around it which loads the > >popup > > > javascript menu that has "Info", "edit" command. I want to pass the > > > filename into the javascript so it will redirect the appropriate file to > > > another template. > > > > > > How can I do this with js? > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >http://www.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From phumes1 at home.com Mon Oct 1 09:01:23 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Mon, 01 Oct 2001 10:01:23 -0400 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu In-Reply-To: <003101c14a81$512e25e0$568f27d8@mallard> References: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> <5.1.0.14.0.20011001090220.009ee620@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011001095839.009edcf0@mail.wlfdle1.on.wave.home.com> Like so? If so, the filename doesn't get passed to the fileinfo.cfm template from the JS menu? See below links for examples. http://members.home.com/phumes1/screen1.gif http://members.home.com/phumes1/screen2.gif http://members.home.com/phumes1/screen3.gif At 06:59 AM 10/1/01 -0700, you wrote: >Looks good, and in the function called openFile() submit a form value to >fileinfo.cfm from the popup page, not the main window. Then after you have >the info on the server, you would redirect to the file they want to see. > >tom >----- Original Message ----- >From: >To: >Sent: Monday, October 01, 2001 6:07 AM >Subject: Re: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > So, I would just add it in as so. > > > > > > > onMouseOver="popUp('HM_Menu3',event)" onMouseOut="popDown('HM_Menu3')" > > class="dirlinks" alt="#name#"> > > > > If the filename happened to me "test.dat" I would need that filename sent > > to a template called "fileinfo.cfm" > > > > Not so much the contents of the file but just the filename so I can > > retrieve information regarding the file like name, size, date last >modified > > etc. > > > > > > > > At 05:57 AM 10/1/01 -0700, you wrote: > > >Server side... > > > > > > > >filename> > > > > > >This allows you to process the filename from the link clicked in a js > > >function. > > > > > >tom mallard > > >seattle > > >----- Original Message ----- > > >From: > > >To: > > >Sent: Monday, October 01, 2001 5:08 AM > > >Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > > > > > > > > > Hi, > > > > > > > > I'm using ColdFusion to create a directory listing of files on my >server. > > > > Every file displayed has a wrapped around it which loads the > > >popup > > > > javascript menu that has "Info", "edit" command. I want to pass the > > > > filename into the javascript so it will redirect the appropriate file >to > > > > another template. > > > > > > > > How can I do this with js? > > > > > > > > _______________________________________________ > > > > Javascript mailing list > > > > Javascript at LaTech.edu > > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > >_______________________________________________ > > >Javascript mailing list > > >Javascript at LaTech.edu > > >http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From reubendb at goshen.edu Mon Oct 1 10:02:38 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Mon, 1 Oct 2001 10:02:38 -0500 Subject: [Javascript] Scroll Multiple Selection to Selected Message-ID: Hi, Let say I have a multiple selection box, with size 6, and I have 20 selection option in it. If I have some of the option is SELECTED, how can I arrange so that the box scroll down and display at least the first selected value? Thanks in advance for any replies. Reuben D. Budiardja From phumes1 at home.com Mon Oct 1 12:31:24 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Mon, 01 Oct 2001 13:31:24 -0400 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu In-Reply-To: <003101c14a81$512e25e0$568f27d8@mallard> References: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> <5.1.0.14.0.20011001090220.009ee620@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011001133102.009ed3e0@mail.wlfdle1.on.wave.home.com> At 06:59 AM 10/1/01 -0700, you wrote: >Looks good, and in the function called openFile() submit a form value to >fileinfo.cfm from the popup page, not the main window. How do I submit a form value within the ? >Then after you have >the info on the server, you would redirect to the file they want to see. > >tom >----- Original Message ----- >From: >To: >Sent: Monday, October 01, 2001 6:07 AM >Subject: Re: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > So, I would just add it in as so. > > > > > > > onMouseOver="popUp('HM_Menu3',event)" onMouseOut="popDown('HM_Menu3')" > > class="dirlinks" alt="#name#"> > > > > If the filename happened to me "test.dat" I would need that filename sent > > to a template called "fileinfo.cfm" > > > > Not so much the contents of the file but just the filename so I can > > retrieve information regarding the file like name, size, date last >modified > > etc. > > > > > > > > At 05:57 AM 10/1/01 -0700, you wrote: > > >Server side... > > > > > > > >filename> > > > > > >This allows you to process the filename from the link clicked in a js > > >function. > > > > > >tom mallard > > >seattle > > >----- Original Message ----- > > >From: > > >To: > > >Sent: Monday, October 01, 2001 5:08 AM > > >Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > > > > > > > > > Hi, > > > > > > > > I'm using ColdFusion to create a directory listing of files on my >server. > > > > Every file displayed has a wrapped around it which loads the > > >popup > > > > javascript menu that has "Info", "edit" command. I want to pass the > > > > filename into the javascript so it will redirect the appropriate file >to > > > > another template. > > > > > > > > How can I do this with js? > > > > > > > > _______________________________________________ > > > > Javascript mailing list > > > > Javascript at LaTech.edu > > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > >_______________________________________________ > > >Javascript mailing list > > >Javascript at LaTech.edu > > >http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From phumes1 at home.com Mon Oct 1 13:34:57 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Mon, 01 Oct 2001 14:34:57 -0400 Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu In-Reply-To: <003101c14a81$512e25e0$568f27d8@mallard> References: <5.1.0.14.0.20011001080618.009e90d0@mail.wlfdle1.on.wave.home.com> <5.1.0.14.0.20011001090220.009ee620@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011001143429.009e9470@mail.wlfdle1.on.wave.home.com> I can't get this to work? What the h... am I doing wrong? At 06:59 AM 10/1/01 -0700, you wrote: >Looks good, and in the function called openFile() submit a form value to >fileinfo.cfm from the popup page, not the main window. Then after you have >the info on the server, you would redirect to the file they want to see. > >tom >----- Original Message ----- >From: >To: >Sent: Monday, October 01, 2001 6:07 AM >Subject: Re: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > So, I would just add it in as so. > > > > > > > onMouseOver="popUp('HM_Menu3',event)" onMouseOut="popDown('HM_Menu3')" > > class="dirlinks" alt="#name#"> > > > > If the filename happened to me "test.dat" I would need that filename sent > > to a template called "fileinfo.cfm" > > > > Not so much the contents of the file but just the filename so I can > > retrieve information regarding the file like name, size, date last >modified > > etc. > > > > > > > > At 05:57 AM 10/1/01 -0700, you wrote: > > >Server side... > > > > > > > >filename> > > > > > >This allows you to process the filename from the link clicked in a js > > >function. > > > > > >tom mallard > > >seattle > > >----- Original Message ----- > > >From: > > >To: > > >Sent: Monday, October 01, 2001 5:08 AM > > >Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu > > > > > > > > > > > > > > Hi, > > > > > > > > I'm using ColdFusion to create a directory listing of files on my >server. > > > > Every file displayed has a wrapped around it which loads the > > >popup > > > > javascript menu that has "Info", "edit" command. I want to pass the > > > > filename into the javascript so it will redirect the appropriate file >to > > > > another template. > > > > > > > > How can I do this with js? > > > > > > > > _______________________________________________ > > > > Javascript mailing list > > > > Javascript at LaTech.edu > > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > >_______________________________________________ > > >Javascript mailing list > > >Javascript at LaTech.edu > > >http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From Justice at HireSuccess.com Mon Oct 1 14:25:36 2001 From: Justice at HireSuccess.com (Jane Justice) Date: Mon, 1 Oct 2001 14:25:36 -0500 Subject: [Javascript] Saving HTML Form Result to a Local File Message-ID: Greetings: I am a newbie with Javascript and have been researching ways to save html form results to a local file on submit. I've seen that FrontPage 2000 enables this, but FP extensions are required in order for this to work. We can't use Perl, and were hoping to be able to accomplish this using just the client side. However, my research has so far proven fruitless. I thought there must be some way to accomplish this with Javascript, but I haven't been able to find it. Can anyone point me in the right direction? Or is it simply not possible to program this without some server side transaction? Thanks kindly, Jane Justice VP Business Innovations Hire Success, Inc. www.hiresuccess.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1920 bytes Desc: not available URL: From peter at brunone.com Mon Oct 1 14:40:51 2001 From: peter at brunone.com (Peter Brunone) Date: Mon, 1 Oct 2001 14:40:51 -0500 Subject: [Javascript] Saving HTML Form Result to a Local File References: Message-ID: <01a601c14ab0$fa326230$e22d200a@PMBRUNON> Jane, Client-side Javascript will not be allowed to access the user's local file system. If however you can guarantee an IE user base, you might be able to manipulate the FileSystemObject through VBScript (or possibly JScript). Can you elaborate more on the intended sequence of events? Cheers, Peter ----- Original Message ----- From: "Jane Justice" To: Sent: Monday, October 01, 2001 2:25 PM Subject: [Javascript] Saving HTML Form Result to a Local File | Greetings: | | I am a newbie with Javascript and have been researching ways to save html | form results to a local file on submit. I've seen that FrontPage 2000 | enables this, but FP extensions are required in order for this to work. We | can't use Perl, and were hoping to be able to accomplish this using just the | client side. However, my research has so far proven fruitless. I thought | there must be some way to accomplish this with Javascript, but I haven't | been able to find it. Can anyone point me in the right direction? Or is it | simply not possible to program this without some server side transaction? | | Thanks kindly, | Jane Justice | VP Business Innovations | Hire Success, Inc. | www.hiresuccess.com | From Justice at HireSuccess.com Mon Oct 1 14:57:22 2001 From: Justice at HireSuccess.com (Jane Justice) Date: Mon, 1 Oct 2001 14:57:22 -0500 Subject: [Javascript] Saving HTML Form Result to a Local File In-Reply-To: <01a601c14ab0$fa326230$e22d200a@PMBRUNON> Message-ID: Peter: We are dynamically generating an html form with software installed on the user's machine. When an end user finishes with input and clicks on the submit button, we need to save the form results in a text file on their local drive where it can be further evaluated by the software. We are trying to stay cross-platform with our code, but if restricting to IE is the only way to accomplish what we want to do, we might have to bite that bullet. Your thoughts? Thanks, Jane -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter Brunone Sent: Monday, October 01, 2001 2:41 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Saving HTML Form Result to a Local File Jane, Client-side Javascript will not be allowed to access the user's local file system. If however you can guarantee an IE user base, you might be able to manipulate the FileSystemObject through VBScript (or possibly JScript). Can you elaborate more on the intended sequence of events? Cheers, Peter ----- Original Message ----- From: "Jane Justice" To: Sent: Monday, October 01, 2001 2:25 PM Subject: [Javascript] Saving HTML Form Result to a Local File | Greetings: | | I am a newbie with Javascript and have been researching ways to save html | form results to a local file on submit. I've seen that FrontPage 2000 | enables this, but FP extensions are required in order for this to work. We | can't use Perl, and were hoping to be able to accomplish this using just the | client side. However, my research has so far proven fruitless. I thought | there must be some way to accomplish this with Javascript, but I haven't | been able to find it. Can anyone point me in the right direction? Or is it | simply not possible to program this without some server side transaction? | | Thanks kindly, | Jane Justice | VP Business Innovations | Hire Success, Inc. | www.hiresuccess.com | _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Mon Oct 1 15:23:53 2001 From: ben at babelfish.co.uk (ben) Date: Mon, 1 Oct 2001 21:23:53 +0100 Subject: [Javascript] Saving HTML Form Result to a Local File In-Reply-To: Message-ID: Providing you have write permission to the disk and the browser config is correct I don't see why you couldn't use some ActiveX, the Scripting.FileSystemObject is what you're after. Full documentation available at http://msdn.microsoft.com/scripting/ good luck! .b > -----Original Message----- > From: javascript-admin at LaTech.edu > [mailto:javascript-admin at LaTech.edu] > Sent: 01 October 2001 20:26 > To: javascript at LaTech.edu > Subject: [Javascript] Saving HTML Form Result to a Local File > > Greetings: > > I am a newbie with Javascript and have been researching ways to save html > form results to a local file on submit. I've seen that FrontPage 2000 > enables this, but FP extensions are required in order for this to work. > We can't use Perl, and were hoping to be able to accomplish this using > just the client side. However, my research has so far proven fruitless. > I thought there must be some way to accomplish this with Javascript, but I > haven't been able to find it. Can anyone point me in the right direction? > Or is it simply not possible to program this without some server side > transaction? > > Thanks kindly, > Jane Justice > VP Business Innovations > Hire Success, Inc. > www.hiresuccess.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2480 bytes Desc: not available URL: From Justice at HireSuccess.com Mon Oct 1 15:28:37 2001 From: Justice at HireSuccess.com (Jane Justice) Date: Mon, 1 Oct 2001 15:28:37 -0500 Subject: [Javascript] Saving HTML Form Result to a Local File In-Reply-To: <01a601c14ab0$fa326230$e22d200a@PMBRUNON> Message-ID: As a follow-up thought... would it be possible to jimmy-rig solution with javascript by printing the results to the screen and then automating the file, save as process? -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter Brunone Sent: Monday, October 01, 2001 2:41 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Saving HTML Form Result to a Local File Jane, Client-side Javascript will not be allowed to access the user's local file system. If however you can guarantee an IE user base, you might be able to manipulate the FileSystemObject through VBScript (or possibly JScript). Can you elaborate more on the intended sequence of events? Cheers, Peter ----- Original Message ----- From: "Jane Justice" To: Sent: Monday, October 01, 2001 2:25 PM Subject: [Javascript] Saving HTML Form Result to a Local File | Greetings: | | I am a newbie with Javascript and have been researching ways to save html | form results to a local file on submit. I've seen that FrontPage 2000 | enables this, but FP extensions are required in order for this to work. We | can't use Perl, and were hoping to be able to accomplish this using just the | client side. However, my research has so far proven fruitless. I thought | there must be some way to accomplish this with Javascript, but I haven't | been able to find it. Can anyone point me in the right direction? Or is it | simply not possible to program this without some server side transaction? | | Thanks kindly, | Jane Justice | VP Business Innovations | Hire Success, Inc. | www.hiresuccess.com | _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From peter at brunone.com Mon Oct 1 15:52:24 2001 From: peter at brunone.com (Peter Brunone) Date: Mon, 1 Oct 2001 15:52:24 -0500 Subject: [Javascript] Saving HTML Form Result to a Local File References: Message-ID: <02bd01c14aba$f96876f0$e22d200a@PMBRUNON> My first thought: This sounds like it may fall outside the realm of Javascript, and henceforth, beyond the reach of this list. What exactly is this software that's generating an HTML form, and why would a standalone app need to do that (instead of presenting a premade form with dynamic content that changes according to user input)? Can you tell us more about the tools used to develop this application? -Peter ----- Original Message ----- From: "Jane Justice" To: Sent: Monday, October 01, 2001 2:57 PM Subject: RE: [Javascript] Saving HTML Form Result to a Local File | Peter: | | We are dynamically generating an html form with software installed on the | user's machine. When an end user finishes with input and clicks on the | submit button, we need to save the form results in a text file on their | local drive where it can be further evaluated by the software. We are | trying to stay cross-platform with our code, but if restricting to IE is the | only way to accomplish what we want to do, we might have to bite that | bullet. | | Your thoughts? | | Thanks, | Jane | | -----Original Message----- | From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On | Behalf Of Peter Brunone | Sent: Monday, October 01, 2001 2:41 PM | To: javascript at LaTech.edu | Subject: Re: [Javascript] Saving HTML Form Result to a Local File | | Jane, | | Client-side Javascript will not be allowed to access the user's local | file system. If however you can guarantee an IE user base, you might be | able to manipulate the FileSystemObject through VBScript (or possibly | JScript). Can you elaborate more on the intended sequence of events? | | Cheers, | | Peter | | ----- Original Message ----- | From: "Jane Justice" | To: | Sent: Monday, October 01, 2001 2:25 PM | Subject: [Javascript] Saving HTML Form Result to a Local File | | | Greetings: | | | | I am a newbie with Javascript and have been researching ways to save html | | form results to a local file on submit. I've seen that FrontPage 2000 | | enables this, but FP extensions are required in order for this to work. | We | | can't use Perl, and were hoping to be able to accomplish this using just | the | | client side. However, my research has so far proven fruitless. I | thought | | there must be some way to accomplish this with Javascript, but I haven't | | been able to find it. Can anyone point me in the right direction? Or is | it | | simply not possible to program this without some server side transaction? | | | | Thanks kindly, | | Jane Justice | | VP Business Innovations | | Hire Success, Inc. | | www.hiresuccess.com From Justice at HireSuccess.com Mon Oct 1 16:11:48 2001 From: Justice at HireSuccess.com (Jane Justice) Date: Mon, 1 Oct 2001 16:11:48 -0500 Subject: [Javascript] Saving HTML Form Result to a Local File In-Reply-To: <02bd01c14aba$f96876f0$e22d200a@PMBRUNON> Message-ID: It's a medical diagnostics application that is asking appropriate questions of patients, and will parse their answers in the text file to generate pertinent information. A stand alone app will not risk compromising patient information security. -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter Brunone Sent: Monday, October 01, 2001 3:52 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Saving HTML Form Result to a Local File My first thought: This sounds like it may fall outside the realm of Javascript, and henceforth, beyond the reach of this list. What exactly is this software that's generating an HTML form, and why would a standalone app need to do that (instead of presenting a premade form with dynamic content that changes according to user input)? Can you tell us more about the tools used to develop this application? -Peter ----- Original Message ----- From: "Jane Justice" To: Sent: Monday, October 01, 2001 2:57 PM Subject: RE: [Javascript] Saving HTML Form Result to a Local File | Peter: | | We are dynamically generating an html form with software installed on the | user's machine. When an end user finishes with input and clicks on the | submit button, we need to save the form results in a text file on their | local drive where it can be further evaluated by the software. We are | trying to stay cross-platform with our code, but if restricting to IE is the | only way to accomplish what we want to do, we might have to bite that | bullet. | | Your thoughts? | | Thanks, | Jane | | -----Original Message----- | From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On | Behalf Of Peter Brunone | Sent: Monday, October 01, 2001 2:41 PM | To: javascript at LaTech.edu | Subject: Re: [Javascript] Saving HTML Form Result to a Local File | | Jane, | | Client-side Javascript will not be allowed to access the user's local | file system. If however you can guarantee an IE user base, you might be | able to manipulate the FileSystemObject through VBScript (or possibly | JScript). Can you elaborate more on the intended sequence of events? | | Cheers, | | Peter | | ----- Original Message ----- | From: "Jane Justice" | To: | Sent: Monday, October 01, 2001 2:25 PM | Subject: [Javascript] Saving HTML Form Result to a Local File | | | Greetings: | | | | I am a newbie with Javascript and have been researching ways to save html | | form results to a local file on submit. I've seen that FrontPage 2000 | | enables this, but FP extensions are required in order for this to work. | We | | can't use Perl, and were hoping to be able to accomplish this using just | the | | client side. However, my research has so far proven fruitless. I | thought | | there must be some way to accomplish this with Javascript, but I haven't | | been able to find it. Can anyone point me in the right direction? Or is | it | | simply not possible to program this without some server side transaction? | | | | Thanks kindly, | | Jane Justice | | VP Business Innovations | | Hire Success, Inc. | | www.hiresuccess.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From gassinaumasis at hotmail.com Tue Oct 2 02:34:13 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Tue, 02 Oct 2001 07:34:13 +0000 Subject: [Javascript] DHTML and table cells Message-ID: >Actually I don't know why the code works at all because .getElementById >should reference the table and not the row. Then put the ID="row" in the TABLE tag, not in the TR tag. >Any help would be appreciated. > >Bill >****************************************** >JAVASCRIPT >var tableElement = document.getElementById("row"); >var lastRow = tableElement.lastChild; >var newRow = tableElement.cloneNode(lastRow var newRow= lastRow.cloneNode(true); >tableElement.appendChild(newRow); For this kind of syntax stuff, see http://www.xs4all.nl/~ppk/js/index.html?version5.html ppk _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From mferon at adeuza.fr Tue Oct 2 04:32:46 2001 From: mferon at adeuza.fr (Matthieu =?iso-8859-1?Q?F=E9ron?=) Date: Tue, 02 Oct 2001 11:32:46 +0200 Subject: [Javascript] Old question ;-) Message-ID: <3BB989BE.E4F1563E@adeuza.fr> Hello all, it's been a long time I didn't work with Javascript and ask this list so my question would perhaps be newbie's like. I'm trying to prevent the resize bug with netscape and layers and I don't manage to remember the trick. So I would be glad to be pointed to the solution. thanks From mallard at mallard-design.com Tue Oct 2 08:06:07 2001 From: mallard at mallard-design.com (Tom Mallard) Date: Tue, 2 Oct 2001 06:06:07 -0700 Subject: [Javascript] Saving HTML Form Result to a Local File References: Message-ID: <006801c14b43$00e6c3e0$138f27d8@mallard> What's secure about the user's filesystem? Seems to me using that to hold the patient info leaves it open to anyone with access to the machine. It'd be more secure to encrypt the data and save it to a cookie, then only the browser can have access to it, you can check for who's logged into the machine...lots of better ways to protect the data. tom mallard seattle ----- Original Message ----- From: "Jane Justice" To: Sent: Monday, October 01, 2001 2:11 PM Subject: RE: [Javascript] Saving HTML Form Result to a Local File > It's a medical diagnostics application that is asking appropriate questions > of patients, and will parse their answers in the text file to generate > pertinent information. A stand alone app will not risk compromising patient > information security. > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of Peter Brunone > Sent: Monday, October 01, 2001 3:52 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Saving HTML Form Result to a Local File > > > My first thought: > > This sounds like it may fall outside the realm of Javascript, and > henceforth, beyond the reach of this list. What exactly is this software > that's generating an HTML form, and why would a standalone app need to do > that (instead of presenting a premade form with dynamic content that changes > according to user input)? Can you tell us more about the tools used to > develop this application? > > -Peter > > ----- Original Message ----- > From: "Jane Justice" > To: > Sent: Monday, October 01, 2001 2:57 PM > Subject: RE: [Javascript] Saving HTML Form Result to a Local File > > > | Peter: > | > | We are dynamically generating an html form with software installed on the > | user's machine. When an end user finishes with input and clicks on the > | submit button, we need to save the form results in a text file on their > | local drive where it can be further evaluated by the software. We are > | trying to stay cross-platform with our code, but if restricting to IE is > the > | only way to accomplish what we want to do, we might have to bite that > | bullet. > | > | Your thoughts? > | > | Thanks, > | Jane > | > | -----Original Message----- > | From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > | Behalf Of Peter Brunone > | Sent: Monday, October 01, 2001 2:41 PM > | To: javascript at LaTech.edu > | Subject: Re: [Javascript] Saving HTML Form Result to a Local File > | > | Jane, > | > | Client-side Javascript will not be allowed to access the user's local > | file system. If however you can guarantee an IE user base, you might be > | able to manipulate the FileSystemObject through VBScript (or possibly > | JScript). Can you elaborate more on the intended sequence of events? > | > | Cheers, > | > | Peter > | > | ----- Original Message ----- > | From: "Jane Justice" > | To: > | Sent: Monday, October 01, 2001 2:25 PM > | Subject: [Javascript] Saving HTML Form Result to a Local File > | > | | Greetings: > | | > | | I am a newbie with Javascript and have been researching ways to save > html > | | form results to a local file on submit. I've seen that FrontPage 2000 > | | enables this, but FP extensions are required in order for this to work. > | We > | | can't use Perl, and were hoping to be able to accomplish this using just > | the > | | client side. However, my research has so far proven fruitless. I > | thought > | | there must be some way to accomplish this with Javascript, but I haven't > | | been able to find it. Can anyone point me in the right direction? Or > is > | it > | | simply not possible to program this without some server side > transaction? > | | > | | Thanks kindly, > | | Jane Justice > | | VP Business Innovations > | | Hire Success, Inc. > | | www.hiresuccess.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From phumes1 at home.com Tue Oct 2 09:41:00 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Tue, 02 Oct 2001 10:41:00 -0400 Subject: [Javascript] Re: CF Javascript help required! Message-ID: <5.1.0.14.0.20011002103932.009f0730@mail.wlfdle1.on.wave.home.com> This is just a followup on numerous emails I've sent in the past. I need some help. The link below is my sample code with all the javascript files necessary for the heirmenu popup. http://members.home.com/phumes1/sample.zip You will have to change the destination path in the tag. I'm listing the files on my server which are have .... On the these is the javascript code which loads a popup menu. I then want to select "File" -> "Info" and have that filename (from the that was clicked) to be redirected and just the filename to be dumped (NOT the contents) to the fileinfo.cfm template. I'm really stuck, or really dumb. Any help would be greatly appreciated. From reubendb at goshen.edu Tue Oct 2 15:07:06 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Tue, 2 Oct 2001 15:07:06 -0500 Subject: [Javascript] Accessing Form properties in layer Message-ID: Hi all, I have a page that have layer (using
). I have 2 layers, and in each layer I have a form. How do I access the form properties? something like document.forms['form_name'] or document.forms[0] gives me undefined. Please help. Thanks in advance. Reuben D. Budiardja From mferon at adeuza.fr Wed Oct 3 01:26:05 2001 From: mferon at adeuza.fr (Matthieu =?iso-8859-1?Q?F=E9ron?=) Date: Wed, 03 Oct 2001 08:26:05 +0200 Subject: [Javascript] Accessing Form properties in layer References: Message-ID: <3BBAAF7D.5DFDEC4F@adeuza.fr> of course it is. you forget the layer: Netscape document.layer['layername'].document.forms[0] IE document.all['layername'].forms[0] Reuben D Budiardja a ?crit : > > Hi all, > I have a page that have layer (using
). I have 2 layers, and in each > layer I have a form. > > How do I access the form properties? something like > document.forms['form_name'] > or > document.forms[0] > > gives me undefined. > > Please help. > Thanks in advance. > Reuben D. Budiardja > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript From geekay at mail.ru Wed Oct 3 03:51:59 2001 From: geekay at mail.ru (Ganga K) Date: Wed, 3 Oct 2001 14:21:59 +0530 Subject: [Javascript] Javascript problem Message-ID: <025301c14be8$ac1c0d60$480a0a0a@KARTHIK> Hi all The problem that i encounter is really strange or rather i havent encountered it till now. I have 2 input fields. subject and message
In a javascript function when i give document.formname. I dont see subject listed in the list box where as i see message listed. If i remove value = "<%=subject%>" then i can see it listed. Does this happen usually? I have never encountered this problem. I use this value tag b'coz i use the same form when subject already has a value and also when a user tries to enter a new thread. I use visual interdev so i can see the objects of a form using HTML View. If yes please suggest me a way to use both the value tag as well as to use them to do validations using javascript Rgds Ganga From pj at howdystranger.com Wed Oct 3 08:00:58 2001 From: pj at howdystranger.com (howdystranger) Date: Wed, 3 Oct 2001 09:00:58 -0400 Subject: [Javascript] hiding form controls? Message-ID: <007a01c14c0b$72611200$4078a8c0@ccs.munis.com> I'm having a problem writing a javascript routine that will change the visibility property of a form control. I was thinking of giving the form control a certain style and then using a javascript funtion to change the visibility property of that style based on the parameter passed in. I'm using hiermenus and I basically just want to hide drop down form controls when the menu appears. thanks for any help.. PJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mferon at adeuza.fr Wed Oct 3 08:11:25 2001 From: mferon at adeuza.fr (Matthieu =?iso-8859-1?Q?F=E9ron?=) Date: Wed, 03 Oct 2001 15:11:25 +0200 Subject: [Javascript] hiding form controls? References: <007a01c14c0b$72611200$4078a8c0@ccs.munis.com> Message-ID: <3BBB0E7D.28376D26@adeuza.fr> perhaps put the form in a layer and hide the layer ?? > howdystranger a ?crit : > > I'm having a problem writing a javascript routine that will change > the visibility property of a form control. I was thinking of giving > the form control a certain style and then using a javascript funtion > to change the visibility property of that style based on the > parameter passed in. > > I'm using hiermenus and I basically just want to hide drop down form > controls when the menu appears. > > thanks for any help.. PJ From LMuchacho at twii.net Wed Oct 3 08:25:58 2001 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Wed, 3 Oct 2001 14:25:58 +0100 Subject: [Javascript] hiding form controls? Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC027C2F50@lonmail.twii.net> I got a examples who work cross browser this might help http://www.persistenz.com/samples/hideSelect.htm Laurent -----Original Message----- From: Matthieu F?ron [mailto:mferon at adeuza.fr] Sent: 03 October 2001 14:11 To: javascript at LaTech.edu Subject: Re: [Javascript] hiding form controls? perhaps put the form in a layer and hide the layer ?? > howdystranger a ?crit : > > I'm having a problem writing a javascript routine that will change > the visibility property of a form control. I was thinking of giving > the form control a certain style and then using a javascript funtion > to change the visibility property of that style based on the > parameter passed in. > > I'm using hiermenus and I basically just want to hide drop down form > controls when the menu appears. > > thanks for any help.. PJ _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From phumes1 at home.com Wed Oct 3 09:40:11 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Wed, 03 Oct 2001 10:40:11 -0400 Subject: [Javascript] Re: Popup Menu Message-ID: <5.1.0.14.0.20011003103754.009eeb30@mail.wlfdle1.on.wave.home.com> Hi, I'm looking for a popup menu that would appear if you click on a link without using an external file like the heirmenu from (www.dhtml.com) link1 link2 link3 From alan.easton at unn.ac.uk Wed Oct 3 09:55:28 2001 From: alan.easton at unn.ac.uk (Alan Easton) Date: Wed, 3 Oct 2001 15:55:28 +0100 Subject: [Javascript] Re: Popup Menu Message-ID: <8CB72D8EAD84D411B3D600508BCF7B6C01507902@colorado.unn.ac.uk> Check out http://www.dynamicdrive.com/dynamicindex1/index.html -----Original Message----- From: phumes1 at home.com [mailto:phumes1 at home.com] Sent: Wednesday, October 03, 2001 3:40 PM To: javascript at LaTech.edu Subject: [Javascript] Re: Popup Menu Hi, I'm looking for a popup menu that would appear if you click on a link without using an external file like the heirmenu from (www.dhtml.com) link1 link2 link3 _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From phumes1 at home.com Wed Oct 3 10:10:26 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Wed, 03 Oct 2001 11:10:26 -0400 Subject: [Javascript] Re: Popup Menu In-Reply-To: <8CB72D8EAD84D411B3D600508BCF7B6C01507902@colorado.unn.ac.u k> Message-ID: <5.1.0.14.0.20011003110850.009f3ec0@mail.wlfdle1.on.wave.home.com> Checking it now. I require the menu to float with the link. Most menus I've seen use the position:absolute At 03:55 PM 10/3/01 +0100, you wrote: >Check out http://www.dynamicdrive.com/dynamicindex1/index.html >-----Original Message----- >From: phumes1 at home.com [mailto:phumes1 at home.com] >Sent: Wednesday, October 03, 2001 3:40 PM >To: javascript at LaTech.edu >Subject: [Javascript] Re: Popup Menu > > > >Hi, > >I'm looking for a popup menu that would appear if you click on a link >without using an external file like the heirmenu from (www.dhtml.com) > >link1 >link2 >link3 > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From phumes1 at home.com Wed Oct 3 12:42:08 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Wed, 03 Oct 2001 13:42:08 -0400 Subject: [Javascript] Re: Popup menus Message-ID: <5.1.0.14.0.20011003133851.009f9b30@mail.wlfdle1.on.wave.home.com> Hi, I need help! I'm still trying to get the filename link passed to my template page from selecting a link within the popup menu but I'm not having any success. I need some help from some experts you've done this sort of thing with Coldfusion and Javascript. You can download my source code from the link below. http://members.home.com/phumes1/sample2.zip From andyg at ihug.co.nz Wed Oct 3 19:56:45 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Thu, 4 Oct 2001 12:56:45 +1200 Subject: [Javascript] pop-up window In-Reply-To: Message-ID: I can't make a pop up window without Javascript can I ? From peter at brunone.com Wed Oct 3 20:15:17 2001 From: peter at brunone.com (Peter Brunone) Date: Wed, 3 Oct 2001 20:15:17 -0500 Subject: [Javascript] pop-up window In-Reply-To: Message-ID: Of course; you can use VBScript :) In a cross-browser environment, you can of course use the TARGET attribute of a link or form; you don't get much control, but it does create an extra window. |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |Behalf Of Andrew Gibson |Sent: Wednesday, October 03, 2001 7:57 PM |To: javascript at LaTech.edu |Subject: [Javascript] pop-up window | | |I can't make a pop up window without Javascript can I ? From andyg at ihug.co.nz Wed Oct 3 20:17:37 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Thu, 4 Oct 2001 13:17:37 +1200 Subject: [Javascript] pop-up window In-Reply-To: Message-ID: oh yes, but I have to use some client side script? a client wants a pop up window, but previously said no javascript?! > > Of course; you can use VBScript :) > > In a cross-browser environment, you can of course use the > TARGET attribute > of a link or form; you don't get much control, but it does > create an extra > window. > > |-----Original Message----- > |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > |Behalf Of Andrew Gibson > |Sent: Wednesday, October 03, 2001 7:57 PM > |To: javascript at LaTech.edu > |Subject: [Javascript] pop-up window > | > | > |I can't make a pop up window without Javascript can I ? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From peter at brunone.com Wed Oct 3 20:31:40 2001 From: peter at brunone.com (Peter Brunone) Date: Wed, 3 Oct 2001 20:31:40 -0500 Subject: [Javascript] pop-up window In-Reply-To: Message-ID: You can use TARGET to open a link in a new window, but the new window will have the same attributes of the original. I suppose you could work with ActiveX controls or a java applet, but at that point you might as well just use Javascript. |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |Behalf Of Andrew Gibson |Sent: Wednesday, October 03, 2001 8:18 PM |To: javascript at LaTech.edu |Subject: RE: [Javascript] pop-up window | | |oh yes, but I have to use some client side script? | |a client wants a pop up window, but previously said no javascript?! | | > | > Of course; you can use VBScript :) | > | > In a cross-browser environment, you can of course use the | > TARGET attribute | > of a link or form; you don't get much control, but it does | > create an extra | > window. | > | > |-----Original Message----- | > |From: javascript-admin at LaTech.edu |[mailto:javascript-admin at LaTech.edu]On | > |Behalf Of Andrew Gibson | | > |Sent: Wednesday, October 03, 2001 7:57 PM | > |To: javascript at LaTech.edu | > |Subject: [Javascript] pop-up window | > | | > | | > |I can't make a pop up window without Javascript can I ? | > | > _______________________________________________ | > Javascript mailing list | > Javascript at LaTech.edu | > http://www.LaTech.edu/mailman/listinfo/javascript | > | |_______________________________________________ |Javascript mailing list |Javascript at LaTech.edu |http://www.LaTech.edu/mailman/listinfo/javascript | From phumes1 at home.com Thu Oct 4 06:30:54 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Thu, 04 Oct 2001 07:30:54 -0400 Subject: [Javascript] Re: anchors - passing values Message-ID: <5.1.0.14.0.20011004072805.009e8530@mail.wlfdle1.on.wave.home.com> Hi, How can I pass the value of the anchor that was clicked on to a variable? For example, if "test3" was clicked I would want that file name (value) passed to "template.htm". test1 test2 test3 test4 From filipiab at atsc.army.mil Thu Oct 4 08:52:30 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Thu, 4 Oct 2001 09:52:30 -0400 Subject: [Javascript] Re: anchors - passing values Message-ID: test1 test2 test3 test4 then would have to parse the querystring. Bob Filipiak (Contractor) -----Original Message----- From: phumes1 at home.com [mailto:phumes1 at home.com] Sent: Thursday, October 04, 2001 7:31 AM To: javascript at LaTech.edu Subject: [Javascript] Re: anchors - passing values Hi, How can I pass the value of the anchor that was clicked on to a variable? For example, if "test3" was clicked I would want that file name (value) passed to "template.htm". test1 test2 test3 test4 _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.marriott at optusnet.com.au Thu Oct 4 22:27:41 2001 From: bill.marriott at optusnet.com.au (Bill Marriott) Date: Fri, 5 Oct 2001 13:27:41 +1000 Subject: [Javascript] Re:posting arrays References: Message-ID: <000b01c14d4d$b1821f40$b5b48ec6@toshiba> RE: [Javascript] Re: anchors - passing valuesHi Everyone, Thanks for your help in the past. I have a new problem with posting arrays. I want to use an array var linksToDelete = new Array(); to store the ID's of records to delete from the database. I have got the javascript (see below) to add the elements to the array as the user deletes a record from the page. How can I post the array(with all the elements) to the next page in order to do the processing for the deletes. The dosen't want to post the array! -------------- next part -------------- An HTML attachment was scrubbed... URL: From reubendb at goshen.edu Fri Oct 5 13:38:58 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Fri, 5 Oct 2001 13:38:58 -0500 Subject: [Javascript] Accessing Form properties in layer In-Reply-To: <3BBAAF7D.5DFDEC4F@adeuza.fr> References: <3BBAAF7D.5DFDEC4F@adeuza.fr> Message-ID: Thanks. I didn't forget. I really didn't know how to :). rdb On Wednesday 03 October 2001 01:26 am, you wrote: > of course it is. you forget the layer: > Netscape > document.layer['layername'].document.forms[0] > IE > document.all['layername'].forms[0] > > Reuben D Budiardja a ?crit : > > Hi all, > > I have a page that have layer (using
). I have 2 layers, and in each > > layer I have a form. > > > > How do I access the form properties? something like > > document.forms['form_name'] > > or > > document.forms[0] > > > > gives me undefined. > > > > Please help. > > Thanks in advance. > > Reuben D. Budiardja From phumes1 at home.com Tue Oct 9 07:05:23 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Tue, 09 Oct 2001 08:05:23 -0400 Subject: [Javascript] Re: ColdFusion and JS - passing anchor filename to JS popup menu Message-ID: <5.1.0.14.0.20011009080021.009f4780@mail.wlfdle1.on.wave.home.com> Hi all, I still can't figure out how to pass the anchor filename to the JS popup menu? See an example at www.expatonline.com Any ideas? The directory structure is generated using ... Notice the "last" filename in the query is always listed in the popup and redirected to the template. I require the filename (anchor) that was clicked to be passed to the popup menu and then to the template. Is there a way to figure out which anchor was clicked by using the Don't know if this will work in actuality, but theoretically (ah, how often we hear that!)... Why not create a semicolon (or tilde, or some other uncommon character) - delimited text string (link1~link2~link3). Set that as a hidden input and post to the next page. Then have a function on the next page split out the elements using split(). var my_links = "link1~link2~link3~link4"; //pass this as a hidden element var link_array = my_links.split("~"); for (loop=0; loop < link_array.length; loop++) { document.writeln(link_array[loop] + " is a link to delete.
"); } "This breaks the string my_links into an array of five elements. (Happily, JavaScript creates the array for you automatically, so you don't have to use new Array() to create it yourself). " (Above courtesy of Webmonkey...) "Bill Marriott" et.com.au> cc: Sent by: Subject: [Javascript] Re:posting arrays javascript-admin at LaTe ch.edu 10/04/01 10:27 PM Please respond to javascript Hi Everyone, Thanks for your help in the past. I have a new problem with posting arrays. I want to use an array var linksToDelete = new Array(); to store the ID's of records to delete from the database. I have got the javascript (see below) to add the elements to the array as the user deletes a record from the page. How can I post the array(with all the elements) to the next page in order to do the processing for the deletes. The dosen't want to post the array! From bill.marriott at optusnet.com.au Tue Oct 9 14:56:12 2001 From: bill.marriott at optusnet.com.au (Bill Marriott) Date: Wed, 10 Oct 2001 05:56:12 +1000 Subject: [Javascript] Re:posting arrays References: Message-ID: <000601c150fc$73c733e0$51b48ec6@desktop> Thanks for that Esther, I think your code should work. However I have decided not to use this approach now. I think I'll end up with too much code on the page ( the page has 4 of these tables that I need to cater for) and the display time will be too slow for the remote users. But I'll store your idea for later. Bill ----- Original Message ----- From: To: Sent: Tuesday, October 09, 2001 11:14 PM Subject: Re: [Javascript] Re:posting arrays > > Don't know if this will work in actuality, but theoretically (ah, how often > we hear that!)... > > Why not create a semicolon (or tilde, or some other uncommon character) - > delimited text string (link1~link2~link3). Set that as a hidden input and > post to the next page. Then have a function on the next page split out the > elements using split(). > > > var my_links = "link1~link2~link3~link4"; file://pass this as a hidden element > > var link_array = my_links.split("~"); > > for (loop=0; loop < link_array.length; > loop++) > > { > > document.writeln(link_array[loop] + " is a link to delete.
"); > > } > > "This breaks the string my_links into an array of five elements. (Happily, > JavaScript creates the array for you automatically, so you don't have to > use new Array() to create it yourself). " > > (Above courtesy of Webmonkey...) > > > > > "Bill Marriott" > > et.com.au> cc: > Sent by: Subject: [Javascript] Re:posting arrays > javascript-admin at LaTe > ch.edu > > > 10/04/01 10:27 PM > Please respond to > javascript > > > > > > > Hi Everyone, > > Thanks for your help in the past. > > I have a new problem with posting arrays. > > I want to use an array > > var linksToDelete = new Array(); > > to store the ID's of records to delete from the database. > > I have got the javascript (see below) to add the elements to the array as > the user deletes a record from the page. > > How can I post the array(with all the elements) to the next page in order > to do the processing for the deletes. The dosen't want > to post the array! > > > > > > > > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Wed Oct 10 04:00:45 2001 From: ben at babelfish.co.uk (.ben) Date: Wed, 10 Oct 2001 10:00:45 +0100 Subject: [Javascript] RegExp Message-ID: <000901c1516a$0c051f10$3a060a0a@idt00096> Hi all. I'm trying to use the string.replace() function to replace all the CrLf's (new line) in a block of text with nothing, i.e. remove all line formatting. I was thinking I could do this: strFarHang.replace('\n','') is this correct? it doesn't seem to work. :( Cheers, .ben From mikael.lindstrom at nipsoft.se Wed Oct 10 04:12:20 2001 From: mikael.lindstrom at nipsoft.se (=?iso-8859-1?Q?Mikael_Lindstr=F6m?=) Date: Wed, 10 Oct 2001 11:12:20 +0200 Subject: [Javascript] RegExp In-Reply-To: <000901c1516a$0c051f10$3a060a0a@idt00096> Message-ID: <000401c1516b$aab78930$2700a8c0@NIPSOFT.LOCAL> No, more something like strFarHang.replace(/\n/,'') /Mikael > -----Original Message----- > From: javascript-admin at LaTech.edu > [mailto:javascript-admin at LaTech.edu]On > Behalf Of .ben > Sent: Wednesday, October 10, 2001 11:01 AM > To: JavaScript Mailing List > Subject: [Javascript] RegExp > > > Hi all. > > I'm trying to use the string.replace() function to replace > all the CrLf's > (new line) in a block of text with nothing, i.e. remove all > line formatting. > > I was thinking I could do this: > > strFarHang.replace('\n','') > > is this correct? it doesn't seem to work. :( > > Cheers, > > .ben > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From ben at babelfish.co.uk Wed Oct 10 04:43:33 2001 From: ben at babelfish.co.uk (.ben) Date: Wed, 10 Oct 2001 10:43:33 +0100 Subject: [Javascript] RegExp References: <000401c1516b$aab78930$2700a8c0@NIPSOFT.LOCAL> Message-ID: <010801c15170$085e9d90$3a060a0a@idt00096> Hmm. I can't get it to work. Let me show you my code, if I may: ----- 8< ----- ----- >8 ----- Any ideas? Cheers, .ben ----- Original Message ----- From: "Mikael Lindstr?m" To: Sent: Wednesday, October 10, 2001 10:12 AM Subject: RE: [Javascript] RegExp > No, > > more something like > > strFarHang.replace(/\n/,'') > > /Mikael > > > -----Original Message----- > > From: javascript-admin at LaTech.edu > > [mailto:javascript-admin at LaTech.edu]On > > Behalf Of .ben > > Sent: Wednesday, October 10, 2001 11:01 AM > > To: JavaScript Mailing List > > Subject: [Javascript] RegExp > > > > > > Hi all. > > > > I'm trying to use the string.replace() function to replace > > all the CrLf's > > (new line) in a block of text with nothing, i.e. remove all > > line formatting. > > > > I was thinking I could do this: > > > > strFarHang.replace('\n','') > > > > is this correct? it doesn't seem to work. :( > > > > Cheers, > > > > .ben > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From fescofet at datadec.es Wed Oct 10 04:49:58 2001 From: fescofet at datadec.es (FRANCESC ESCOFET) Date: Wed, 10 Oct 2001 11:49:58 +0200 Subject: [Javascript] RegExp Message-ID: <8C987B8472B8A84FB42BD34E6C8A58CA055AD1@srv-w2k-exchang.datadec2000.es> try this: var strString; strString = myform.mytextarea.value; re = /\n/gi; strString = strString.replace(re,""); alert(strString); > -----Mensaje original----- > De: .ben [SMTP:ben at babelfish.co.uk] > Enviado el: mi?rcoles 10 de octubre de 2001 11:46 > Para: FRANCESC ESCOFET; ANTONIO PEREZ; ANTONIO TORTOLA > Asunto: Re: [Javascript] RegExp > > Hmm. I can't get it to work. Let me show you my code, if I may: > > ----- 8< ----- > > ----- >8 ----- > > Any ideas? > > Cheers, > > .ben > > ----- Original Message ----- > From: "Mikael Lindstr?m" > To: > Sent: Wednesday, October 10, 2001 10:12 AM > Subject: RE: [Javascript] RegExp > > > > No, > > > > more something like > > > > strFarHang.replace(/\n/,'') > > > > /Mikael > > > > > -----Original Message----- > > > From: javascript-admin at LaTech.edu > > > [mailto:javascript-admin at LaTech.edu]On > > > Behalf Of .ben > > > Sent: Wednesday, October 10, 2001 11:01 AM > > > To: JavaScript Mailing List > > > Subject: [Javascript] RegExp > > > > > > > > > Hi all. > > > > > > I'm trying to use the string.replace() function to replace > > > all the CrLf's > > > (new line) in a block of text with nothing, i.e. remove all > > > line formatting. > > > > > > I was thinking I could do this: > > > > > > strFarHang.replace('\n','') > > > > > > is this correct? it doesn't seem to work. :( > > > > > > Cheers, > > > > > > .ben > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript From fescofet at datadec.es Wed Oct 10 04:52:43 2001 From: fescofet at datadec.es (FRANCESC ESCOFET) Date: Wed, 10 Oct 2001 11:52:43 +0200 Subject: [Javascript] RegExp Message-ID: <8C987B8472B8A84FB42BD34E6C8A58CA055AD2@srv-w2k-exchang.datadec2000.es> ups sorry i forget one var var strString; strString = myform.mytextarea.value; var re = /\n/gi; strString = strString.replace(re,""); alert(strString); > -----Mensaje original----- > De: FRANCESC ESCOFET [SMTP:fescofet at datadec.es] > Enviado el: mi?rcoles 10 de octubre de 2001 11:52 > Para: FRANCESC ESCOFET; ANTONIO PEREZ; ANTONIO TORTOLA > Asunto: RE: [Javascript] RegExp > > > try this: > > var strString; > strString = myform.mytextarea.value; > re = /\n/gi; > strString = strString.replace(re,""); > alert(strString); > > > > -----Mensaje original----- > > De: .ben [SMTP:ben at babelfish.co.uk] > > Enviado el: mi?rcoles 10 de octubre de 2001 11:46 > > Para: FRANCESC ESCOFET; ANTONIO PEREZ; ANTONIO TORTOLA > > Asunto: Re: [Javascript] RegExp > > > > Hmm. I can't get it to work. Let me show you my code, if I may: > > > > ----- 8< ----- > > > > ----- >8 ----- > > > > Any ideas? > > > > Cheers, > > > > .ben > > > > ----- Original Message ----- > > From: "Mikael Lindstr?m" > > To: > > Sent: Wednesday, October 10, 2001 10:12 AM > > Subject: RE: [Javascript] RegExp > > > > > > > No, > > > > > > more something like > > > > > > strFarHang.replace(/\n/,'') > > > > > > /Mikael > > > > > > > -----Original Message----- > > > > From: javascript-admin at LaTech.edu > > > > [mailto:javascript-admin at LaTech.edu]On > > > > Behalf Of .ben > > > > Sent: Wednesday, October 10, 2001 11:01 AM > > > > To: JavaScript Mailing List > > > > Subject: [Javascript] RegExp > > > > > > > > > > > > Hi all. > > > > > > > > I'm trying to use the string.replace() function to replace > > > > all the CrLf's > > > > (new line) in a block of text with nothing, i.e. remove all > > > > line formatting. > > > > > > > > I was thinking I could do this: > > > > > > > > strFarHang.replace('\n','') > > > > > > > > is this correct? it doesn't seem to work. :( > > > > > > > > Cheers, > > > > > > > > .ben > > > > > > > > _______________________________________________ > > > > Javascript mailing list > > > > Javascript at LaTech.edu > > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript From mikael.lindstrom at nipsoft.se Wed Oct 10 04:53:04 2001 From: mikael.lindstrom at nipsoft.se (=?iso-8859-1?Q?Mikael_Lindstr=F6m?=) Date: Wed, 10 Oct 2001 11:53:04 +0200 Subject: [Javascript] RegExp In-Reply-To: <010801c15170$085e9d90$3a060a0a@idt00096> Message-ID: <000501c15171$5b7baa30$2700a8c0@NIPSOFT.LOCAL> I'm sorry but I forgot to say that you need to assign your replace to a variable. Like this . . . strString = strString.replace(/\n/,''); . . . > -----Original Message----- > From: javascript-admin at LaTech.edu > [mailto:javascript-admin at LaTech.edu]On > Behalf Of .ben > Sent: Wednesday, October 10, 2001 11:44 AM > To: javascript at LaTech.edu > Subject: Re: [Javascript] RegExp > > > Hmm. I can't get it to work. Let me show you my code, if I may: > > ----- 8< ----- > > ----- >8 ----- > > Any ideas? > > Cheers, > > .ben > > ----- Original Message ----- > From: "Mikael Lindstr?m" > To: > Sent: Wednesday, October 10, 2001 10:12 AM > Subject: RE: [Javascript] RegExp > > > > No, > > > > more something like > > > > strFarHang.replace(/\n/,'') > > > > /Mikael > > > > > -----Original Message----- > > > From: javascript-admin at LaTech.edu > > > [mailto:javascript-admin at LaTech.edu]On > > > Behalf Of .ben > > > Sent: Wednesday, October 10, 2001 11:01 AM > > > To: JavaScript Mailing List > > > Subject: [Javascript] RegExp > > > > > > > > > Hi all. > > > > > > I'm trying to use the string.replace() function to replace > > > all the CrLf's > > > (new line) in a block of text with nothing, i.e. remove all > > > line formatting. > > > > > > I was thinking I could do this: > > > > > > strFarHang.replace('\n','') > > > > > > is this correct? it doesn't seem to work. :( > > > > > > Cheers, > > > > > > .ben > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From ben at babelfish.co.uk Wed Oct 10 04:56:16 2001 From: ben at babelfish.co.uk (.ben) Date: Wed, 10 Oct 2001 10:56:16 +0100 Subject: [Javascript] RegExp References: <8C987B8472B8A84FB42BD34E6C8A58CA055AD1@srv-w2k-exchang.datadec2000.es> Message-ID: <001501c15171$cda8ca70$3a060a0a@idt00096> alas, it does not work. It doesn't error either... which is odd. is it something to do with the textarea element perhaps... maybe it doesn't store CrLf's as chr(10) and chr(13)? I'm not too sure. hmm. .b ----- Original Message ----- From: "FRANCESC ESCOFET" To: Sent: Wednesday, October 10, 2001 10:49 AM Subject: RE: [Javascript] RegExp try this: var strString; strString = myform.mytextarea.value; re = /\n/gi; strString = strString.replace(re,""); alert(strString); > -----Mensaje original----- > De: .ben [SMTP:ben at babelfish.co.uk] > Enviado el: mi?rcoles 10 de octubre de 2001 11:46 > Para: FRANCESC ESCOFET; ANTONIO PEREZ; ANTONIO TORTOLA > Asunto: Re: [Javascript] RegExp > > Hmm. I can't get it to work. Let me show you my code, if I may: > > ----- 8< ----- > > ----- >8 ----- > > Any ideas? > > Cheers, > > .ben > > ----- Original Message ----- > From: "Mikael Lindstr?m" > To: > Sent: Wednesday, October 10, 2001 10:12 AM > Subject: RE: [Javascript] RegExp > > > > No, > > > > more something like > > > > strFarHang.replace(/\n/,'') > > > > /Mikael > > > > > -----Original Message----- > > > From: javascript-admin at LaTech.edu > > > [mailto:javascript-admin at LaTech.edu]On > > > Behalf Of .ben > > > Sent: Wednesday, October 10, 2001 11:01 AM > > > To: JavaScript Mailing List > > > Subject: [Javascript] RegExp > > > > > > > > > Hi all. > > > > > > I'm trying to use the string.replace() function to replace > > > all the CrLf's > > > (new line) in a block of text with nothing, i.e. remove all > > > line formatting. > > > > > > I was thinking I could do this: > > > > > > strFarHang.replace('\n','') > > > > > > is this correct? it doesn't seem to work. :( > > > > > > Cheers, > > > > > > .ben > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From lexis.copely at execs.com Wed Oct 10 13:31:05 2001 From: lexis.copely at execs.com (Alexis Copely) Date: Wed, 10 Oct 2001 13:31:05 Subject: [Javascript] Jobs available... Message-ID: <359.443653.528535@execs.com> Job Availability: While the job market has slowed a bit there are still plenty of jobs available. We know because 1.5 Million employers and recruiters still search various career sites daily for quality job candidates. The trick to getting the jobs is to be in all the right places at all the right times. Employers pay to search career sites. As the economy slows, many employers are now turning to the smaller career sites to find their job candidates. What makes it harder though is that each employer searches different career sites. So the best way to maximize your chances of getting the jobs before the next person, is to post your resume on as many career sites as possible. However, If you don't feel like spending all that time researching the best sites and doing data entry, just go to ResumeRabbit.com at http://www.resumerabbit.com This site will instantly post your resume to over 75 of the best career sites using one quick and easy form. The good news is there are millions of jobs currently advertised on career sites. At the same time there are lots of people competing for those jobs. Joining all the best career sites gives you exposure to these jobs while exposing your resume to the hiring managers, before they find other people with which to fill their positions. Normally you can expect to spend over 60 hours of research and data entry posting to 75 career sites. But with ResumeRabbit your resume can be instantly posted to over 75 career sites in about 15 minutes. ResumeRabbit.com posts your resume to sites like: Monster, Headunter, Hot Jobs, USJobBoard, CareerBuilder, Dice, and many more. And it's really easy to use. The form takes about 15 minutes and saves you hours and hours of data entry. ResumeRabbit also takes all the work out of finding the best career sites. And if you don't currently have a resume, its no problem. Just use ResumeRabbit's easy Resume Builder. Once you've got about 75 career site accounts created, you can literally search MILLIONS of listings for jobs that meet your criteria. Many of these sites even offer "search agents" that will email you daily with jobs matching your skills and requirements. Use the tool of successful jobseekers. Just check out: http://www.resumerabbit.com This year alone ResumeRabbit performed hundreds of thousands of resume submissions on behalf of its clients. Here's what a few them recently had to say about ResumeRabbit.com: ------------------------------------------------------------ James M, Technical Support Specialist: "WOW! What a service! I signed up on a Tuesday, and by Thursday the job offers started pouring in. By Friday, I had a job set up! This is the BEST investment I have ever made! THANKS!!" ------------------------------------------------------------- Ronnie R, Sales Representative: "I got the account on Sunday evening and by Monday morning I was already getting phone calls from recruiters. That was fast and easy. There are so many job sites out there it would have taken weeks. Thanks." ------------------------------------------------------------- Chris L, Vice President of Operations: "Resume Rabbit was like hiring my own personal assistant to fill out the forms for less than $0.50 cents an hour. What a great deal. My time is definitely worth more than that!" ------------------------------------------------------------- Check out ResumeRabbit.com at: http://www.resumerabbit.com It's a tough job market right now. But if you know how to play the numbers you can succeed. We're confident that just like these customers, you'll find ResumeRabbit to be quick, easy and very effective. Best Wishes, Alexis Copely Consumer Services http://www.resumerabbit.com -------------------------------------------------------------- Please Note: We may send you a note about new features of ResumeRabbit.com from time to time. However, we won't share your email information with any 3rd parties. And we will not do anything to cause you to receive messages about products from any other companies. If you would rather not receive message about ResumeRabbit in the future just go to: http://www.resumerabbit.com/go/disregard Thanks! 2208679j From Quixote at LaMancha.org Wed Oct 10 10:37:30 2001 From: Quixote at LaMancha.org (Ben Curtis) Date: Wed, 10 Oct 2001 08:37:30 -0700 Subject: [Javascript] RegExp In-Reply-To: <010801c15170$085e9d90$3a060a0a@idt00096> Message-ID: > ----- 8< ----- > > ----- >8 ----- > > Any ideas? Two, actually. 1) you need to capture the changed string value since the replace() method doesn't change the original string: developer.netscape.com/docs/manuals/js/client/jsref/string.htm#1194258 2) you need to replace all occurrences by using the "g" flag, otherwise you are only catching the first newline. Untested, but ought to work. -- +Ben Curtis ...established 1971. From cutterbl at hotmail.com Wed Oct 10 11:15:07 2001 From: cutterbl at hotmail.com (Cutter Bl) Date: Wed, 10 Oct 2001 12:15:07 -0400 Subject: [Javascript] (no subject) Message-ID: An HTML attachment was scrubbed... URL: From peter at brunone.com Wed Oct 10 14:26:49 2001 From: peter at brunone.com (Peter Brunone) Date: Wed, 10 Oct 2001 14:26:49 -0500 Subject: [Javascript] A new resource? Message-ID: <0b5601c151c1$821114a0$e22d200a@PMBRUNON> I didn't see this listed on the resources page; figured you might want to add it. http://cwashington.netreach.net/main_site From rodney at aflyingstart.net Wed Oct 10 18:32:25 2001 From: rodney at aflyingstart.net (Rodney Myers) Date: Thu, 11 Oct 2001 00:32:25 +0100 Subject: [Javascript] RegExp References: Message-ID: <3BC4DA89.5BEECD84@aflyingstart.net> I found (in Win 98) that strNewStr = strString.replace(/\r/g,'') worked as wished I needed to modify a script I had for processing html and script into displayable code for purposes of documentation The old script did not touch the line ends. Just putting the outpust between
 tags was fine when editing the output in TextPad

Then I found in Dreamweaver (UltraDev 1 : must get the upgrade soon!) that in
wysiwig mode the cursor would not traverse the lines of PRE text to enable me
to apply styles and insert images.

So I thought if I made it one big para with a style defined as
font-face-"courier" then I would be better able to manipulate the appearance,
and for this I needed 
tags on every line. TextPad did a perfectly good replacement, but I thought if I modded my script I could cut out a stage. I plan to add the top and tail HTML. So I needed to replace every line end with
and the line end Or insert a
before each line end. Adapting your code, but worried about throwing it into an endless loop I went for a two stage process 1. line end becomes
and a placeholder char sequence "!~!" 2. placeholder char sequence "!~!" is replaced with line end // ADD
tags Buffer = Buffer.replace(/\r/g,'
!~!'); Buffer = Buffer.replace(/!~!/g,'\r'); BTW the script works like this (I have several of the sort for various purposes) Input and output TEXTAREAs Paste text into Input TEXTAREA Process and display result in output TEXTAREA Apply select() method to output TEXTAREA Copy to clipboard the text thus highlighted Paste to TextPad The method is perfectly capable of handling script of several pages length. Ben Curtis wrote: > > > Untested, but ought to work. > > -- > +Ben Curtis > ...established 1971. > -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ Enquiries regarding Shop at ssistant Classic training : Call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From phumes1 at home.com Wed Oct 10 21:16:36 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Wed, 10 Oct 2001 22:16:36 -0400 Subject: [Javascript] Re: Graphics..the Hierarchical Menu script Message-ID: <5.1.0.14.0.20011010221335.009f63f0@mail.wlfdle1.on.wave.home.com> Hi, I was wondering how far you can go to modify the popup menu from http://www.webreference.com/dhtml/hiermenus/ I want to be able to change or add a background image to the menus. is this possible. Can I easily add the menu items into a table? I want to be able to simulate the following menu. See attached screen capture. -------------- next part -------------- A non-text attachment was scrubbed... Name: menu.gif Type: image/gif Size: 2070 bytes Desc: not available URL: From peter at brunone.com Thu Oct 11 10:01:06 2001 From: peter at brunone.com (Peter Brunone) Date: Thu, 11 Oct 2001 10:01:06 -0500 Subject: [Javascript] Jobs available... References: <359.443653.528535@execs.com> Message-ID: <009501c15265$8e4007a0$e22d200a@PMBRUNON> David, Along with banning these spammers, are we telling them that their junk mail really isn't appreciated? Or do we just figure they'll realize that when they get another bounced address? ----- Original Message ----- From: "Alexis Copely" To: Sent: Wednesday, October 10, 2001 1:31 PM Subject: [Javascript] Jobs available... | | Job Availability: From merchant at LATECH.EDU Thu Oct 11 11:22:26 2001 From: merchant at LATECH.EDU (David Merchant) Date: Thu, 11 Oct 2001 11:22:26 -0500 Subject: [Javascript] Jobs available... In-Reply-To: <009501c15265$8e4007a0$e22d200a@PMBRUNON> References: <359.443653.528535@execs.com> Message-ID: <5.1.0.14.2.20011011112036.02594380@vm.cc.latech.edu> At 10:01 AM 10/11/01 -0500, you wrote: >David, > > Along with banning these spammers, are we telling them that their junk >mail really isn't appreciated? Or do we just figure they'll realize that >when they get another bounced address? When I place the addy in the kill file I get notified when they try to send a post to the list and I send back a reply of why they are getting blocked. Sometimes that means they remove the list addy from their files, other times it just gets totally ignored. TTFN, David Head, Systems Dept, Louisiana Tech University merchant at latech.edu JavaScript List Administrator (www.mountaindragon.com/javascript/) Webmaster, HTML Encyclopedia (www.mountaindragon.com/html/) Webmaster, Memorial Day Page: (www.usmemorialday.org/) From bill.marriott at optusnet.com.au Thu Oct 11 16:10:41 2001 From: bill.marriott at optusnet.com.au (Bill Marriott) Date: Fri, 12 Oct 2001 07:10:41 +1000 Subject: [Javascript] just Checking Checkboxes References: <359.443653.528535@execs.com> <5.1.0.14.2.20011011112036.02594380@vm.cc.latech.edu> Message-ID: <000701c15299$2fb74b60$91778ec6@toshiba> Hi Everyone, Today's problem for me is: How in Javascript can I 'Check' a checkbox box when I add it as an element in code? The code below will add it to the new row but I want to check it as well and if possible make it invisible Bill. var addObj = document.createElement("INPUT"); ////// a add check box addObj.type = "checkbox"; addObj.name = "ADDLINK"; addObj.id = "A1"; var addObjParent = newRowObj.lastChild.previousSibling; addObjParent.appendChild(addObj); From peter at brunone.com Thu Oct 11 16:31:09 2001 From: peter at brunone.com (Peter Brunone) Date: Thu, 11 Oct 2001 16:31:09 -0500 Subject: [Javascript] just Checking Checkboxes References: <359.443653.528535@execs.com> <5.1.0.14.2.20011011112036.02594380@vm.cc.latech.edu> <000701c15299$2fb74b60$91778ec6@toshiba> Message-ID: <065501c1529c$0b406570$e22d200a@PMBRUNON> Can't you just set the .checked property to true? whatever.style.visibility = 'hidden' might work for form elements in IE, but I doubt you can do it in NS at all. ----- Original Message ----- From: "Bill Marriott" To: Sent: Thursday, October 11, 2001 4:10 PM Subject: [Javascript] just Checking Checkboxes | Hi Everyone, | | Today's problem for me is: | | How in Javascript can I 'Check' a checkbox box when I add it as an element | in code? | The code below will add it to the new row but I want to check it as well and | if possible make it invisible | | Bill. | | | var addObj = document.createElement("INPUT"); ////// a add check box | addObj.type = "checkbox"; | addObj.name = "ADDLINK"; | addObj.id = "A1"; | var addObjParent = newRowObj.lastChild.previousSibling; | addObjParent.appendChild(addObj); | | | | _______________________________________________ | Javascript mailing list | Javascript at LaTech.edu | http://www.LaTech.edu/mailman/listinfo/javascript | From mferon at adeuza.fr Fri Oct 12 01:25:49 2001 From: mferon at adeuza.fr (Matthieu =?iso-8859-1?Q?F=E9ron?=) Date: Fri, 12 Oct 2001 08:25:49 +0200 Subject: [Javascript] just Checking Checkboxes References: <359.443653.528535@execs.com> <5.1.0.14.2.20011011112036.02594380@vm.cc.latech.edu> <000701c15299$2fb74b60$91778ec6@toshiba> <065501c1529c$0b406570$e22d200a@PMBRUNON> Message-ID: <3BC68CED.B53B8D7F@adeuza.fr> You can't do that in NS, as far as I know. Peter Brunone a ?crit : > > Can't you just set the .checked property to true? > > whatever.style.visibility = 'hidden' might work for form elements in IE, > but I doubt you can do it in NS at all. > > ----- Original Message ----- > From: "Bill Marriott" > To: > Sent: Thursday, October 11, 2001 4:10 PM > Subject: [Javascript] just Checking Checkboxes > > | Hi Everyone, > | > | Today's problem for me is: > | > | How in Javascript can I 'Check' a checkbox box when I add it as an element > | in code? > | The code below will add it to the new row but I want to check it as well > and > | if possible make it invisible > | > | Bill. > | > | > | var addObj = document.createElement("INPUT"); ////// a add check box > | addObj.type = "checkbox"; > | addObj.name = "ADDLINK"; > | addObj.id = "A1"; > | var addObjParent = newRowObj.lastChild.previousSibling; > | addObjParent.appendChild(addObj); > | > | > | > | _______________________________________________ > | Javascript mailing list > | Javascript at LaTech.edu > | http://www.LaTech.edu/mailman/listinfo/javascript > | > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript From veejay_kavi at hotmail.com Fri Oct 12 15:01:22 2001 From: veejay_kavi at hotmail.com (Vee Jay) Date: Fri, 12 Oct 2001 16:01:22 -0400 Subject: [Javascript] loading on frame Message-ID: An HTML attachment was scrubbed... URL: From Quixote at LaMancha.org Fri Oct 12 15:44:35 2001 From: Quixote at LaMancha.org (Ben Curtis) Date: Fri, 12 Oct 2001 13:44:35 -0700 Subject: [Javascript] loading on frame In-Reply-To: Message-ID: > > > Ok my problem or rather what I wanted is to be able to load this page > that the visitor tried opening to be loaded on the main page on the > frame.... What you would want to do then is send the first page's url to the index.html frameset. The code I would use instead of your code above is: if (self.name != "main" || self == parent) top.location.href = "/index.html?main=" + self.location.href; Put that script on your pages that are supposed to be in the "main" frame. It appends the current url to the query string of the destination url. Then put this script at the bottom of index.html, after the framesets have been defined: This extracts everything after "main=" and uses that as the url for the fram named "main". -- +Ben Curtis "One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important." - Bertrand Russell (1872-1970) From veejay_kavi at hotmail.com Sat Oct 13 00:41:33 2001 From: veejay_kavi at hotmail.com (Vee Jay) Date: Sat, 13 Oct 2001 01:41:33 -0400 Subject: [Javascript] Re: loading on frame Message-ID: Thx Ben for the feedback..but the second part is not working. The above script as you said is placed in my single pages (instead of my previous script)...and is working fine. Below is how I have placed.... <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> Now...when the single page is addressed, it refers to my index, but the index.html doesnt load the single page on the "main" frame, althogh at the address url of the browser I do see it http://abc/index.html?main=http://abc/doctor.htm _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From merchant at LATECH.EDU Wed Oct 17 09:02:36 2001 From: merchant at LATECH.EDU (David Merchant) Date: Wed, 17 Oct 2001 09:02:36 -0500 Subject: [Javascript] A new resource? In-Reply-To: <0b5601c151c1$821114a0$e22d200a@PMBRUNON> Message-ID: <5.1.0.14.2.20011017090031.02587790@vm.cc.latech.edu> At 02:26 PM 10/10/01 -0500, you wrote: > I didn't see this listed on the resources page; figured you might want >to add it. > > http://cwashington.netreach.net/main_site Thanks! I've added it, and also a link to A Programmers Heaven site (a very large collection of on-line programming resources, including JavaScript). If anyone else has a resource they feel is very useful, that they have found particularly helpful, please send it to me or to the list and I'll add it to the resources page. TTFN, David Head, Systems Dept, Louisiana Tech University merchant at latech.edu JavaScript List Administrator (www.mountaindragon.com/javascript/) Webmaster, HTML Encyclopedia (www.mountaindragon.com/html/) Webmaster, Memorial Day Page: (www.usmemorialday.org/) From iztokp at amis.net Thu Oct 18 10:17:44 2001 From: iztokp at amis.net (Iztok Polanic) Date: Thu, 18 Oct 2001 17:17:44 +0200 Subject: [Javascript] Refreshing only one image Message-ID: <000f01c157e8$0f15ca40$1b2512d4@g4m7s6> Hi! I have a page which has one image. Now I want to make a function that will change the image every 5 minutes. But I don't want to refresh/reload the whole page only the image should change. Does anybody have an idea how to make this? Bye, Iztok -------------- next part -------------- An HTML attachment was scrubbed... URL: From phumes1 at home.com Thu Oct 18 16:08:10 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Thu, 18 Oct 2001 17:08:10 -0400 Subject: [Javascript] Re: Opening file in another app Message-ID: <5.1.0.14.0.20011018170746.009f4540@mail.wlfdle1.on.wave.home.com> I have a list of files which have ... around them. When a user clicks on a link, how can I have that "filename" open in UltraEdit or WordPad on the users PC? Has anyone done anything like this? From diegob at lagash.com Thu Oct 18 16:39:57 2001 From: diegob at lagash.com (Diego Bustamante) Date: Thu, 18 Oct 2001 18:39:57 -0300 Subject: [Javascript] Refreshing only one image References: <000f01c157e8$0f15ca40$1b2512d4@g4m7s6> Message-ID: <001201c1581d$7216b070$0a00000a@lagash.com> in Explorer 4 you can do this: //On init handle = window.event.setInterval( "myFunction", 500 ); //(in miliseconds) . . . . //On finish window.event.clearInterval( handle ); function myFunction(){ var img = document.getElementByID( 'myImage_ID' ); . . . . img.src = 'new_src'; } I hope this can help you. Diego Bustamante. ----- Original Message ----- From: Iztok Polanic To: javascript at LaTech.edu Sent: Thursday, October 18, 2001 12:17 PM Subject: [Javascript] Refreshing only one image Hi! I have a page which has one image. Now I want to make a function that will change the image every 5 minutes. But I don't want to refresh/reload the whole page only the image should change. Does anybody have an idea how to make this? Bye, Iztok -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Thu Oct 18 16:45:29 2001 From: peter at brunone.com (Peter Brunone) Date: Thu, 18 Oct 2001 16:45:29 -0500 Subject: [Javascript] Re: Opening file in another app References: <5.1.0.14.0.20011018170746.009f4540@mail.wlfdle1.on.wave.home.com> Message-ID: <1e4401c1581e$34bc8dc0$e22d200a@PMBRUNON> If the user has an application registered to handle the pertinent file type, then it will be opened in that application. You can't really control this from the server (although you can force it to save instead of opening by pushing an unknown mimetype). ----- Original Message ----- From: To: Sent: Thursday, October 18, 2001 4:08 PM Subject: [Javascript] Re: Opening file in another app | | I have a list of files which have ... around them. When a | user clicks on a link, how can I have that "filename" open in UltraEdit or | WordPad on the users PC? Has anyone done anything like this? | | _______________________________________________ | Javascript mailing list | Javascript at LaTech.edu | http://www.LaTech.edu/mailman/listinfo/javascript | From walter at torres.ws Thu Oct 18 17:29:20 2001 From: walter at torres.ws (Walter Torres) Date: Thu, 18 Oct 2001 17:29:20 -0500 Subject: [Javascript] Q on 'new Image ()' Message-ID: <002b01c15824$5550f340$6058b23f@ELOY01499A> For example... var objImgBtn = new Array ( 2 ); // make an array objImgBtn.up = new Image ( 24, 12 ); // .up is an IMAGE Object objImgBtn.up.src = "./images/button-up.gif"; // source to an image objImgBtn.dn = new Image ( 24, 12 ); // .dn is an IMAGE Object objImgBtn.dn.src = "./images/button-dn.gif"; // source to an image
Now I have 2 images in local cache, an image on a page and a DIV. document.all.myBtn.src = objImgBtn.dn.src; Now the down button image from the array Object is in the object. document.all.myBtn2.style.backgroundImage = objImgBtn.dn.src; document.all.myBtn2.style.backgroundImage.src = objImgBtn.dn.src; Neither line works! document.all.myBtn2.style.backgroundImage = "./images/button-dn.gif"; This does work, but it doesn't take advantage of the cached images. Anybody have any ideas on how to have the DIV (or SPAN, for that matter) take advantage the cached images in the 'objImgBtn' Object? Thanks Walter From phumes1 at home.com Thu Oct 18 18:11:16 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Thu, 18 Oct 2001 19:11:16 -0400 Subject: [Javascript] Re: Opening file in another app In-Reply-To: <1e4401c1581e$34bc8dc0$e22d200a@PMBRUNON> References: <5.1.0.14.0.20011018170746.009f4540@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011018185328.009eee30@mail.wlfdle1.on.wave.home.com> UltraEdit is setup to open .txt and .dat file extensions. I'm not sure how to get it to open up in UltraEdit from a link with my page? At 04:45 PM 10/18/01 -0500, you wrote: > If the user has an application registered to handle the pertinent file >type, then it will be opened in that application. You can't really control >this from the server (although you can force it to save instead of opening >by pushing an unknown mimetype). > >----- Original Message ----- >From: >To: >Sent: Thursday, October 18, 2001 4:08 PM >Subject: [Javascript] Re: Opening file in another app > > >| >| I have a list of files which have ... around them. When a >| user clicks on a link, how can I have that "filename" open in UltraEdit or >| WordPad on the users PC? Has anyone done anything like this? >| >| _______________________________________________ >| Javascript mailing list >| Javascript at LaTech.edu >| http://www.LaTech.edu/mailman/listinfo/javascript >| > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From peter at brunone.com Thu Oct 18 20:11:36 2001 From: peter at brunone.com (Peter Brunone) Date: Thu, 18 Oct 2001 20:11:36 -0500 Subject: [Javascript] Re: Opening file in another app In-Reply-To: <5.1.0.14.0.20011018185328.009eee30@mail.wlfdle1.on.wave.home.com> Message-ID: Ah so. If you want a clicked file to open in UltraEdit, then it must be the primary app registered for that file type. Basically, you're not going to be able to do this without telling all of your users to make registry tweaks... which probably won't happen. |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |Behalf Of phumes1 at home.com |Sent: Thursday, October 18, 2001 6:11 PM |To: javascript at LaTech.edu |Subject: Re: [Javascript] Re: Opening file in another app | | | |UltraEdit is setup to open .txt and .dat file extensions. I'm not sure how |to get it to open up in UltraEdit from a link |with my page? | | |At 04:45 PM 10/18/01 -0500, you wrote: | |> If the user has an application registered to handle the |pertinent file |>type, then it will be opened in that application. You can't |really control |>this from the server (although you can force it to save instead of opening |>by pushing an unknown mimetype). |> |>----- Original Message ----- |>From: |>To: |>Sent: Thursday, October 18, 2001 4:08 PM |>Subject: [Javascript] Re: Opening file in another app |> |> |>| |>| I have a list of files which have ... around them. When a |>| user clicks on a link, how can I have that "filename" open in |UltraEdit or |>| WordPad on the users PC? Has anyone done anything like this? |>| |>| _______________________________________________ |>| Javascript mailing list |>| Javascript at LaTech.edu |>| http://www.LaTech.edu/mailman/listinfo/javascript |>| |> |>_______________________________________________ |>Javascript mailing list |>Javascript at LaTech.edu |>http://www.LaTech.edu/mailman/listinfo/javascript | |_______________________________________________ |Javascript mailing list |Javascript at LaTech.edu |http://www.LaTech.edu/mailman/listinfo/javascript | From phumes1 at home.com Thu Oct 18 21:20:01 2001 From: phumes1 at home.com (phumes1 at home.com) Date: Thu, 18 Oct 2001 22:20:01 -0400 Subject: [Javascript] Re: Opening file in another app In-Reply-To: References: <5.1.0.14.0.20011018185328.009eee30@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011018221916.009ec970@mail.wlfdle1.on.wave.home.com> At 08:11 PM 10/18/01 -0500, you wrote: > Ah so. > > If you want a clicked file to open in UltraEdit, then it must be the >primary app registered for that file type. It is. >Basically, you're not going to >be able to do this without telling all of your users to make registry >tweaks... which probably won't happen. What type of registry tweaks? >|-----Original Message----- >|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On >|Behalf Of phumes1 at home.com >|Sent: Thursday, October 18, 2001 6:11 PM >|To: javascript at LaTech.edu >|Subject: Re: [Javascript] Re: Opening file in another app >| >| >| >|UltraEdit is setup to open .txt and .dat file extensions. I'm not sure how >|to get it to open up in UltraEdit from a link >|with my page? >| >| >|At 04:45 PM 10/18/01 -0500, you wrote: >| >|> If the user has an application registered to handle the >|pertinent file >|>type, then it will be opened in that application. You can't >|really control >|>this from the server (although you can force it to save instead of opening >|>by pushing an unknown mimetype). >|> >|>----- Original Message ----- >|>From: >|>To: >|>Sent: Thursday, October 18, 2001 4:08 PM >|>Subject: [Javascript] Re: Opening file in another app >|> >|> >|>| >|>| I have a list of files which have ... around them. When a >|>| user clicks on a link, how can I have that "filename" open in >|UltraEdit or >|>| WordPad on the users PC? Has anyone done anything like this? >|>| >|>| _______________________________________________ >|>| Javascript mailing list >|>| Javascript at LaTech.edu >|>| http://www.LaTech.edu/mailman/listinfo/javascript >|>| >|> >|>_______________________________________________ >|>Javascript mailing list >|>Javascript at LaTech.edu >|>http://www.LaTech.edu/mailman/listinfo/javascript >| >|_______________________________________________ >|Javascript mailing list >|Javascript at LaTech.edu >|http://www.LaTech.edu/mailman/listinfo/javascript >| > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From peter at brunone.com Thu Oct 18 21:44:57 2001 From: peter at brunone.com (Peter Brunone) Date: Thu, 18 Oct 2001 21:44:57 -0500 Subject: [Javascript] Re: Opening file in another app In-Reply-To: <5.1.0.14.0.20011018221916.009ec970@mail.wlfdle1.on.wave.home.com> Message-ID: |What type of registry tweaks? The kind that will make UltraEdit the primary (default) editor for opening text files. This can be done through Windows Explorer, but most people won't already have it set up this way. |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |Behalf Of phumes1 at home.com |Sent: Thursday, October 18, 2001 9:20 PM |To: javascript at LaTech.edu |Subject: RE: [Javascript] Re: Opening file in another app | | |At 08:11 PM 10/18/01 -0500, you wrote: | |> Ah so. |> |> If you want a clicked file to open in UltraEdit, then it |must be the |>primary app registered for that file type. | |It is. | |>Basically, you're not going to |>be able to do this without telling all of your users to make registry |>tweaks... which probably won't happen. | |What type of registry tweaks? | |>|-----Original Message----- |>|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |>|Behalf Of phumes1 at home.com |>|Sent: Thursday, October 18, 2001 6:11 PM |>|To: javascript at LaTech.edu |>|Subject: Re: [Javascript] Re: Opening file in another app |>| |>| |>| |>|UltraEdit is setup to open .txt and .dat file extensions. I'm |not sure how |>|to get it to open up in UltraEdit from a link |>|with my page? |>| |>| |>|At 04:45 PM 10/18/01 -0500, you wrote: |>| |>|> If the user has an application registered to handle the |>|pertinent file |>|>type, then it will be opened in that application. You can't |>|really control |>|>this from the server (although you can force it to save instead |of opening |>|>by pushing an unknown mimetype). |>|> |>|>----- Original Message ----- |>|>From: |>|>To: |>|>Sent: Thursday, October 18, 2001 4:08 PM |>|>Subject: [Javascript] Re: Opening file in another app |>|> |>|> |>|>| |>|>| I have a list of files which have ... around |them. When a |>|>| user clicks on a link, how can I have that "filename" open in |>|UltraEdit or |>|>| WordPad on the users PC? Has anyone done anything like this? |>|>| |>|>| _______________________________________________ |>|>| Javascript mailing list |>|>| Javascript at LaTech.edu |>|>| http://www.LaTech.edu/mailman/listinfo/javascript |>|>| |>|> |>|>_______________________________________________ |>|>Javascript mailing list |>|>Javascript at LaTech.edu |>|>http://www.LaTech.edu/mailman/listinfo/javascript |>| |>|_______________________________________________ |>|Javascript mailing list |>|Javascript at LaTech.edu |>|http://www.LaTech.edu/mailman/listinfo/javascript |>| |> |>_______________________________________________ |>Javascript mailing list |>Javascript at LaTech.edu |>http://www.LaTech.edu/mailman/listinfo/javascript | |_______________________________________________ |Javascript mailing list |Javascript at LaTech.edu |http://www.LaTech.edu/mailman/listinfo/javascript | From phumes1 at home.com Fri Oct 19 05:59:34 2001 From: phumes1 at home.com (phumes1) Date: Fri, 19 Oct 2001 06:59:34 -0400 Subject: [Javascript] Re: Opening file in another app In-Reply-To: References: <5.1.0.14.0.20011018221916.009ec970@mail.wlfdle1.on.wave.home.com> Message-ID: <5.1.0.14.0.20011019064900.009e88c0@mail.wlfdle1.on.wave.home.com> Yes I know how to do that but I want to open a file within a web browser in UltraEdit by clicking on a file. At 09:44 PM 10/18/01 -0500, you wrote: >|What type of registry tweaks? > > The kind that will make UltraEdit the primary (default) editor > for opening >text files. This can be done through Windows Explorer, but most people >won't already have it set up this way. > >|-----Original Message----- >|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On >|Behalf Of phumes1 at home.com >|Sent: Thursday, October 18, 2001 9:20 PM >|To: javascript at LaTech.edu >|Subject: RE: [Javascript] Re: Opening file in another app >| >| >|At 08:11 PM 10/18/01 -0500, you wrote: >| >|> Ah so. >|> >|> If you want a clicked file to open in UltraEdit, then it >|must be the >|>primary app registered for that file type. >| >|It is. >| >|>Basically, you're not going to >|>be able to do this without telling all of your users to make registry >|>tweaks... which probably won't happen. >| >|What type of registry tweaks? >| >|>|-----Original Message----- >|>|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On >|>|Behalf Of phumes1 at home.com >|>|Sent: Thursday, October 18, 2001 6:11 PM >|>|To: javascript at LaTech.edu >|>|Subject: Re: [Javascript] Re: Opening file in another app >|>| >|>| >|>| >|>|UltraEdit is setup to open .txt and .dat file extensions. I'm >|not sure how >|>|to get it to open up in UltraEdit from a link >|>|with my page? >|>| >|>| >|>|At 04:45 PM 10/18/01 -0500, you wrote: >|>| >|>|> If the user has an application registered to handle the >|>|pertinent file >|>|>type, then it will be opened in that application. You can't >|>|really control >|>|>this from the server (although you can force it to save instead >|of opening >|>|>by pushing an unknown mimetype). >|>|> >|>|>----- Original Message ----- >|>|>From: >|>|>To: >|>|>Sent: Thursday, October 18, 2001 4:08 PM >|>|>Subject: [Javascript] Re: Opening file in another app >|>|> >|>|> >|>|>| >|>|>| I have a list of files which have ... around >|them. When a >|>|>| user clicks on a link, how can I have that "filename" open in >|>|UltraEdit or >|>|>| WordPad on the users PC? Has anyone done anything like this? >|>|>| >|>|>| _______________________________________________ >|>|>| Javascript mailing list >|>|>| Javascript at LaTech.edu >|>|>| http://www.LaTech.edu/mailman/listinfo/javascript >|>|>| >|>|> >|>|>_______________________________________________ >|>|>Javascript mailing list >|>|>Javascript at LaTech.edu >|>|>http://www.LaTech.edu/mailman/listinfo/javascript >|>| >|>|_______________________________________________ >|>|Javascript mailing list >|>|Javascript at LaTech.edu >|>|http://www.LaTech.edu/mailman/listinfo/javascript >|>| >|> >|>_______________________________________________ >|>Javascript mailing list >|>Javascript at LaTech.edu >|>http://www.LaTech.edu/mailman/listinfo/javascript >| >|_______________________________________________ >|Javascript mailing list >|Javascript at LaTech.edu >|http://www.LaTech.edu/mailman/listinfo/javascript >| > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From gassinaumasis at hotmail.com Fri Oct 19 09:31:15 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 19 Oct 2001 14:31:15 +0000 Subject: [Javascript] Refreshing only one image Message-ID: >I have a page which has one image. Now I want to make a function that will >change the image every 5 minutes. But I don't want to refresh/reload the >whole page only the image should change. Does anybody have an idea how to >make this? http://www.xs4all.nl/~ppk/js/index.html?rotate.html ppk _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From nealweb at telusplanet.net Fri Oct 19 10:17:13 2001 From: nealweb at telusplanet.net (Craig Neal) Date: Fri, 19 Oct 2001 15:17:13 GMT Subject: [Javascript] Refreshing only one image Message-ID: <3bd043f9.5fe1.0@telusplanet.net> I suppose you could lay out your page with frames and have that image in a frame of its own that is set to refresh every 5 minutes. > > > >>I have a page which has one image. Now I want to make a function that will >>change the image every 5 minutes. But I don't want to refresh/reload the >>whole page only the image should change. Does anybody have an idea how to >>make this? > >http://www.xs4all.nl/~ppk/js/index.html?rotate.html > >ppk > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript > From Esther_Strom at hmco.com Fri Oct 19 15:32:14 2001 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Fri, 19 Oct 2001 15:32:14 -0500 Subject: [Javascript] window.print() problems on Mac Message-ID: I'm using a window.print() function in the onLoad of a form (I know, generally it's rude and obnoxious to force printing, but this is an intranet application and there are reasons for it, so no lecture please!) It works just fine in NS and IE on the PC, and in IE on the Mac. But in Netscape on the Mac, it seems to be stuck in some kind of loop - it brings up the print dialog, you click OK, it prints, then brings up the print dialog again. You can hit cancel at this point and have it go away, but I'm curious as to why it's doing it in the first place. Does NS on the Mac reload a document after it's printed, thereby forcing this particular function into an endless loop? Here's the code: function runPrint(){ if (document.forms[0].ErrorText.value ==""){ window.print(); } } As I said, it's called in onLoad. Thanks for any insight you can provide. ~Esther From Quixote at LaMancha.org Fri Oct 19 17:07:35 2001 From: Quixote at LaMancha.org (Ben Curtis) Date: Fri, 19 Oct 2001 15:07:35 -0700 Subject: [Javascript] window.print() problems on Mac In-Reply-To: Message-ID: > Does NS on the Mac > reload a document after it's printed, thereby forcing this particular > function into an endless loop? Exactly. Sort of. In order to print to paper what you see on the screen, I believe (from my own tests) that Mac NN will re-render the page in new dimensions -- including re-running javascript in case portions of the page come from document.write commands. So the page first renders and triggers an onload, and then the page renders again for printing -- triggering the onload. -- +Ben Curtis Descartes walks into a bar. "The usual?" he's asked. "I think not!" and he promptly vanishes. From reubendb at goshen.edu Sat Oct 20 08:08:31 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Sat, 20 Oct 2001 08:08:31 -0500 Subject: [Javascript] Link to run a local application Message-ID: Hi, I am building a web application for my local intranet network. I am wondering if there is anyway we can make a link in a website to run a local application in local machine (win 98) using javascript. Something like Run this app ? This is just for intern administration, so I am not worry about security and all. Most the application is web based app, but there is this one app that cannot be web-based, and need to be run locally. However, I think it will be most intutitive and consistent if the user can navigate all that through the same site. Thanks in advance for any reply. Reuben D. Budiardja From mallard at mallard-design.com Sat Oct 20 09:55:50 2001 From: mallard at mallard-design.com (Tom Mallard) Date: Sat, 20 Oct 2001 07:55:50 -0700 Subject: [Javascript] Link to run a local application References: Message-ID: <009401c15977$500a09e0$e38727d8@mallard> In a word, no, but you can call an windows host script (usually using asp) which will run it. tom mallard seattle ----- Original Message ----- From: "Reuben D Budiardja" To: Sent: Saturday, October 20, 2001 6:08 AM Subject: [Javascript] Link to run a local application > > Hi, > I am building a web application for my local intranet network. > I am wondering if there is anyway we can make a link in a website to run a > local application in local machine (win 98) using javascript. > > Something like > Run this app > > ? > > This is just for intern administration, so I am not worry about security and > all. Most the application is web based app, but there is this one app that > cannot be web-based, and need to be run locally. However, I think it will be > most intutitive and consistent if the user can navigate all that through the > same site. > > Thanks in advance for any reply. > Reuben D. Budiardja > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From elga_vaeieses_abutligt at yahoo.com Sun Oct 21 02:42:55 2001 From: elga_vaeieses_abutligt at yahoo.com (elga_vaeieses_abutligt at yahoo.com) Date: Sun, 21 Oct 2001 00:42:55 -0700 Subject: [Javascript] Your email ! Message-ID: <20011020234325.07ABF33745@scorpion.LaTech.edu> Hi ! all OK now!! from the email it is ready to make an arrangement now that I know you are OK. you can see a video of me since going to my club website at http://www.vid-date.com/1hmi665666 where you can and my phone number is on it when you see the video or you can email page me to make an arrangement now that it isyou to move now !!! Elga xxx From lau at goldenweb.com.au Sun Oct 21 11:29:23 2001 From: lau at goldenweb.com.au (Lau) Date: Mon, 22 Oct 2001 02:29:23 +1000 Subject: [Javascript] closing child windows References: <002b01c15824$5550f340$6058b23f@ELOY01499A> Message-ID: <00bf01c15a4d$8c0983e0$6800a8c0@laubox> Hi, Can anyone tell me what I need to put in the onunload of a parent window so that it will close all the child windows when the parent is unloaded? Do I need to manually keep track of the child windows in variables or is there an easier way? Thanks in advance Lau From gassinaumasis at hotmail.com Mon Oct 22 03:11:29 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Mon, 22 Oct 2001 08:11:29 +0000 Subject: [Javascript] closing child windows Message-ID: >Can anyone tell me what I need to put in the onunload of a parent window so >that it will close all >the child windows when the parent is unloaded? > >Do I need to manually keep track of the child windows in variables or is >there an easier way? Yes, you have to keep track manually. ppk _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From andyg at ihug.co.nz Mon Oct 22 03:34:17 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Mon, 22 Oct 2001 21:34:17 +1300 Subject: [Javascript] Netscape 4 References: Message-ID: <005801c15ad4$576b4920$a0caadcb@k1n8i8> I have to do a drop down menu that will work in NS 4.0 ! I'm trying to have a layer hidden as below....it hides the text in the link ok, but when I hover the mouse over it, the cursor acts as if the link is there and on clicking, takes me to the page! It works ok with position:absolute Andrew Gibson From gassinaumasis at hotmail.com Mon Oct 22 05:35:42 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Mon, 22 Oct 2001 10:35:42 +0000 Subject: [Javascript] Netscape 4 Message-ID: >I have to do a drop down menu that will work in NS 4.0 ! > >I'm trying to have a layer hidden as below....it hides the text in the link >ok, but when I hover the mouse over it, the cursor acts as if the link is >there and on clicking, takes me to the page! > >It works ok with position:absolute position: relative is buggy in NN4. It works, but in your case links remain clickable while if you position two relative layers on top of each other (even partially) none of the links will work. Go for position: absolute if it must work in NN4. ppk _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From w.morgan at rca.ac.uk Mon Oct 22 05:54:13 2001 From: w.morgan at rca.ac.uk (Winsome Morgan) Date: Mon, 22 Oct 2001 11:54:13 +0100 Subject: [Javascript] controlling layer visibility from another page Message-ID: <01C15AF0.46195240@dhcp-159-t05.admin.rca.ac.uk> hi there, i am trying to control layer visibility when clicking a link from another page. i have a series of text based menu items which i would like to access from external links. i created the layers in dreamweaver and need a script that will force hidden layers to show when accessed from another page. any clues Winsome Morgan From cutterbl at hotmail.com Mon Oct 22 07:26:34 2001 From: cutterbl at hotmail.com (Cutter Bl) Date: Mon, 22 Oct 2001 08:26:34 -0400 Subject: [Javascript] Netscape 4 Message-ID: An HTML attachment was scrubbed... URL: From andyg at ihug.co.nz Mon Oct 22 14:47:43 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Tue, 23 Oct 2001 08:47:43 +1300 Subject: [Javascript] controlling layer visibility from another page References: <01C15AF0.46195240@dhcp-159-t05.admin.rca.ac.uk> Message-ID: <005301c15b32$6b4d3940$fdcaadcb@k1n8i8> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: [Javascript] controlling layer visibility from another page hi there, i am trying to control layer visibility when clicking a link from another page. i have a series of text based menu items which i would like to access from external links. i created the layers in dreamweaver and need a script that will force hidden layers to show when accessed from another page. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Can't you put the layers you want to show in a querystring? Go Then grab the id's and script accordingly. Alternatively, can you use the document.referrer property to get the referring page and script the layers based on that? Andrew Gibson From bill.marriott at optusnet.com.au Mon Oct 22 21:24:19 2001 From: bill.marriott at optusnet.com.au (Bill Marriott) Date: Tue, 23 Oct 2001 12:24:19 +1000 Subject: [Javascript] Re: targeting popup windows References: <01C15AF0.46195240@dhcp-159-t05.admin.rca.ac.uk> <005301c15b32$6b4d3940$fdcaadcb@k1n8i8> Message-ID: <000701c15b69$d301f8a0$9d778ec6@toshiba> Hi Everyone, I'm having trouble getting a document (myhelp) to load in a popup window (helpPop). Because I need to post a variable before the document is loaded (to filter the records) I am using a form.
and Javascript to build the new window. ( by the way $WEB_HOME and MIval are Informix) var helpPop; function showHelp() { helpPop = open("","","SCROLLBARS=YES,RESIZABLE=YES,WIDTH=450,HEIGHT=500,LEFT=350,TOP=50"); if (!helpPop.opener) helpPop.opener = self; document.helpForm.MIval.value='myhelp'; document.helpForm.submit(); } However the document opens in another window, after the blank helpPop window opens. Can anyone see what I'm doing wrong? thanks Bill From phumes1 at home.com Tue Oct 23 12:07:09 2001 From: phumes1 at home.com (phumes1) Date: Tue, 23 Oct 2001 13:07:09 -0400 Subject: [Javascript] Re: Using JS to run program on client Message-ID: <5.1.0.14.0.20011023130613.009ea830@mail.wlfdle1.on.wave.home.com> Hi, Is there a way with JS to run a program (.bat, .com or .exe) on the client PC rather than on the server? From Quixote at LaMancha.org Tue Oct 23 12:24:52 2001 From: Quixote at LaMancha.org (Ben Curtis) Date: Tue, 23 Oct 2001 10:24:52 -0700 Subject: [Javascript] Re: Using JS to run program on client In-Reply-To: <5.1.0.14.0.20011023130613.009ea830@mail.wlfdle1.on.wave.home.com> Message-ID: > Is there a way with JS to run a program (.bat, .com or .exe) on the client > PC rather than on the server? Not if people properly patch their Microsoft security holes. I understand that there might be dozens of legitimate reasons for needing this functionality, but if a browser were to allow you to do that then it would also allow Joe Cracker to run delete_the_C_drive.bat -- yuck. For that reason it is very dangerous, and not allowed. -- +Ben Curtis Two guys walk into a bar. The third guy ducks and goes around it. From mgarland at rpa.com Tue Oct 23 14:43:55 2001 From: mgarland at rpa.com (matthew garland) Date: 23 Oct 01 12:43:55 -0700 Subject: [Javascript] replace Message-ID: <200110231243185.SM00126@cre_sm_012> Hi, Learning a little Javacript beyond "window.open". Hope you can help. This is the set up: I have two frames on a page: "home" with a home.html page, and "dummy" with a blank dummy.html page. The home frame has a Flash movie embedded in it. The dummy frame is an invisible one-pixel frame. When I want to communicate between Flash and the window, only one action is supported in all 4.0+ browsers--the link or Flash "getURL()" command. So the workaround is this: the Flash calls a page into the "dummy" frame (getURL ("aPopUP.html","dummy"//to target the frame), which in turn executes Javascript within the onload handler. This works like a charm, and I use it to call pop ups from the Flash movie. But here's the problem: when the user tries to leave the site, and hits the back button, all the pop ups come up again, because the back button is retreading the history of the window. Each dummy page is called up again, and "onload"--the pop up comes up. YRRECH! Annoying, especially since my site is a FLash site that loads a lot of long text in pop ups. I only know enough Javascript to open pop ups, but my reseach has led me to at least one solution: if every time the dummy pages loaded, they fired off the pop ups, then waited a second and then used the replace command to return the location of the dummy frame back to the original "dummy.html," there would be no history and the back button would take you right out of the site, with no retread of the pop ups. but I can't get the code to work: {//in the header of each dummy page function popUp () window.open (page,window,features) } function eraseHistory() { setTimeout ('location.replace('dummy.html')',1000) } //in the onload handler of the dummy page onload="popUp();eraseHistory()" Not only does this not work, it makes the pop Up not work! Is there something wrong with my code? I know nothing.Help! Thanks in advance Matt From atl_x at yahoo.com Wed Oct 24 04:20:00 2001 From: atl_x at yahoo.com (atl_x at yahoo.com) Date: Wed, 24 Oct 2001 09:20:00 -0000 Subject: [Javascript] Displaying a Div Before Window.Open Message-ID: <9r6140+i7sq@eGroups.com> How can I display a div just before a Window Opens? The Div- Hourglass - Shows after the window opens and I want it to show before. Please help me. The function is below. function showFormKiller( RegID ) { oHourGlass = document.all.HourGlass oHourGlass.style.visibility = "visible"; window.open( "FormKiller.asp?RegID=" + RegID , "FormKiller", 'fullscreen' ); } From cutterbl at hotmail.com Wed Oct 24 08:17:38 2001 From: cutterbl at hotmail.com (Cutter Bl) Date: Wed, 24 Oct 2001 09:17:38 -0400 Subject: [Javascript] Displaying a Div Before Window.Open Message-ID: An HTML attachment was scrubbed... URL: From filipiab at atsc.army.mil Wed Oct 24 08:19:34 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Wed, 24 Oct 2001 09:19:34 -0400 Subject: [Javascript] replace Message-ID: IMHO you are starting out with two strikes against you: 1. Flash; 2. Frames ;-) Having said that, try putting your popup() and eraseHistory() functions in the of the main page that defines the frameset. Bob Filipiak (Contractor) -----Original Message----- From: matthew garland [mailto:mgarland at rpa.com] Sent: Tuesday, October 23, 2001 3:44 PM To: javascript at LaTech.edu Subject: [Javascript] replace Hi, Learning a little Javacript beyond "window.open". Hope you can help. This is the set up: I have two frames on a page: "home" with a home.html page, and "dummy" with a blank dummy.html page. The home frame has a Flash movie embedded in it. The dummy frame is an invisible one-pixel frame. When I want to communicate between Flash and the window, only one action is supported in all 4.0+ browsers--the link or Flash "getURL()" command. So the workaround is this: the Flash calls a page into the "dummy" frame (getURL ("aPopUP.html","dummy"//to target the frame), which in turn executes Javascript within the onload handler. This works like a charm, and I use it to call pop ups from the Flash movie. But here's the problem: when the user tries to leave the site, and hits the back button, all the pop ups come up again, because the back button is retreading the history of the window. Each dummy page is called up again, and "onload"--the pop up comes up. YRRECH! Annoying, especially since my site is a FLash site that loads a lot of long text in pop ups. I only know enough Javascript to open pop ups, but my reseach has led me to at least one solution: if every time the dummy pages loaded, they fired off the pop ups, then waited a second and then used the replace command to return the location of the dummy frame back to the original "dummy.html," there would be no history and the back button would take you right out of the site, with no retread of the pop ups. but I can't get the code to work: {//in the header of each dummy page function popUp () window.open (page,window,features) } function eraseHistory() { setTimeout ('location.replace('dummy.html')',1000) } //in the onload handler of the dummy page onload="popUp();eraseHistory()" Not only does this not work, it makes the pop Up not work! Is there something wrong with my code? I know nothing.Help! Thanks in advance Matt _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From lcoliveira at atenda.com.br Wed Oct 24 09:03:41 2001 From: lcoliveira at atenda.com.br (=?ISO-8859-1?B?THVpcyBDbOF1ZGlvIE9saXZlaXJh?=) Date: Wed, 24 Oct 2001 12:03:41 -0200 Subject: [Javascript] Convite para se cadastrar no SITE ATENDA (Shopping by Email) Message-ID: <20011024140451.72AC033741@scorpion.LaTech.edu> O nosso sistema ATENDA: Shopping by Email tem recebido requisi??es de pessoas procurando e querendo comprar Pentes de Mem?ria e outros acess?rios de Inform?tica... Por isso estamos convidando voc? a cadastrar suas atividades comerciais no nosso site - cujo servi?o ? 100% gratuito nestes primeiros meses de atua??o. Voc? passar? a receber por e-mail requisi??es de compra de pessoas genuinamente interessadas em adquirir produtos e servi?os ligados ? sua atividade econ?mica. Cadastre-se j? e n?o perca esta oportunidade de VENDER mais sem nenhum custo adicional. Caso voc? n?o seja fornecedor, torne-se um usu?rio do ATENDA. ? totalmente GR?TIS e ALGU?M SEMPRE RESPONDE. Muito obrigado Luis C. Oliveira Diretor Comercial do ATENDA lcoliveira at atenda.com.br http://www.atenda.com.br Promo??o Outubro: neste m?s ser? sorteada uma bolsa de ingl?s da House of English.com dentre aqueles que se cadastrarem no Site ATENDA.COM.BR. Al?m de receber e-mails de pessoas VERDADEIRAMENTE interessadas em comprar, quem se inscrever ainda vai ter a chance de aprimorar seu ingl?s sem pagar nada! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6969 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6993 bytes Desc: not available URL: From MichaelS at icomxpress.com Wed Oct 24 09:54:51 2001 From: MichaelS at icomxpress.com (Michael Spampinato) Date: Wed, 24 Oct 2001 10:54:51 -0400 Subject: [Javascript] Remove browser toolbar? Message-ID: <3498C1A853D7794D8AC24D9AD08CD8C3186776@april.NASHUA1> Is it possible to remove the browser toolbar after an instance of the browser (IE 5.x and above and/or Netscape 6) window is already created? I have seen many examples of the Window.Open javascript function where I can set the third parameter to "toolbar=no" but I don't have control of how the user opens the browser window so I can't use that function. Any ideas or am I just missing something? Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From rvchalam at vsnl.com Thu Oct 25 01:27:29 2001 From: rvchalam at vsnl.com (R.Venkatachalam) Date: Thu, 25 Oct 2001 11:57:29 +0530 Subject: [Javascript] How to do scripting inside a html email In-Reply-To: <5.1.0.14.0.20011023130613.009ea830@mail.wlfdle1.on.wave.home.com> Message-ID: Hello! How can we do scripting in a html email that we send to clients? For example, like submitting hidden fields in a form through a javascript function. I tried but email clients are not executing the script. Any alternatives available? Regards, R.Venkatachalam www.venkatachalam.com Internet Consultant From cutterbl at hotmail.com Thu Oct 25 07:45:22 2001 From: cutterbl at hotmail.com (Cutter Bl) Date: Thu, 25 Oct 2001 08:45:22 -0400 Subject: [Javascript] How to do scripting inside a html email Message-ID: An HTML attachment was scrubbed... URL: From liset at prensa-latina.cu Thu Oct 25 19:09:46 2001 From: liset at prensa-latina.cu (Liset Liy) Date: Thu, 25 Oct 2001 19:09:46 -0500 Subject: [Javascript] (no subject) Message-ID: <004901c15db2$8571bcb0$0d0ca8c0@trinity> Hola a todos, Mi duda es por una funcion que programe para que se ejecutara en el onClick de los links, cuyo objetivo es cambiar el color del link activo en blanco y el del resto en negro (este efecto no podia lograrlo con la propiedad alink del body porque la pagina era parte de un frame y cuando se clickeaba en otra pagina del frame el link dejaba de ser activo y cambiaba de color, cosa q' no era deseada!) Luego, porgrame esta funcion que por algun motivo solo me deja ver los efectos (cambios de colores) cuando coloco un alert al inicio (el que esta entre comentarios)... pero si quito el alert o lo cambio de lugar (al final, para asegurarme que la funcion se esta ejecutando completa) entonces no se visualiza el efecto y sin embargo la funcion se ejecuta!! function clicker(elem1,elem2,elem3,elem4,elem5,elem6,elem7,elem8,elem9,text) { //alert("if"); elem1.style.color = "#ffffff"; elem2.style.color = "#000000"; elem3.style.color = "#000000"; elem4.style.color = "#000000"; elem5.style.color = "#000000"; elem6.style.color = "#000000"; elem7.style.color = "#000000"; elem8.style.color = "#000000"; elem9.style.color = "#000000"; return true; } Mi duda es si el alert provoca algun evento q' hace q' el browser repinte?? En caso de ser asi, como puedo invocar yo misma dicho evento para poder lograr el mismo efecto?? De no ser asi, por favor, agradeceria que alguien me explicara el por que de este raro comportamiento y como solucionar que los cambios de colores sean visibles. Agradeciendoles de antemano, Liset. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liset at prensa-latina.cu Thu Oct 25 19:31:35 2001 From: liset at prensa-latina.cu (Liset Liy) Date: Thu, 25 Oct 2001 19:31:35 -0500 Subject: [Javascript] (no subject) Message-ID: <005e01c15db5$91cd2910$0d0ca8c0@trinity> Hi folks, I'm in doubt about a function programmed by me for the onClick event links. The reason of that function is to change the color of the active link to white and set black the color of rest - that efect was not possible with the alink property because the page is part of a frame so, when you click another page of the frame that link was not the active so the color changed, and that was no the desired efect! So, I programmed that function but it's not working well. For some reason I can see the desired efect just when add an alert statement at the begininig - which is marked by comment. But, if there's not the alert or if there is the alert just before the return statement for example - what enssure that the function was executed completely! - the efects are not vissibles. function clicker(elem1,elem2,elem3,elem4,elem5,elem6,elem7,elem8,elem9,text) { //alert("if"); elem1.style.color = "#ffffff"; elem2.style.color = "#000000"; elem3.style.color = "#000000"; elem4.style.color = "#000000"; elem5.style.color = "#000000"; elem6.style.color = "#000000"; elem7.style.color = "#000000"; elem8.style.color = "#000000"; elem9.style.color = "#000000"; return true; } My doubt is if the alert cause some event that cause that the browser repaint ?? In that case, how can I evoke that event without the alert?? In other case, please, I'll really appreciate if somebody explain me why my function is not working well and how can I fix the problem. Any help is appreciated! Yours, Liset. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at aflyingstart.net Fri Oct 26 04:36:15 2001 From: rodney at aflyingstart.net (Rodney Myers) Date: Fri, 26 Oct 2001 10:36:15 +0100 Subject: [Javascript] (no subject) References: <005e01c15db5$91cd2910$0d0ca8c0@trinity> Message-ID: <3BD92E8F.4FA2B706@aflyingstart.net> Liset, The "Active link" is only "Active" for a very short time. It does not remain "Active" simply because the page its HREF points to has loaded. It may be possible to look through the links array and find matches between the HREF and the location of the loaded page in the other frame. When a match is found reset the link and/or visited link colour. Let us know how you get on Rodney Liset Liy wrote: > Hi folks,I'm in doubt about a function programmed by me for the > onClick event links. The reason of that function is to change the > color of the active link to white and set black the color of rest - > that efect was not possible with the alink property because the page > is part of a frame so, when you click another page of the frame that > link was not the active so the color changed, and that was no the > desired efect!So, I programmed that function but it's not working > well. For some reason I can see the desired efect just when add an > alert statement at the begininig - which is marked by comment. But, if > there's not the alert or if there is the alert just before the return > statement for example - what enssure that the function was executed > completely! - the efects are not vissibles. function > clicker(elem1,elem2,elem3,elem4,elem5,elem6,elem7,elem8,elem9,text) { > //alert("if"); > elem1.style.color = "#ffffff"; > elem2.style.color = "#000000"; > elem3.style.color = "#000000"; > elem4.style.color = "#000000"; > elem5.style.color = "#000000"; > elem6.style.color = "#000000"; > elem7.style.color = "#000000"; > elem8.style.color = "#000000"; > elem9.style.color = "#000000"; > return true; > } My doubt is if the alert cause some event that cause that the > browser repaint ?? In that case, how can I evoke that event without > the alert?? In other case, please, I'll really appreciate if somebody > explain me why my function is not working well and how can I fix the > problem. Any help is appreciated!Yours,Liset. -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ Enquiries regarding Shop at ssistant Classic training : Call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From HowardSalter at penningtonseed.com Fri Oct 26 10:22:50 2001 From: HowardSalter at penningtonseed.com (Howard Salter) Date: Fri, 26 Oct 2001 11:22:50 -0400 Subject: [Javascript] Include Problem Message-ID: <2130AF3FBA8BD311961A0050DA157EB08AB832@penn_nt4.PenningtonSeed.com> I've been beating my head against a wall trying to figure out why I can't make an include work, so now I'm going to ask you all. I've got a place in the middle of my asp page where I include another ASP page. I want to determine from the query string (I already have a query string parsing function) which asp file I want to include. My problem is, that after the --> in my include everything becomes plain text. Here's an example of the code: if QueryString("cond") = "CONDITION1" { document.write (""); } else if QueryString("cond") = "CONDITION2" { document.write (""); } Beware the wrap. TIA, Howard From BELANGERJ at EM.AGR.CA Fri Oct 26 10:23:16 2001 From: BELANGERJ at EM.AGR.CA (Jason Belanger) Date: Fri, 26 Oct 2001 11:23:16 -0400 Subject: [Javascript] Include Problem Message-ID: Hi Howard, You cannot have dynamic includes in your pages either by way of JavaScript or ASP. The include section gets processed by the server before you even get the page. There is a way to do it but I suggest you look into the ASP ListServ: http://list.15seconds.com/scripts/lyris.pl?enter=activeserverpages&text_mode=0 Watch for the wrap. Jason Jason Belanger Web Technologies System Specialist (613) 759-7809 belangerj at em.agr.ca http://www.agr.ca/ >>> HowardSalter at penningtonseed.com 10/26/01 11:22AM >>> I've been beating my head against a wall trying to figure out why I can't make an include work, so now I'm going to ask you all. I've got a place in the middle of my asp page where I include another ASP page. I want to determine from the query string (I already have a query string parsing function) which asp file I want to include. My problem is, that after the --> in my include everything becomes plain text. Here's an example of the code: if QueryString("cond") = "CONDITION1" { document.write (""); } else if QueryString("cond") = "CONDITION2" { document.write (""); } Beware the wrap. TIA, Howard _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From rodney at aflyingstart.net Fri Oct 26 10:28:46 2001 From: rodney at aflyingstart.net (Rodney Myers) Date: Fri, 26 Oct 2001 16:28:46 +0100 Subject: [Javascript] Include Problem References: <2130AF3FBA8BD311961A0050DA157EB08AB832@penn_nt4.PenningtonSeed.com> Message-ID: <3BD9812E.F7ED73FC@aflyingstart.net> Howard, It is my understanding that #includes are resolved before any server side code is parsed. Since the included file may contain executable code this is something to be thankful for really. even though it makes what you are trying to do not possible. Rodney Howard Salter wrote: > I've been beating my head against a wall trying to figure out why I can't > make an include work, so now I'm going to ask you all. > > I've got a place in the middle of my asp page where I include another ASP > page. I want to determine from the query string (I already have a query > string parsing function) which asp file I want to include. My problem is, > that after the --> in my include everything becomes plain text. Here's an > example of the code: > > if QueryString("cond") = "CONDITION1" > { > document.write (""); > } > else if QueryString("cond") = "CONDITION2" > { > document.write (""); > > } > > Beware the wrap. > > TIA, > Howard > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ Enquiries regarding Shop at ssistant Classic training : Call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From zack_attack190 at yahoo.com Fri Oct 26 11:24:15 2001 From: zack_attack190 at yahoo.com (Zack Attack) Date: Fri, 26 Oct 2001 09:24:15 -0700 (PDT) Subject: [Javascript] How to handle when the enter key pressed Message-ID: <20011026162415.92000.qmail@web11605.mail.yahoo.com> Hello all, This is my first question on this list so be cool to me! When a user presses the enter key it resets the form. Is their a reason not to do this? If not how do I trap this and move to the next control. Zack, A native son now exiled in texas, --------------------------------- Do You Yahoo!? Make a great connection at Yahoo! Personals. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregory.john.toland at census.gov Fri Oct 26 12:27:05 2001 From: gregory.john.toland at census.gov (gregory.john.toland at census.gov) Date: Fri, 26 Oct 2001 13:27:05 -0400 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? Message-ID: I have the following code: Tabular Narrative In Netscape 4.X and IE 5.X the code: alert( document.MyForm.txtStep1[01].value ); returns "Narrative" In Netscape 6.1 the same code gives an error message in the Javascript console: "Error: document.myForm.txtStep1[1] has no properties." Did something change? In Netscape 6.1 if I use: alert( document.MyForm.txtStep1.value ); I get the correct answer, "Narrative". I cannot use this code in IE 5.X and NN 4.X, however. It gives a result of "undefined". Must we have different code for the two sets of browsers for accessing such basic properties of form elements? Is there any documentation out there that talks about this? According to http://developer.netscape.com/docs/manuals/js/client/jsref/radio.htm the last example shows my code should work under JS 1.3/NN 6.1. Any ideas? Gregory J Toland Sr. Systems Architect CHM, Inc. (301) 457-8058 tolan002 at census.gov From Quixote at LaMancha.org Fri Oct 26 12:28:01 2001 From: Quixote at LaMancha.org (Ben Curtis) Date: Fri, 26 Oct 2001 10:28:01 -0700 Subject: [Javascript] (no subject) In-Reply-To: <005e01c15db5$91cd2910$0d0ca8c0@trinity> Message-ID: function clicker(elem1,elem2,elem3,elem4,elem5,elem6,elem7,elem8,elem9,text) { //alert("if"); elem1.style.color = "#ffffff"; elem2.style.color = "#000000"; elem3.style.color = "#000000"; elem4.style.color = "#000000"; elem5.style.color = "#000000"; elem6.style.color = "#000000"; elem7.style.color = "#000000"; elem8.style.color = "#000000"; elem9.style.color = "#000000"; return true; } You are having problems with this having any affect because of the default action for the "return true" part. The "onclick" fires when the user releases the button, then your code executes and colors the link, but then the default action happens which is to send the href to the target frame and then color the link to the visited color instead of the active color. Try this, and let me know if it works: function clicker(elem1,elem2,elem3,elem4,elem5,elem6,elem7,elem8,elem9,text) { setTimeout('elem1.style.color = "#ffffff";', 10); setTimeout('elem2.style.color = "#000000";', 10); setTimeout('elem3.style.color = "#000000";', 10); setTimeout('elem4.style.color = "#000000";', 10); setTimeout('elem5.style.color = "#000000";', 10); setTimeout('elem6.style.color = "#000000";', 10); setTimeout('elem7.style.color = "#000000";', 10); setTimeout('elem8.style.color = "#000000";', 10); setTimeout('elem9.style.color = "#000000";', 10); return true; } -- +Ben Curtis "You must be the change you wish to see in the world." From rodney at aflyingstart.net Fri Oct 26 14:34:08 2001 From: rodney at aflyingstart.net (Rodney Myers) Date: Fri, 26 Oct 2001 20:34:08 +0100 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? References: Message-ID: <3BD9BAB0.67E0C3DB@aflyingstart.net> Gregory, I find the observations in your posting disturbing. The more so because as the 0 element is clearly marked as checked one might expect at least that its value would be returned if a construct such as document.MyForm.txtStep1.value is to give any value (or had you manually checked the [1] button?) Probably the browser anomaly will require special coding, but it will not be much good unless you can be sure that document.MyForm.txtStep1.value returns the value of a checked button - and of course it is quite possible to present a set of radio buttons with nothing checked. typeof() may help things along a fraction since it may be used (one hopes!!) to find "undefined" as in if ( typeof(document.MyForm.txtStep1.value) =="undefined") .... hth Rodney BTW I use this function to get values from rb sets function getRadioVal(rb){ var L=rb.length;var ret=""; for (var i = 0 ; i< L ; i++) { if(rb[i].checked) { ret=rb[i].value; break; } } return(ret); } This returns an empty string if nothing is checked gregory.john.toland at census.gov wrote: > I have the following code: > >
name="myForm" onSubmit="return true;"> > tabindex="1" > title="Tabular Profile" type="radio" > value="Tabular">Tabular > title="Narrative Profile" type="radio" > value="Narrative">Narrative >
> > In Netscape 4.X and IE 5.X the code: > > alert( document.MyForm.txtStep1[01].value ); > > returns "Narrative" > > In Netscape 6.1 the same code gives an error message in the Javascript > console: > > "Error: document.myForm.txtStep1[1] has no properties." > > Did something change? > > In Netscape 6.1 if I use: > > alert( document.MyForm.txtStep1.value ); > > I get the correct answer, "Narrative". I cannot use this code in IE 5.X > and NN 4.X, however. It gives a result of "undefined". Must we have > different code for the two sets of browsers for accessing such basic > properties of form elements? Is there any documentation out there that > talks about this? According to > http://developer.netscape.com/docs/manuals/js/client/jsref/radio.htm the > last example shows my code should work under JS 1.3/NN 6.1. Any ideas? > > Gregory J Toland > Sr. Systems Architect > CHM, Inc. > (301) 457-8058 > tolan002 at census.gov > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From gregory.john.toland at census.gov Fri Oct 26 15:15:56 2001 From: gregory.john.toland at census.gov (gregory.john.toland at census.gov) Date: Fri, 26 Oct 2001 16:15:56 -0400 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? Message-ID: You are correct in your first observation. I should have said "Tabular" is returned by the statement: alert( document.MyForm.txtStep1.value ); But your last bit of code is what I am exactly referring to. In Netscap 6.1 the code: function getRadioVal(rb){ var L=rb.length;var ret=""; for (var i = 0 ; i< L ; i++) { if(rb[i].checked) { ret=rb[i].value; break; } } return(ret); } does not work. At least I cannot get it to work. Have you tested this in 6.1? The expression, rb.length, is "undefined" when I pass into it, document.MyForm.txtStep1. Gregory >From Rodney Myers... Gregory, I find the observations in your posting disturbing. The more so because as the 0 element is clearly marked as checked one might expect at least that its value would be returned if a construct such as document.MyForm.txtStep1.value is to give any value (or had you manually checked the [1] button?) Probably the browser anomaly will require special coding, but it will not be much good unless you can be sure that document.MyForm.txtStep1.value returns the value of a checked button - and of course it is quite possible to present a set of radio buttons with nothing checked. typeof() may help things along a fraction since it may be used (one hopes!!) to find "undefined" as in if ( typeof(document.MyForm.txtStep1.value) =="undefined") .... hth Rodney BTW I use this function to get values from rb sets function getRadioVal(rb){ var L=rb.length;var ret=""; for (var i = 0 ; i< L ; i++) { if(rb[i].checked) { ret=rb[i].value; break; } } return(ret); } This returns an empty string if nothing is checked gregory.john.toland at census.gov wrote: > I have the following code: > >
name="myForm" onSubmit="return true;"> > tabindex="1" > title="Tabular Profile" type="radio" > value="Tabular">Tabular > title="Narrative Profile" type="radio" > value="Narrative">Narrative >
> > In Netscape 4.X and IE 5.X the code: > > alert( document.MyForm.txtStep1[01].value ); > > returns "Narrative" > > In Netscape 6.1 the same code gives an error message in the Javascript > console: > > "Error: document.myForm.txtStep1[1] has no properties." > > Did something change? > > In Netscape 6.1 if I use: > > alert( document.MyForm.txtStep1.value ); > > I get the correct answer, "Narrative". I cannot use this code in IE 5.X > and NN 4.X, however. It gives a result of "undefined". Must we have > different code for the two sets of browsers for accessing such basic > properties of form elements? Is there any documentation out there that > talks about this? According to > http://developer.netscape.com/docs/manuals/js/client/jsref/radio.htm the > last example shows my code should work under JS 1.3/NN 6.1. Any ideas? > > Gregory J Toland From hassan at webtuitive.com Fri Oct 26 15:38:41 2001 From: hassan at webtuitive.com (Hassan Schroeder) Date: Fri, 26 Oct 2001 13:38:41 -0700 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? References: Message-ID: <3BD9C9D1.EA5A5D1E@webtuitive.com> gregory.john.toland at census.gov wrote: >
name="myForm" onSubmit="return true;"> > tabindex="1" > title="Tabular Profile" type="radio" > value="Tabular">Tabular > title="Narrative Profile" type="radio" > value="Narrative">Narrative >
change id="txtStep1" to id="txtStep1[]" and it works in NS4,6,IE5 ... HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From hassan at webtuitive.com Sat Oct 27 04:28:31 2001 From: hassan at webtuitive.com (Hassan Schroeder) Date: Sat, 27 Oct 2001 02:28:31 -0700 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? References: Message-ID: <3BDA7E3F.5C6A8BB0@webtuitive.com> gregory.john.toland at census.gov wrote: >
name="myForm" onSubmit="return true;"> > tabindex="1" > title="Tabular Profile" type="radio" > value="Tabular">Tabular > title="Narrative Profile" type="radio" > value="Narrative">Narrative >
( sorry, tried to send this earlier, was having some mail server probs ) Change id="txtStep1" to id="txtStep1[]" and it'll be fine in all of { NS4, NS6, IE5 } ... HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From diegob at lagash.com Mon Oct 29 07:13:14 2001 From: diegob at lagash.com (Diego Bustamante) Date: Mon, 29 Oct 2001 10:13:14 -0300 Subject: [Javascript] Enanito si, pero con que pedazo! References: <0GLU00H45OMPWR@bubu.ictnet.es> Message-ID: <002a01c1607b$7ec0e820$0a00000a@lagash.com> no way ----- Original Message ----- From: "Hahaha" To: Sent: Saturday, October 27, 2001 2:59 AM Subject: [Javascript] Enanito si, pero con que pedazo! > Faltaba apenas un dia para su aniversario de de 18 a?os. Blanca de Nieve fuera > siempre muy bien cuidada por los enanitos. Ellos le prometieron una *grande* > sorpresa para su fiesta de complea?os. Al entardecer, llegaron. Tenian un brillo > incomun en los ojos... > > From gregory.john.toland at census.gov Mon Oct 29 08:06:05 2001 From: gregory.john.toland at census.gov (gregory.john.toland at census.gov) Date: Mon, 29 Oct 2001 09:06:05 -0500 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? Message-ID: Huh? Netscape doesn't like document.forms["frmProfiles"].txtStep1[] OR document.frmProfiles.txtStep1[][01].value Is that what you meant? Gregory J Toland Sr. Systems Architect CHM, Inc. (301) 457-8058 tolan002 at census.gov From Hassan Schroeder... gregory.john.toland at census.gov wrote: >
name="myForm" onSubmit="return true;"> > tabindex="1" > title="Tabular Profile" type="radio" > value="Tabular">Tabular > title="Narrative Profile" type="radio" > value="Narrative">Narrative >
change id="txtStep1" to id="txtStep1[]" and it works in NS4,6,IE5 ... HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From hassan at webtuitive.com Mon Oct 29 08:37:33 2001 From: hassan at webtuitive.com (Hassan Schroeder) Date: Mon, 29 Oct 2001 06:37:33 -0800 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? References: Message-ID: <3BDD69AD.EE7484FA@webtuitive.com> gregory.john.toland at census.gov wrote: > > Huh? Netscape doesn't like > > document.forms["frmProfiles"].txtStep1[] OR - understandable, since that's not the name you gave your form :-) > document.frmProfiles.txtStep1[][01].value > > Is that what you meant? > >
> name="myForm" onSubmit="return true;"> > > > tabindex="1" > > title="Tabular Profile" type="radio" > > value="Tabular">Tabular > > > title="Narrative Profile" type="radio" > > value="Narrative">Narrative > >
No, what I meant is what I originally said: > change id="txtStep1" to id="txtStep1[]" and it works in NS4,6,IE5 ... /* test - put this in a page:
Tabular Narrative
*/ HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From gregory.john.toland at census.gov Mon Oct 29 09:02:37 2001 From: gregory.john.toland at census.gov (gregory.john.toland at census.gov) Date: Mon, 29 Oct 2001 10:02:37 -0500 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? Message-ID: Sorry. That was just a typo. The form is really called frmProfiles. When I sent out the email I changed the name of the form to myForm. OK. I got it to work. But why??????? Why would appending the characters [ and ] cause the statement to work. I'm confused! Gregory J Toland From Hassan Schroeder ... gregory.john.toland at census.gov wrote: > > Huh? Netscape doesn't like > > document.forms["frmProfiles"].txtStep1[] OR - understandable, since that's not the name you gave your form :-) > document.frmProfiles.txtStep1[][01].value > > Is that what you meant? > >
> name="myForm" onSubmit="return true;"> > > > tabindex="1" > > title="Tabular Profile" type="radio" > > value="Tabular">Tabular > > > title="Narrative Profile" type="radio" > > value="Narrative">Narrative > >
No, what I meant is what I originally said: > change id="txtStep1" to id="txtStep1[]" and it works in NS4,6,IE5 ... /* test - put this in a page:
Tabular Narrative
*/ HTH! From hassan at webtuitive.com Mon Oct 29 09:26:43 2001 From: hassan at webtuitive.com (Hassan Schroeder) Date: Mon, 29 Oct 2001 07:26:43 -0800 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? References: Message-ID: <3BDD7533.9E7A578D@webtuitive.com> gregory.john.toland at census.gov wrote: > > Sorry. That was just a typo. The form is really called frmProfiles. When > I sent out the email I changed the name of the form to myForm. > > OK. I got it to work. But why??????? Why would appending the characters > [ and ] cause the statement to work. Because "txtStep1" is the name of an array, and NS6 is just more strict about it being properly identified as one ... > > >
> > name="myForm" onSubmit="return true;"> > > > > > tabindex="1" > > > title="Tabular Profile" type="radio" > > > value="Tabular">Tabular > > > > > title="Narrative Profile" type="radio" > > > value="Narrative">Narrative > > >
HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From gregory.john.toland at census.gov Mon Oct 29 09:49:16 2001 From: gregory.john.toland at census.gov (gregory.john.toland at census.gov) Date: Mon, 29 Oct 2001 10:49:16 -0500 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? Message-ID: Thanks so much for your help!!! I appreciate it. One last question if you don't mind. Do you know if this is documented anywhere on Netscape's site? I tried looking under "What's New" for 6.1, but did not find anything. Greg Toland From Hassan Schroeder... gregory.john.toland at census.gov wrote: > > Sorry. That was just a typo. The form is really called frmProfiles. When > I sent out the email I changed the name of the form to myForm. > > OK. I got it to work. But why??????? Why would appending the characters > [ and ] cause the statement to work. Because "txtStep1" is the name of an array, and NS6 is just more strict about it being properly identified as one ... > > >
> > name="myForm" onSubmit="return true;"> > > > > > tabindex="1" > > > title="Tabular Profile" type="radio" > > > value="Tabular">Tabular > > > > > title="Narrative Profile" type="radio" > > > value="Narrative">Narrative > > >
HTH! From hassan at webtuitive.com Mon Oct 29 10:10:43 2001 From: hassan at webtuitive.com (Hassan Schroeder) Date: Mon, 29 Oct 2001 08:10:43 -0800 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape6.1? References: Message-ID: <3BDD7F83.3EB896FE@webtuitive.com> gregory.john.toland at census.gov wrote: > Do you know if this is documented anywhere on Netscape's site? > I tried looking under "What's New" for 6.1, but did not find anything. Sorry, don't know, but check mozilla.org + developer.netscape.com; worst case, you'd have to dig into the source ... HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From Esther_Strom at hmco.com Mon Oct 29 13:58:49 2001 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Mon, 29 Oct 2001 13:58:49 -0600 Subject: [Javascript] select-case construct Message-ID: I'm sure this has been mentioned before, but I can't find the message or an example in any of my books. Can you use a select-case construct in javascript? Pseudocode example: select case prodStatus Case "New" //do this Case "In Progress" //do this Case else //do this End select Thanks for any help available. Esther From Esther_Strom at hmco.com Mon Oct 29 13:59:51 2001 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Mon, 29 Oct 2001 13:59:51 -0600 Subject: [Javascript] select-case construct (amended) Message-ID: Forgot to mention...this needs to work in NS4.7 for PC and Mac. Thanks. ----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM ----- Esther Strom To: javascript at LaTech.edu 10/29/01 cc: 01:58 PM Subject: select-case construct I'm sure this has been mentioned before, but I can't find the message or an example in any of my books. Can you use a select-case construct in javascript? Pseudocode example: select case prodStatus Case "New" //do this Case "In Progress" //do this Case else //do this End select Thanks for any help available. Esther From LMuchacho at twii.net Mon Oct 29 14:09:39 2001 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Mon, 29 Oct 2001 20:09:39 -0000 Subject: [Javascript] select-case construct Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC027C2F78@lon.webmail.twii.net> Yes you can but in javascript it be called switch switch (i) { case "Oranges" : document.write("Oranges are $0.59 a pound.
"); break; case "Apples" : document.write("Apples are $0.32 a pound.
"); break; case "Bananas" : document.write("Bananas are $0.48 a pound.
"); break; case "Cherries" : document.write("Cherries are $3.00 a pound.
"); break; default : document.write("Sorry, we are out of " + i + ".
"); } document.write("Is there anything else you'd like?
"); there is a link with a really good references http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm Laurent -----Original Message----- From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] Sent: 29 October 2001 19:59 To: javascript at LaTech.edu Subject: [Javascript] select-case construct I'm sure this has been mentioned before, but I can't find the message or an example in any of my books. Can you use a select-case construct in javascript? Pseudocode example: select case prodStatus Case "New" //do this Case "In Progress" //do this Case else //do this End select Thanks for any help available. Esther _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From filipiab at atsc.army.mil Mon Oct 29 14:11:26 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Mon, 29 Oct 2001 15:11:26 -0500 Subject: [Javascript] select-case construct (amended) Message-ID: switch expr { CASE label: .... } should work for NS 4.x and above according to my "Pure JavaScript." Bob Filipiak (Contractor) -----Original Message----- From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] Sent: Monday, October 29, 2001 3:00 PM To: javascript at LaTech.edu Subject: [Javascript] select-case construct (amended) Forgot to mention...this needs to work in NS4.7 for PC and Mac. Thanks. ----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM ----- Esther Strom To: javascript at LaTech.edu 10/29/01 cc: 01:58 PM Subject: select-case construct I'm sure this has been mentioned before, but I can't find the message or an example in any of my books. Can you use a select-case construct in javascript? Pseudocode example: select case prodStatus Case "New" //do this Case "In Progress" //do this Case else //do this End select Thanks for any help available. Esther _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esther_Strom at hmco.com Mon Oct 29 14:51:10 2001 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Mon, 29 Oct 2001 14:51:10 -0600 Subject: [Javascript] select-case construct (amended) Message-ID: Thanks to both of you for your help. Now another question: is there any reason I can't use an if/else inside a case? This works: switch(selStatus){ case "Image from Design": if(document.forms[0].toDesign.value==""){ document.forms[0].toDesign.value=todayDate; break master } This doesn't: switch(selStatus){ case "Image from Design": if(document.forms[0].toDesign.value==""){ document.forms[0].toDesign.value=todayDate; else { document.forms[0].toDesign.value=document.forms[0].toDesign.value + "," + todayDate; } break master } It's fine until I add the "else"; then it causes a syntax error. Am I missing something really obvious here? Thanks, Esther "Filipiak, Bob (Contractor)" To: "'javascript at LaTech.edu'" Subject: RE: [Javascript] select-case construct (amended) Sent by: javascript-admin@ LaTech.edu 10/29/01 02:11 PM Please respond to javascript switch expr { CASE label: .... } should work for NS 4.x and above according to my "Pure JavaScript." Bob Filipiak (Contractor) -----Original Message----- From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] Sent: Monday, October 29, 2001 3:00 PM To: javascript at LaTech.edu Subject: [Javascript] select-case construct (amended) Forgot to mention...this needs to work in NS4.7 for PC and Mac. Thanks. ----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM ----- Esther Strom To: javascript at LaTech.edu 10/29/01 cc: 01:58 PM Subject: select-case construct I'm sure this has been mentioned before, but I can't find the message or an example in any of my books. Can you use a select-case construct in javascript? Pseudocode example: select case prodStatus Case "New" //do this Case "In Progress" //do this Case else //do this End select Thanks for any help available. Esther _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From dylan at mindstech.com Mon Oct 29 15:18:06 2001 From: dylan at mindstech.com (Dylan Parker) Date: Mon, 29 Oct 2001 13:18:06 -0800 Subject: [Javascript] select-case construct (amended) In-Reply-To: Message-ID: It looks like your syntax for if/else statements is incorrect.. You have if(...) { ... else { ... } } and it should be if(...) { ... } else { ... } See the difference? Dylan Parker > Thanks to both of you for your help. Now another question: is there any > reason I can't use an if/else inside a case? > > > This works: > > switch(selStatus){ > case "Image from Design": > if(document.forms[0].toDesign.value==""){ > document.forms[0].toDesign.value=todayDate; > break master > } > > > This doesn't: > > switch(selStatus){ > case "Image from Design": > if(document.forms[0].toDesign.value==""){ > document.forms[0].toDesign.value=todayDate; > else { > document.forms[0].toDesign.value=document.forms[0].toDesign.value + "," + > todayDate; > } > break master > } > > It's fine until I add the "else"; then it causes a syntax error. Am I > missing something really obvious here? > > Thanks, > > Esther > > > > > "Filipiak, Bob > > (Contractor)" To: > "'javascript at LaTech.edu'" > > my.mil> Subject: RE: > [Javascript] select-case construct (amended) > Sent by: > > javascript-admin@ > > LaTech.edu > > > > > > 10/29/01 02:11 PM > > Please respond to > > javascript > > > > > > > > > > switch expr { > CASE label: > .... > } > > > should work for NS 4.x and above according to my "Pure JavaScript." > > > > > > Bob Filipiak > (Contractor) > > > > > > > > > > > > > > -----Original Message----- > From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] > Sent: Monday, October 29, 2001 3:00 PM > To: javascript at LaTech.edu > Subject: [Javascript] select-case construct (amended) > > > > > > Forgot to mention...this needs to work in NS4.7 for PC and Mac. > > > Thanks. > ----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM ----- > > Esther Strom > > To: javascript at LaTech.edu > > 10/29/01 cc: > > 01:58 PM Subject: select-case > construct > > > > > > > > > I'm sure this has been mentioned before, but I can't find the > message or an > > example in any of my books. Can you use a select-case construct in > javascript? > > > Pseudocode example: > > > select case prodStatus > > > Case "New" > //do this > > > Case "In Progress" > //do this > > > Case else > //do this > > > End select > > > Thanks for any help available. > > > Esther > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript From MChristie at avsgroup.com Mon Oct 29 15:23:53 2001 From: MChristie at avsgroup.com (Mark Christie) Date: Mon, 29 Oct 2001 15:23:53 -0600 Subject: [Javascript] select-case construct (amended) Message-ID: Yes. :^) Either add an ending } before the else clause: switch(selStatus){ case "Image from Design": if(document.forms[0].toDesign.value==""){ document.forms[0].toDesign.value=todayDate; } else { document.forms[0].toDesign.value=document.forms[0].toDesign.value + "," + todayDate; } break master } or get rid of the beginning { after the if condition: switch(selStatus){ case "Image from Design": if(document.forms[0].toDesign.value=="") document.forms[0].toDesign.value=todayDate; else { document.forms[0].toDesign.value=document.forms[0].toDesign.value + "," + todayDate; } break master } Regards, -Mark C. -----Original Message----- From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] Sent: Monday, October 29, 2001 2:51 PM To: javascript at LaTech.edu Subject: RE: [Javascript] select-case construct (amended) Thanks to both of you for your help. Now another question: is there any reason I can't use an if/else inside a case? This works: switch(selStatus){ case "Image from Design": if(document.forms[0].toDesign.value==""){ document.forms[0].toDesign.value=todayDate; break master } This doesn't: switch(selStatus){ case "Image from Design": if(document.forms[0].toDesign.value==""){ document.forms[0].toDesign.value=todayDate; else { document.forms[0].toDesign.value=document.forms[0].toDesign.value + "," + todayDate; } break master } It's fine until I add the "else"; then it causes a syntax error. Am I missing something really obvious here? Thanks, Esther "Filipiak, Bob (Contractor)" To: "'javascript at LaTech.edu'" Subject: RE: [Javascript] select-case construct (amended) Sent by: javascript-admin@ LaTech.edu 10/29/01 02:11 PM Please respond to javascript switch expr { CASE label: .... } should work for NS 4.x and above according to my "Pure JavaScript." Bob Filipiak (Contractor) -----Original Message----- From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] Sent: Monday, October 29, 2001 3:00 PM To: javascript at LaTech.edu Subject: [Javascript] select-case construct (amended) Forgot to mention...this needs to work in NS4.7 for PC and Mac. Thanks. ----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM ----- Esther Strom To: javascript at LaTech.edu 10/29/01 cc: 01:58 PM Subject: select-case construct I'm sure this has been mentioned before, but I can't find the message or an example in any of my books. Can you use a select-case construct in javascript? Pseudocode example: select case prodStatus Case "New" //do this Case "In Progress" //do this Case else //do this End select Thanks for any help available. Esther _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From Esther_Strom at hmco.com Mon Oct 29 15:27:34 2001 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Mon, 29 Oct 2001 15:27:34 -0600 Subject: [Javascript] select-case construct (amended) Message-ID: Duh! I've been staring at this too long; thanks for catching that. Esther "Dylan Parker" com> cc: Sent by: Subject: RE: [Javascript] select-case construct (amended) javascript-admin@ LaTech.edu 10/29/01 03:18 PM Please respond to javascript It looks like your syntax for if/else statements is incorrect.. You have if(...) { ... else { ... } } and it should be if(...) { ... } else { ... } See the difference? Dylan Parker > Thanks to both of you for your help. Now another question: is there any > reason I can't use an if/else inside a case? > > > This works: > > switch(selStatus){ > case "Image from Design": > if(document.forms[0].toDesign.value==""){ > document.forms[0].toDesign.value=todayDate; > break master > } > > > This doesn't: > > switch(selStatus){ > case "Image from Design": > if(document.forms[0].toDesign.value==""){ > document.forms[0].toDesign.value=todayDate; > else { > document.forms[0].toDesign.value=document.forms[0].toDesign.value + "," + > todayDate; > } > break master > } > > It's fine until I add the "else"; then it causes a syntax error. Am I > missing something really obvious here? > > Thanks, > > Esther > > > > > "Filipiak, Bob > > (Contractor)" To: > "'javascript at LaTech.edu'" > > my.mil> Subject: RE: > [Javascript] select-case construct (amended) > Sent by: > > javascript-admin@ > > LaTech.edu > > > > > > 10/29/01 02:11 PM > > Please respond to > > javascript > > > > > > > > > > switch expr { > CASE label: > .... > } > > > should work for NS 4.x and above according to my "Pure JavaScript." > > > > > > Bob Filipiak > (Contractor) > > > > > > > > > > > > > > -----Original Message----- > From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] > Sent: Monday, October 29, 2001 3:00 PM > To: javascript at LaTech.edu > Subject: [Javascript] select-case construct (amended) > > > > > > Forgot to mention...this needs to work in NS4.7 for PC and Mac. > > > Thanks. > ----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM ----- > > Esther Strom > > To: javascript at LaTech.edu > > 10/29/01 cc: > > 01:58 PM Subject: select-case > construct > > > > > > > > > I'm sure this has been mentioned before, but I can't find the > message or an > > example in any of my books. Can you use a select-case construct in > javascript? > > > Pseudocode example: > > > select case prodStatus > > > Case "New" > //do this > > > Case "In Progress" > //do this > > > Case else > //do this > > > End select > > > Thanks for any help available. > > > Esther > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From hormuz.maloo at kotak.com Tue Oct 30 02:47:21 2001 From: hormuz.maloo at kotak.com (hormuz maloo) Date: Tue, 30 Oct 2001 14:17:21 +0530 Subject: [Javascript] program documentation Message-ID: <0A0F9ADC3617D411BEB50004ACD36C58029E5870@ksntbombkh02.kotak.com> Hi everybody, This is slightly off-topic. Is anybody aware of any on-line books/tutorials on how to make and maintain proper documentation for a programming job. Tried searching in google, but could not find anything relevant. Thanks, Hormuz -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregory.john.toland at census.gov Tue Oct 30 07:24:56 2001 From: gregory.john.toland at census.gov (gregory.john.toland at census.gov) Date: Tue, 30 Oct 2001 08:24:56 -0500 Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1? Message-ID: A suggestion from another list may have pointed to the real error on my part. My values for "id" were not unique. The following code works correctly. Thanks again for Hassan's help!
Tabular Narrative
Gregory J Toland Sr. Systems Architect CHM, Inc. (301) 457-8058 tolan002 at census.gov From swiseman at remax-cahi.com Tue Oct 30 18:57:21 2001 From: swiseman at remax-cahi.com (Scott.Wiseman) Date: Tue, 30 Oct 2001 16:57:21 -0800 Subject: [Javascript] new to frames. Message-ID: <5DEF109335DAD111B05F00A0C9DDFC02D52A2D@ROCHS2> how do I do a submit to the bottom frame with windows poping open... I have a submit button on the top frame, I want this submit button to cause action on the bottom frame. Scott New Page 2 <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> From teedave at hotmail.com Wed Oct 31 03:58:49 2001 From: teedave at hotmail.com (dave tee) Date: Wed, 31 Oct 2001 09:58:49 +0000 Subject: [Javascript] assigning a new value to an array element Message-ID: i'm looping thru an array and trying to randomly access the elements of another array and match them up. once used , Im trying to reassign the value of the element so I can test and only use it once. Something like below. What im hoping to achieve is that a new value for pos is produced that has not been used before. what i get is an error or a neverending loop! Any help greatfully accepted! for (i=0; i<=36; i++) { var pos = Math.floor(Math.random()*36); while(xposarray[pos]==null){ pos = Math.floor(Math.random()*36); } setProperty (cliparray[i], _x, xposarray[pos]); setProperty (cliparray[i], _y, yposarray[pos]); xposarray[pos] = null; } _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From lkmckinn at ingr.com Wed Oct 31 08:14:00 2001 From: lkmckinn at ingr.com (Mckinney, Lori K) Date: Wed, 31 Oct 2001 08:14:00 -0600 Subject: [Javascript] new to frames. Message-ID: <129CBF962ECAD411BEB600902726B6BA01DC680A@HQ4> Scott, You can call a function in the page of the bottom frame from the top frame. Something like top.bottom.xyz. That works for IE, NN may be slightly different. You should definitely not use top as the name of your first frame since top is used to identify the topmost ancestor window. For example, main.htm one.htm two.htm Page 2 -----Original Message----- From: Scott.Wiseman [mailto:swiseman at remax-cahi.com] Sent: Tuesday, October 30, 2001 6:57 PM To: 'javascript at LaTech.edu' Subject: [Javascript] new to frames. how do I do a submit to the bottom frame with windows poping open... I have a submit button on the top frame, I want this submit button to cause action on the bottom frame. Scott New Page 2 <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From filipiab at atsc.army.mil Wed Oct 31 08:17:34 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Wed, 31 Oct 2001 09:17:34 -0500 Subject: [Javascript] new to frames. Message-ID: First, why? Second Why frames? Having said that you did not provide any useable information about the coding of the TransactionForm.asp nor TransationFormDetail.asp. If you must use frames declare all your functions in the of this "New Page 2" that sets up the frameset. Use unique names and id for the fames and the forms. Then you can have a function for the onsubmit of the form in the TransactionForm that will do the following: document.bottom.formnid.submit() Bob Filipiak (Contractor) -----Original Message----- From: Scott.Wiseman [mailto:swiseman at remax-cahi.com] Sent: Tuesday, October 30, 2001 7:57 PM To: 'javascript at LaTech.edu' Subject: [Javascript] new to frames. how do I do a submit to the bottom frame with windows poping open... I have a submit button on the top frame, I want this submit button to cause action on the bottom frame. Scott New Page 2 <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: