From lists at dbeads.net Sat Mar 1 00:44:34 2003 From: lists at dbeads.net (Dana Hall) Date: Fri, 28 Feb 2003 22:44:34 -0800 Subject: [Javascript] Re: need script - slideshow with captions Message-ID: <200303010644.AUD44101@100m.mpr200-1.esr.lvcm.net> >Just add an array of captions to the script and change the caption >as you change the image? I know I would need another array, and thank you for helping me with the code. Below is the code from my page, but I'm having difficulty with four lines of the code you gave me: (1) var document.myImage.src=newimage[n] // whatever it is (2) var document.getElementById("caption").innetHTML=NewCap[n] (3) (4)
I know where 3 and 4 go, in the HTML instead of: but I can't figure out where 1 and 2 go, instead of what, and if anything else needs to change. The original script didn't use a fixed array, so I can use any number or pictures and add more at any time. So I wrote the caption array the same. as long as each has the same number of elements it should work. Can some help out here? thanks -dana ************************** begin code ******************************* Texas Beaders

 

 

Photos from the 4th Annual
Texas Beaders Bead Retreat

 

 

 

Previous - Auto/Stop - Next

From andyg at ihug.co.nz Sat Mar 1 01:47:47 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Sat, 1 Mar 2003 20:47:47 +1300 Subject: [Javascript] Re: need script - slideshow with captions References: <200303010644.AUD44101@100m.mpr200-1.esr.lvcm.net> Message-ID: <006a01c2dfc6$da7e63b0$dde6adcb@k1n8i8> something like this? of course you'd need something in the script to tell you when you got to the end, or the beginning etc Not sure if you need the full url of the image, dont think so. Next Back
>Just add an array of captions to the script and change the caption >as you change the image? I know I would need another array, and thank you for helping me with the code. Below is the code from my page, but I'm having difficulty with four lines of the code you gave me: (1) var document.myImage.src=newimage[n] // whatever it is (2) var document.getElementById("caption").innetHTML=NewCap[n] (3) (4)
I know where 3 and 4 go, in the HTML instead of: but I can't figure out where 1 and 2 go, instead of what, and if anything else needs to change. The original script didn't use a fixed array, so I can use any number or pictures and add more at any time. So I wrote the caption array the same. as long as each has the same number of elements it should work. Can some help out here? thanks -dana ************************** begin code ******************************* Texas Beaders

 

 

Photos from the 4th Annual
Texas Beaders Bead Retreat

 

 

 

Previous - Auto/Stop - Next

_______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From trojani2000 at hotmail.com Sat Mar 1 08:20:46 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Sat, 01 Mar 2003 15:20:46 +0100 Subject: [Javascript] Re: need script - slideshow with captions Message-ID: All you need to do is ad another array of caption contents after or before the img arrays the same way: NewCapt = new Array ( "this and that", "caption contents", "capiton3", ...until the last img caption and u're done ) And at this line: document.slideshow.src = NewImg[ImgNum]; ad something like: caption.innerText = NewCapt[ImgNum]; and inside the HTML before this line: add the (in style) formated DIV:
The Defalt img caption text
And ure done. Cheers! >From: Dana Hall >Reply-To: javascript at LaTech.edu >To: >Subject: [Javascript] Re: need script - slideshow with captions >Date: Fri, 28 Feb 2003 22:44:34 -0800 > > >Just add an array of captions to the script and change the caption > >as you change the image? > >I know I would need another array, and thank you for helping me with >the code. Below is the code from my page, but I'm having difficulty >with four lines of the code you gave me: >(1) var document.myImage.src=newimage[n] // whatever it is >(2) var document.getElementById("caption").innetHTML=NewCap[n] > >(3) >(4)
> > >I know where 3 and 4 go, in the HTML instead of: > > >but I can't figure out where 1 and 2 go, instead of what, and if >anything else needs to change. The original script didn't use a >fixed array, so I can use any number or pictures and add more at any >time. So I wrote the caption array the same. as long as each has >the same number of elements it should work. Can some help out here? >thanks > >-dana > > >************************** begin code ******************************* > > > > Texas Beaders > > > > > > > >

 

>

 

>

Photos from the 4th Annual
>Texas Beaders Bead Retreat

> >

 

>

 

>

 

> > >
> > > > > >
Previous - >Auto/Stop - Next
>

>

> > > > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ From pvogel at righthemisphere.com.au Sun Mar 2 00:54:00 2003 From: pvogel at righthemisphere.com.au (Peter Vogel) Date: Sun, 02 Mar 2003 17:54:00 +1100 Subject: [Javascript] Newbie dipping toes in water Message-ID: <20030302173653.86B2.PVOGEL@righthemisphere.com.au> I want to write a JavaScript that does something like the "copy shortcut" command in the right-click menu in IE6. That is, I want tto read the value of the link that was right-clicked before selecting my script from the right-click menu. I have managed to do the registry entires to add the item to the menu, and it executes a file of my choice, however now I need to know where to find the definitions I will need to use to get the link data from the displayed html document into my script. I have found examples that use things like var win = external.menuArguments; document.all.location.value = win.location.href; document.all.location.select(); but can't find where this is all defined/explained. Thanks for any advice on this. Peter From trojani2000 at hotmail.com Sun Mar 2 14:45:13 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Sun, 02 Mar 2003 21:45:13 +0100 Subject: [Javascript] Newbie dipping toes in water Message-ID: Hello there, here is some script I wrote, can help you getting ideas: Any further questions, -no hasitations, the same forum! Cheers! >From: Peter Vogel >Reply-To: javascript at LaTech.edu >To: javascript at LaTech.edu >Subject: [Javascript] Newbie dipping toes in water >Date: Sun, 02 Mar 2003 17:54:00 +1100 > >I want to write a JavaScript that does something like the "copy shortcut" >command in the right-click menu in IE6. That is, I want tto read the >value of the link that was right-clicked before selecting my script from >the right-click menu. > >I have managed to do the registry entires to add the item to the menu, >and it executes a file of my choice, however now I need to know where to >find the definitions I will need to use to get the link data from the >displayed html document into my script. > >I have found examples that use things like > >var win = external.menuArguments; >document.all.location.value = win.location.href; >document.all.location.select(); > >but can't find where this is all defined/explained. > >Thanks for any advice on this. > >Peter > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From pvogel at righthemisphere.com.au Sun Mar 2 22:10:15 2003 From: pvogel at righthemisphere.com.au (Peter Vogel) Date: Mon, 03 Mar 2003 15:10:15 +1100 Subject: [Javascript] Newbie dipping toes in water In-Reply-To: References: Message-ID: <20030303150800.86CD.PVOGEL@righthemisphere.com.au> Thanks for the example. Unfiortunately I couldn't get it to work, and there were aspects I didn't understand, so I thought I should try cutting it down to this: Now i get an error saying "Object required" in line 3. Could you tell me where I can find details/explanations of the objects e.g. window.event.srcElement Where is there a goiod general Javascript reference site? Thanks Peter On Sun, 02 Mar 2003 21:45:13 +0100 "BEKIM BACAJ" wrote: > Hello there, > here is some script I wrote, can help you getting ideas: > > > Any further questions, -no hasitations, the same forum! > > Cheers! > > > > >From: Peter Vogel > >Reply-To: javascript at LaTech.edu > >To: javascript at LaTech.edu > >Subject: [Javascript] Newbie dipping toes in water > >Date: Sun, 02 Mar 2003 17:54:00 +1100 > > > >I want to write a JavaScript that does something like the "copy shortcut" > >command in the right-click menu in IE6. That is, I want tto read the > >value of the link that was right-clicked before selecting my script from > >the right-click menu. > > > >I have managed to do the registry entires to add the item to the menu, > >and it executes a file of my choice, however now I need to know where to > >find the definitions I will need to use to get the link data from the > >displayed html document into my script. > > > >I have found examples that use things like > > > >var win = external.menuArguments; > >document.all.location.value = win.location.href; > >document.all.location.select(); > > > >but can't find where this is all defined/explained. > > > >Thanks for any advice on this. > > > >Peter > > > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From hassan at webtuitive.com Sun Mar 2 23:29:07 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Sun, 02 Mar 2003 21:29:07 -0800 Subject: [Javascript] Newbie dipping toes in water In-Reply-To: <20030303150800.86CD.PVOGEL@righthemisphere.com.au> References: <20030303150800.86CD.PVOGEL@righthemisphere.com.au> Message-ID: <3E62E823.4010905@webtuitive.com> Peter Vogel wrote: > Where is there a goiod general Javascript reference site? You might start with the people who created it... :-) Try HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From pvogel at righthemisphere.com.au Mon Mar 3 00:18:24 2003 From: pvogel at righthemisphere.com.au (Peter Vogel) Date: Mon, 03 Mar 2003 17:18:24 +1100 Subject: [Javascript] Newbie dipping toes in water In-Reply-To: <3E62E823.4010905@webtuitive.com> References: <20030303150800.86CD.PVOGEL@righthemisphere.com.au> <3E62E823.4010905@webtuitive.com> Message-ID: <20030303171536.86E1.PVOGEL@righthemisphere.com.au> Thank you Hassan - this looks very useful. I have nopt been able to find refence to the objects that allow interface to the html document, e.g. document.oncontextmenu window.event.srcElement Thanks Peter On Sun, 02 Mar 2003 21:29:07 -0800 Hassan Schroeder wrote: > Peter Vogel wrote: > > > Where is there a goiod general Javascript reference site? > > You might start with the people who created it... :-) > Try > > > HTH! > -- > Hassan Schroeder ----------------------------- hassan at webtuitive.com > Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com > > dream. code. > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From len.dierickx-eds at eds.com Mon Mar 3 00:25:39 2003 From: len.dierickx-eds at eds.com (Dierickx, Len (ESAS)) Date: Mon, 3 Mar 2003 06:25:39 -0000 Subject: [Javascript] Newbie dipping toes in water Message-ID: Ithink you're looking for this MS scripting http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid =28001169 oncontextmenu http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/r eference/events/htmlanchorevents/oncontextmenu.asp Looks like IE only objects. Len -----Original Message----- From: Peter Vogel [mailto:pvogel at righthemisphere.com.au] Sent: maandag 3 maart 2003 7:18 To: javascript at LaTech.edu Subject: Re: [Javascript] Newbie dipping toes in water Thank you Hassan - this looks very useful. I have nopt been able to find refence to the objects that allow interface to the html document, e.g. document.oncontextmenu window.event.srcElement Thanks Peter On Sun, 02 Mar 2003 21:29:07 -0800 Hassan Schroeder wrote: > Peter Vogel wrote: > > > Where is there a goiod general Javascript reference site? > > You might start with the people who created it... :-) > Try > > > HTH! > -- > Hassan Schroeder ----------------------------- hassan at webtuitive.com > Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com > > dream. code. > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From iztokp at amis.net Mon Mar 3 05:13:23 2003 From: iztokp at amis.net (Iztok Polanic) Date: Mon, 3 Mar 2003 12:13:23 +0100 Subject: [Javascript] encodinf JS Message-ID: <000501c2e175$e7b55880$0201a8c0@flasher> Hi! I just saw a page with encoded tag. Can this be done? And how? Bye, Iztok From ddibartolomeo at dciu.org Mon Mar 3 12:57:13 2003 From: ddibartolomeo at dciu.org (DiBartolomeo, Donna) Date: Mon, 3 Mar 2003 13:57:13 -0500 Subject: [Javascript] Confirmation that an email has been received. Message-ID: <8DF671A8B5D58D47A8C49DD28D7CC45B010008FA@IU_ADM3> Help! I need help to create a script that sends a confirmation page not only when it is submitted successfully (this code I can create), but also when the form mailto: recipient has received the email. Is this possible? Thank you, DonnaD -------------- next part -------------- An HTML attachment was scrubbed... URL: From ChrisNikonowicz at metaldyne.com Mon Mar 3 13:28:55 2003 From: ChrisNikonowicz at metaldyne.com (Nikonowicz, Chris) Date: Mon, 3 Mar 2003 14:28:55 -0500 Subject: [Javascript] Input Mask Message-ID: I saw your question on the internet. I am having the same problem could you be of help. Thanks From ChrisNikonowicz at metaldyne.com Mon Mar 3 13:32:23 2003 From: ChrisNikonowicz at metaldyne.com (Nikonowicz, Chris) Date: Mon, 3 Mar 2003 14:32:23 -0500 Subject: [Javascript] Input Mask Message-ID: Is there anyone who could help me create a input mask for a one-line text box on an asp page i am using on an intranet. I need to use this much the same way you would use one in Micorsoft Access. Thanks From iztokp at amis.net Mon Mar 3 14:06:55 2003 From: iztokp at amis.net (Iztok Polanic) Date: Mon, 3 Mar 2003 21:06:55 +0100 Subject: [Javascript] Input Mask References: Message-ID: <001a01c2e1c0$75083dc0$0201a8c0@flasher> Hi! Bye, Iztok ----- Original Message ----- From: "Nikonowicz, Chris" To: Sent: Monday, March 03, 2003 8:32 PM Subject: [Javascript] Input Mask Is there anyone who could help me create a input mask for a one-line text box on an asp page i am using on an intranet. I need to use this much the same way you would use one in Micorsoft Access. Thanks _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From trojani2000 at hotmail.com Mon Mar 3 15:55:44 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Mon, 03 Mar 2003 22:55:44 +0100 Subject: [Javascript] Newbie dipping toes in water Message-ID: Sorry, the comment line might have break in two lines and caused the error. I've tested the script and the cript does display an alertBox with the HREF addres. I will give it once again without comments. Copy and paste it into an any html text document that contains Ancors and right-clik on them. I'm convinced that you will get that links text previewed into the alertBox. After you get it to work, we can talk about the implementation, into you'r script, but first, I too must se the handler you're using. For getting it to be displayed in the menu. You can also try alert(itsAncor.href) and get the same result. If once again this does not display the alert box with ancors path in it, the best way to solve this, is for you sending us the base script you're using and see what the problem is,-might also be the case that you've used this local variable 'itsAncor' in global manner. The value of itsAncor lives and dies while exec of the getHREF function only. You must include the commands of the menu inside this function, or make this value available in some other global var like in this modified script: P.S. -Copy only the text inside the tags and put it inside you'r existing script Tags of the document. Regards! >From: Peter Vogel >Reply-To: javascript at LaTech.edu >To: javascript at LaTech.edu >Subject: Re: [Javascript] Newbie dipping toes in water >Date: Mon, 03 Mar 2003 15:10:15 +1100 > >Thanks for the example. Unfiortunately I couldn't get it to work, and >there were aspects I didn't understand, so I thought I should try >cutting it down to this: > > > > > >Now i get an error saying "Object required" in line 3. > >Could you tell me where I can find details/explanations of the objects >e.g. >window.event.srcElement > >Where is there a goiod general Javascript reference site? > >Thanks > >Peter > >On Sun, 02 Mar 2003 21:45:13 +0100 >"BEKIM BACAJ" wrote: > > > Hello there, > > here is some script I wrote, can help you getting ideas: > > > > > > Any further questions, -no hasitations, the same forum! > > > > Cheers! > > > > > > > > >From: Peter Vogel > > >Reply-To: javascript at LaTech.edu > > >To: javascript at LaTech.edu > > >Subject: [Javascript] Newbie dipping toes in water > > >Date: Sun, 02 Mar 2003 17:54:00 +1100 > > > > > >I want to write a JavaScript that does something like the "copy >shortcut" > > >command in the right-click menu in IE6. That is, I want tto read the > > >value of the link that was right-clicked before selecting my script >from > > >the right-click menu. > > > > > >I have managed to do the registry entires to add the item to the menu, > > >and it executes a file of my choice, however now I need to know where >to > > >find the definitions I will need to use to get the link data from the > > >displayed html document into my script. > > > > > >I have found examples that use things like > > > > > >var win = external.menuArguments; > > >document.all.location.value = win.location.href; > > >document.all.location.select(); > > > > > >but can't find where this is all defined/explained. > > > > > >Thanks for any advice on this. > > > > > >Peter > > > > > > > > >_______________________________________________ > > >Javascript mailing list > > >Javascript at LaTech.edu > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > _________________________________________________________________ > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From pvogel at righthemisphere.com.au Mon Mar 3 16:10:08 2003 From: pvogel at righthemisphere.com.au (Peter Vogel) Date: Tue, 04 Mar 2003 09:10:08 +1100 Subject: [Javascript] Newbie dipping toes in water In-Reply-To: References: Message-ID: <20030304090242.919B.PVOGEL@righthemisphere.com.au> Your script does work when placed in an html document. Perhaps the problem is this: I'm not putting the script in an html page, I am running the script from a local file and calling it via an extra entry in the right-click context menu of IE. I have added the menu entry using the registry editor, and when I select the new option from the right-click menu it correctly executes the script. The problem is I can't find out how to pass the script the link that was clicked on. Thanks again Peter On Mon, 03 Mar 2003 22:55:44 +0100 "BEKIM BACAJ" wrote: > > Sorry, the comment line might have break in two lines and caused the error. > I've tested the script and the cript does display an alertBox with the HREF > addres. I will give it once again without comments. Copy and paste it into > an any html text document that contains Ancors and right-clik on them. I'm > convinced that you will get that links text previewed into the alertBox. > > After you get it to work, we can talk about the implementation, into you'r > script, but first, I too must se the handler you're using. For getting it to > be displayed in the menu. You can also try alert(itsAncor.href) and get the > same result. > If once again this does not display the alert box with ancors path in it, > the best way to solve this, is for you sending us the base script you're > using and see what the problem is,-might also be the case that you've used > this local variable 'itsAncor' in global manner. The value of itsAncor lives > and dies while exec of the getHREF function only. You must include the > commands of the menu inside this function, or make this value available in > some other global var like in this modified script: > > > P.S. > > -Copy only the text inside the tags and put it inside > you'r existing script Tags of the document. > > Regards! > > > > > > >From: Peter Vogel > >Reply-To: javascript at LaTech.edu > >To: javascript at LaTech.edu > >Subject: Re: [Javascript] Newbie dipping toes in water > >Date: Mon, 03 Mar 2003 15:10:15 +1100 > > > >Thanks for the example. Unfiortunately I couldn't get it to work, and > >there were aspects I didn't understand, so I thought I should try > >cutting it down to this: > > > > > > > > > > > >Now i get an error saying "Object required" in line 3. > > > >Could you tell me where I can find details/explanations of the objects > >e.g. > >window.event.srcElement > > > >Where is there a goiod general Javascript reference site? > > > >Thanks > > > >Peter > > > >On Sun, 02 Mar 2003 21:45:13 +0100 > >"BEKIM BACAJ" wrote: > > > > > Hello there, > > > here is some script I wrote, can help you getting ideas: > > > > > > > > > Any further questions, -no hasitations, the same forum! > > > > > > Cheers! > > > > > > > > > > > > >From: Peter Vogel > > > >Reply-To: javascript at LaTech.edu > > > >To: javascript at LaTech.edu > > > >Subject: [Javascript] Newbie dipping toes in water > > > >Date: Sun, 02 Mar 2003 17:54:00 +1100 > > > > > > > >I want to write a JavaScript that does something like the "copy > >shortcut" > > > >command in the right-click menu in IE6. That is, I want tto read the > > > >value of the link that was right-clicked before selecting my script > >from > > > >the right-click menu. > > > > > > > >I have managed to do the registry entires to add the item to the menu, > > > >and it executes a file of my choice, however now I need to know where > >to > > > >find the definitions I will need to use to get the link data from the > > > >displayed html document into my script. > > > > > > > >I have found examples that use things like > > > > > > > >var win = external.menuArguments; > > > >document.all.location.value = win.location.href; > > > >document.all.location.select(); > > > > > > > >but can't find where this is all defined/explained. > > > > > > > >Thanks for any advice on this. > > > > > > > >Peter > > > > > > > > > > > >_______________________________________________ > > > >Javascript mailing list > > > >Javascript at LaTech.edu > > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > _________________________________________________________________ > > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From LMuchacho at twii.net Tue Mar 4 07:33:02 2003 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Tue, 4 Mar 2003 13:33:02 -0000 Subject: [Javascript] Re: need script - slideshow with captions Message-ID: Hi Sorry to cut everyone short but you all trying to complicate your life with 2 array or trying to store data with this kind of process ok everyone thought of the array what is a good thing but you don't need a seconde one for the caption because if you want to add a alt text to your image or a link to an other page you will need to create new array and after a will your code will be completely unmaintainable, What you need is to store an object in your array I built this small examples with all you need this work only on IE but the logic should drive you in better direction http://www.elmuchacho.com/examples/slidde_show/default.asp Laurent -----Original Message----- From: BEKIM BACAJ [mailto:trojani2000 at hotmail.com] Sent: 01 March 2003 14:21 To: javascript at LaTech.edu Subject: Re: [Javascript] Re: need script - slideshow with captions All you need to do is ad another array of caption contents after or before the img arrays the same way: NewCapt = new Array ( "this and that", "caption contents", "capiton3", ...until the last img caption and u're done ) And at this line: document.slideshow.src = NewImg[ImgNum]; ad something like: caption.innerText = NewCapt[ImgNum]; and inside the HTML before this line: add the (in style) formated DIV:
The Defalt img caption text
And ure done. Cheers! >From: Dana Hall >Reply-To: javascript at LaTech.edu >To: >Subject: [Javascript] Re: need script - slideshow with captions >Date: Fri, 28 Feb 2003 22:44:34 -0800 > > >Just add an array of captions to the script and change the caption > >as you change the image? > >I know I would need another array, and thank you for helping me with >the code. Below is the code from my page, but I'm having difficulty >with four lines of the code you gave me: >(1) var document.myImage.src=newimage[n] // whatever it is >(2) var document.getElementById("caption").innetHTML=NewCap[n] > >(3) >(4)
> > >I know where 3 and 4 go, in the HTML instead of: > > >but I can't figure out where 1 and 2 go, instead of what, and if >anything else needs to change. The original script didn't use a >fixed array, so I can use any number or pictures and add more at any >time. So I wrote the caption array the same. as long as each has >the same number of elements it should work. Can some help out here? >thanks > >-dana > > >************************** begin code ******************************* > > > > Texas Beaders > > > > > > > >

 

>

 

>

Photos from the 4th Annual
>Texas Beaders Bead Retreat

> >

 

>

 

>

 

> > >
> > > > > >
Previous - >Auto/Stop - Next
>

>

> > > > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. From ddibartolomeo at dciu.org Tue Mar 4 08:48:58 2003 From: ddibartolomeo at dciu.org (DiBartolomeo, Donna) Date: Tue, 4 Mar 2003 09:48:58 -0500 Subject: [Javascript] Confirmation that an email has been received. Message-ID: <8DF671A8B5D58D47A8C49DD28D7CC45B010008FC@IU_ADM3> It would be an online form (requiring the user's email address) and being sent to one person. So...it cannot be done with javascript (I didn't think it could, but I thought I would ask anyway) - it would have to be set up in the user's email options, not the recipients, right? -----Original Message----- From: Mark [mailto:mark_weinstock at yahoo.com] Sent: Tuesday, March 04, 2003 9:53 AM To: javascript at LaTech.edu Subject: Re: [Javascript] Confirmation that an email has been received. The only way I can imagine this working is if you find out how the "received receipt" is flagged. You won't be able to display it via web page, though, since the receipt is a return email message, which you can't really check (AFAIK) with Javascript. Besides, what if the person isn't online, or isn't checking email? You'd have to set the received receipt flag somehow, and have the return receipt go to the sender's email account. And even then, who is the sender? Is it the user (will they have to put in their email address somewhere?), is it the account sending the form data? --- "DiBartolomeo, Donna" wrote: > Help! I need help to create a script that sends a confirmation > page not > only when it is submitted successfully (this code I can create), > but also > when the form mailto: recipient has received the email. Is this > possible? > > > > Thank you, > > DonnaD > > ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From mark_weinstock at yahoo.com Tue Mar 4 08:52:47 2003 From: mark_weinstock at yahoo.com (Mark) Date: Tue, 4 Mar 2003 06:52:47 -0800 (PST) Subject: [Javascript] Confirmation that an email has been received. In-Reply-To: <8DF671A8B5D58D47A8C49DD28D7CC45B010008FA@IU_ADM3> Message-ID: <20030304145247.43662.qmail@web41211.mail.yahoo.com> The only way I can imagine this working is if you find out how the "received receipt" is flagged. You won't be able to display it via web page, though, since the receipt is a return email message, which you can't really check (AFAIK) with Javascript. Besides, what if the person isn't online, or isn't checking email? You'd have to set the received receipt flag somehow, and have the return receipt go to the sender's email account. And even then, who is the sender? Is it the user (will they have to put in their email address somewhere?), is it the account sending the form data? --- "DiBartolomeo, Donna" wrote: > Help! I need help to create a script that sends a confirmation > page not > only when it is submitted successfully (this code I can create), > but also > when the form mailto: recipient has received the email. Is this > possible? > > > > Thank you, > > DonnaD > > ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From trojani2000 at hotmail.com Tue Mar 4 16:42:34 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Tue, 04 Mar 2003 23:42:34 +0100 Subject: [Javascript] Newbie dipping toes in water Message-ID: Well, in that case you will have to share some of you'r code with us!? The problem is that if one does not know in what environment you are calling the function, -into what host applicaton, -from what external file, (if it's a *.js there is no change, the script should work even if it is externaly implemented but on top of some html document into IE environment nowhere else). Sugestion if the host application you're using can handle strings you can paste them from this function, simply calling theLocation variable. Otherwise, there's no way one can help you even if he/she knows the answer without being able to see the targeted code. Regards! >From: Peter Vogel >Reply-To: javascript at LaTech.edu >To: javascript at LaTech.edu >Subject: Re: [Javascript] Newbie dipping toes in water >Date: Tue, 04 Mar 2003 09:10:08 +1100 > >Your script does work when placed in an html document. > >Perhaps the problem is this: I'm not putting the script in >an html page, I am running the script from a local file and >calling it via an extra entry in the right-click context >menu of IE. I have added the menu entry using the registry >editor, and when I select the new option from the >right-click menu it correctly executes the script. > >The problem is I can't find out how to pass the script the >link that was clicked on. > >Thanks again > >Peter > >On Mon, 03 Mar 2003 22:55:44 +0100 >"BEKIM BACAJ" wrote: > > > > > Sorry, the comment line might have break in two lines and caused the >error. > > I've tested the script and the cript does display an alertBox with the >HREF > > addres. I will give it once again without comments. Copy and paste it >into > > an any html text document that contains Ancors and right-clik on them. >I'm > > convinced that you will get that links text previewed into the alertBox. > > > > After you get it to work, we can talk about the implementation, into >you'r > > script, but first, I too must se the handler you're using. For getting >it to > > be displayed in the menu. You can also try alert(itsAncor.href) and get >the > > same result. > > If once again this does not display the alert box with ancors path in >it, > > the best way to solve this, is for you sending us the base script you're > > using and see what the problem is,-might also be the case that you've >used > > this local variable 'itsAncor' in global manner. The value of itsAncor >lives > > and dies while exec of the getHREF function only. You must include the > > commands of the menu inside this function, or make this value available >in > > some other global var like in this modified script: > > > > > > P.S. > > > > -Copy only the text inside the tags and put it inside > > you'r existing script Tags of the document. > > > > Regards! > > > > > > > > > > > > >From: Peter Vogel > > >Reply-To: javascript at LaTech.edu > > >To: javascript at LaTech.edu > > >Subject: Re: [Javascript] Newbie dipping toes in water > > >Date: Mon, 03 Mar 2003 15:10:15 +1100 > > > > > >Thanks for the example. Unfiortunately I couldn't get it to work, and > > >there were aspects I didn't understand, so I thought I should try > > >cutting it down to this: > > > > > > > > > > > > > > > > > >Now i get an error saying "Object required" in line 3. > > > > > >Could you tell me where I can find details/explanations of the objects > > >e.g. > > >window.event.srcElement > > > > > >Where is there a goiod general Javascript reference site? > > > > > >Thanks > > > > > >Peter > > > > > >On Sun, 02 Mar 2003 21:45:13 +0100 > > >"BEKIM BACAJ" wrote: > > > > > > > Hello there, > > > > here is some script I wrote, can help you getting ideas: > > > > > > > > > > > > Any further questions, -no hasitations, the same forum! > > > > > > > > Cheers! > > > > > > > > > > > > > > > > >From: Peter Vogel > > > > >Reply-To: javascript at LaTech.edu > > > > >To: javascript at LaTech.edu > > > > >Subject: [Javascript] Newbie dipping toes in water > > > > >Date: Sun, 02 Mar 2003 17:54:00 +1100 > > > > > > > > > >I want to write a JavaScript that does something like the "copy > > >shortcut" > > > > >command in the right-click menu in IE6. That is, I want tto read >the > > > > >value of the link that was right-clicked before selecting my script > > >from > > > > >the right-click menu. > > > > > > > > > >I have managed to do the registry entires to add the item to the >menu, > > > > >and it executes a file of my choice, however now I need to know >where > > >to > > > > >find the definitions I will need to use to get the link data from >the > > > > >displayed html document into my script. > > > > > > > > > >I have found examples that use things like > > > > > > > > > >var win = external.menuArguments; > > > > >document.all.location.value = win.location.href; > > > > >document.all.location.select(); > > > > > > > > > >but can't find where this is all defined/explained. > > > > > > > > > >Thanks for any advice on this. > > > > > > > > > >Peter > > > > > > > > > > > > > > >_______________________________________________ > > > > >Javascript mailing list > > > > >Javascript at LaTech.edu > > > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > > > > _________________________________________________________________ > > > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > > > http://join.msn.com/?page=features/junkmail > > > > > > > > _______________________________________________ > > > > Javascript mailing list > > > > Javascript at LaTech.edu > > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > >_______________________________________________ > > >Javascript mailing list > > >Javascript at LaTech.edu > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > _________________________________________________________________ > > Tired of spam? Get advanced junk mail protection with MSN 8. > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From sjsnow at ozconnect.net Tue Mar 4 16:53:16 2003 From: sjsnow at ozconnect.net (Steve Snow) Date: Wed, 5 Mar 2003 08:23:16 +0930 Subject: [Javascript] Re: need script - slideshow with captions In-Reply-To: Message-ID: The slide show is brilliant. I would like to use the concept in a teaching sense - the caption would need to be about 1-2 paragraphs in length. The script does not seem to like the broken lines so how do I represent a "line feed" without breaking the whole paragraph. Here is an example of what I am trying to do with your (Muchacho) idea, and I am getting a "expected ')' error. This is directly from your example - the "caption" part of the function ends at the word "bursting" with alt2 being "radiosonde". The links will be modified. Firstly, am I able to use paragraphs of info in lieu of a simple caption and if so, how would I link it together so it is seen by the function as a valid "caption"? Thanks. var myImage=new Array() myImage[0]=new img('bureau1.jpg','Gove Meteorological Office Building','Gove Meteorological Office','http://www.google.com/') myImage[1]=new img('sfty.gif','Every 6 hours, commencing at 2315Z, a meteorological balloon is released from each of Australia's Meteorological Offices. (This time  corresponds to release times throughout the world so that a true representation of the upper atmosphere can be gained). The balloons, or rather, their triangular aluminium targets tied beneath them, are tracked by radar to heights of up to 29,000 metres (almost 100,000ft or 12hPa) before bursting and returning back to earth. As the balloon rises, wind speed and direction is calculated every ten seconds  for use in the preparation of forecasts and as an aid to aviation traffic. Ordinarily a 100gram balloon is used in tandem with a polystyrene target covered with aluminium foil to obtain winds up to approximately 20,000 metres. At 2315Z however, a 350gram balloon is used and a Vaisala RS80 Radiosonde is attached below the target. The radiosonde contains a small transmitter that transmits data about temperature, humidity and pressure back to a computer at the station so that an accurate representation of the atmosphere can be obtained. Due to the decreasing atmospheric pressure as the balloon rises, these 350gram balloons will expand to the size of a small house before bursting.','radiosonde','http://www.hotmail.com/') -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Muchacho, Laurent (TWIi London) Sent: Tuesday, 4 March 2003 11:03 PM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Re: need script - slideshow with captions Hi Sorry to cut everyone short but you all trying to complicate your life with 2 array or trying to store data with this kind of process ok everyone thought of the array what is a good thing but you don't need a seconde one for the caption because if you want to add a alt text to your image or a link to an other page you will need to create new array and after a will your code will be completely unmaintainable, What you need is to store an object in your array I built this small examples with all you need this work only on IE but the logic should drive you in better direction http://www.elmuchacho.com/examples/slidde_show/default.asp Laurent -----Original Message----- From: BEKIM BACAJ [mailto:trojani2000 at hotmail.com] Sent: 01 March 2003 14:21 To: javascript at LaTech.edu Subject: Re: [Javascript] Re: need script - slideshow with captions All you need to do is ad another array of caption contents after or before the img arrays the same way: NewCapt = new Array ( "this and that", "caption contents", "capiton3", ...until the last img caption and u're done ) And at this line: document.slideshow.src = NewImg[ImgNum]; ad something like: caption.innerText = NewCapt[ImgNum]; and inside the HTML before this line: add the (in style) formated DIV:
The Defalt img caption text
And ure done. Cheers! >From: Dana Hall >Reply-To: javascript at LaTech.edu >To: >Subject: [Javascript] Re: need script - slideshow with captions >Date: Fri, 28 Feb 2003 22:44:34 -0800 > > >Just add an array of captions to the script and change the caption > >as you change the image? > >I know I would need another array, and thank you for helping me with >the code. Below is the code from my page, but I'm having difficulty >with four lines of the code you gave me: >(1) var document.myImage.src=newimage[n] // whatever it is >(2) var document.getElementById("caption").innetHTML=NewCap[n] > >(3) >(4)
> > >I know where 3 and 4 go, in the HTML instead of: > > >but I can't figure out where 1 and 2 go, instead of what, and if >anything else needs to change. The original script didn't use a >fixed array, so I can use any number or pictures and add more at any >time. So I wrote the caption array the same. as long as each has >the same number of elements it should work. Can some help out here? >thanks > >-dana > > >************************** begin code ******************************* > > > > Texas Beaders > > > > > > > >

 

>

 

>

Photos from the 4th Annual
>Texas Beaders Bead Retreat

> >

 

>

 

>

 

> > >
> > > > > >
Previous - >Auto/Stop - Next
>

>

> > > > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From pvogel at righthemisphere.com.au Tue Mar 4 17:03:22 2003 From: pvogel at righthemisphere.com.au (Peter Vogel) Date: Wed, 05 Mar 2003 10:03:22 +1100 Subject: [Javascript] Newbie dipping toes in water In-Reply-To: References: Message-ID: <20030305095529.9215.PVOGEL@righthemisphere.com.au> Thanks for your reply. I don't know if I have explained myself clearly. There is no code which is mine. There is no host application. Here's what I'm trying to do. I have added a context menu item in IE, say "SHOW URL". The registry points this to a file, say C:\winnt\showurl.htm Then, I am browsing any site, I right-click on a link, and along with the usual "open link", "open in new window", I get a choice "SHOW URL". If I click on this it executes my little script "showurl.htm", which is where I get stuck! I hope this explains what I need... On Tue, 04 Mar 2003 23:42:34 +0100 "BEKIM BACAJ" wrote: > Well, in that case you will have to share some of you'r code with us!? > The problem is that if one does not know in what environment you are calling > the function, -into what host applicaton, -from what external file, (if it's > a *.js there is no change, the script should work even if it is externaly > implemented but on top of some html document into IE environment nowhere > else). > Sugestion if the host application you're using can handle strings you can > paste them from this function, simply calling theLocation variable. > Otherwise, there's no way one can help you even if he/she knows the answer > without being able to see the targeted code. > > Regards! > > > > > >From: Peter Vogel > >Reply-To: javascript at LaTech.edu > >To: javascript at LaTech.edu > >Subject: Re: [Javascript] Newbie dipping toes in water > >Date: Tue, 04 Mar 2003 09:10:08 +1100 > > > >Your script does work when placed in an html document. > > > >Perhaps the problem is this: I'm not putting the script in > >an html page, I am running the script from a local file and > >calling it via an extra entry in the right-click context > >menu of IE. I have added the menu entry using the registry > >editor, and when I select the new option from the > >right-click menu it correctly executes the script. > > > >The problem is I can't find out how to pass the script the > >link that was clicked on. > > > >Thanks again > > > >Peter > > > >On Mon, 03 Mar 2003 22:55:44 +0100 > >"BEKIM BACAJ" wrote: > > > > > > > > Sorry, the comment line might have break in two lines and caused the > >error. > > > I've tested the script and the cript does display an alertBox with the > >HREF > > > addres. I will give it once again without comments. Copy and paste it > >into > > > an any html text document that contains Ancors and right-clik on them. > >I'm > > > convinced that you will get that links text previewed into the alertBox. > > > > > > After you get it to work, we can talk about the implementation, into > >you'r > > > script, but first, I too must se the handler you're using. For getting > >it to > > > be displayed in the menu. You can also try alert(itsAncor.href) and get > >the > > > same result. > > > If once again this does not display the alert box with ancors path in > >it, > > > the best way to solve this, is for you sending us the base script you're > > > using and see what the problem is,-might also be the case that you've > >used > > > this local variable 'itsAncor' in global manner. The value of itsAncor > >lives > > > and dies while exec of the getHREF function only. You must include the > > > commands of the menu inside this function, or make this value available > >in > > > some other global var like in this modified script: > > > > > > > > > P.S. > > > > > > -Copy only the text inside the tags and put it inside > > > you'r existing script Tags of the document. > > > > > > Regards! > > > > > > > > > > > > > > > > > > >From: Peter Vogel > > > >Reply-To: javascript at LaTech.edu > > > >To: javascript at LaTech.edu > > > >Subject: Re: [Javascript] Newbie dipping toes in water > > > >Date: Mon, 03 Mar 2003 15:10:15 +1100 > > > > > > > >Thanks for the example. Unfiortunately I couldn't get it to work, and > > > >there were aspects I didn't understand, so I thought I should try > > > >cutting it down to this: > > > > > > > > > > > > > > > > > > > > > > > >Now i get an error saying "Object required" in line 3. > > > > > > > >Could you tell me where I can find details/explanations of the objects > > > >e.g. > > > >window.event.srcElement > > > > > > > >Where is there a goiod general Javascript reference site? > > > > > > > >Thanks > > > > > > > >Peter > > > > > > > >On Sun, 02 Mar 2003 21:45:13 +0100 > > > >"BEKIM BACAJ" wrote: > > > > > > > > > Hello there, > > > > > here is some script I wrote, can help you getting ideas: > > > > > > > > > > > > > > > Any further questions, -no hasitations, the same forum! > > > > > > > > > > Cheers! > > > > > > > > > > > > > > > > > > > > >From: Peter Vogel > > > > > >Reply-To: javascript at LaTech.edu > > > > > >To: javascript at LaTech.edu > > > > > >Subject: [Javascript] Newbie dipping toes in water > > > > > >Date: Sun, 02 Mar 2003 17:54:00 +1100 > > > > > > > > > > > >I want to write a JavaScript that does something like the "copy > > > >shortcut" > > > > > >command in the right-click menu in IE6. That is, I want tto read > >the > > > > > >value of the link that was right-clicked before selecting my script > > > >from > > > > > >the right-click menu. > > > > > > > > > > > >I have managed to do the registry entires to add the item to the > >menu, > > > > > >and it executes a file of my choice, however now I need to know > >where > > > >to > > > > > >find the definitions I will need to use to get the link data from > >the > > > > > >displayed html document into my script. > > > > > > > > > > > >I have found examples that use things like > > > > > > > > > > > >var win = external.menuArguments; > > > > > >document.all.location.value = win.location.href; > > > > > >document.all.location.select(); > > > > > > > > > > > >but can't find where this is all defined/explained. > > > > > > > > > > > >Thanks for any advice on this. > > > > > > > > > > > >Peter > > > > > > > > > > > > > > > > > >_______________________________________________ > > > > > >Javascript mailing list > > > > > >Javascript at LaTech.edu > > > > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > > > > > > > _________________________________________________________________ > > > > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > > > > http://join.msn.com/?page=features/junkmail > > > > > > > > > > _______________________________________________ > > > > > Javascript mailing list > > > > > Javascript at LaTech.edu > > > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > > > >_______________________________________________ > > > >Javascript mailing list > > > >Javascript at LaTech.edu > > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > _________________________________________________________________ > > > Tired of spam? Get advanced junk mail protection with MSN 8. > > > http://join.msn.com/?page=features/junkmail > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From sjsnow at ozconnect.net Tue Mar 4 17:10:22 2003 From: sjsnow at ozconnect.net (Steve Snow) Date: Wed, 5 Mar 2003 08:40:22 +0930 Subject: [Javascript] Re: need script - slideshow with captions In-Reply-To: Message-ID: Problem fixed. It choked at the word "Australia's" because of the '. It also needs to be on one whole line of code (unless there are codes (e.g \n ??) to break up the line. -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Steve Snow Sent: Wednesday, 5 March 2003 8:23 AM To: javascript at LaTech.edu Subject: RE: [Javascript] Re: need script - slideshow with captions The slide show is brilliant. I would like to use the concept in a teaching sense - the caption would need to be about 1-2 paragraphs in length. The script does not seem to like the broken lines so how do I represent a "line feed" without breaking the whole paragraph. Here is an example of what I am trying to do with your (Muchacho) idea, and I am getting a "expected ')' error. This is directly from your example - the "caption" part of the function ends at the word "bursting" with alt2 being "radiosonde". The links will be modified. Firstly, am I able to use paragraphs of info in lieu of a simple caption and if so, how would I link it together so it is seen by the function as a valid "caption"? Thanks. var myImage=new Array() myImage[0]=new img('bureau1.jpg','Gove Meteorological Office Building','Gove Meteorological Office','http://www.google.com/') myImage[1]=new img('sfty.gif','Every 6 hours, commencing at 2315Z, a meteorological balloon is released from each of Australia's Meteorological Offices. (This time  corresponds to release times throughout the world so that a true representation of the upper atmosphere can be gained). The balloons, or rather, their triangular aluminium targets tied beneath them, are tracked by radar to heights of up to 29,000 metres (almost 100,000ft or 12hPa) before bursting and returning back to earth. As the balloon rises, wind speed and direction is calculated every ten seconds  for use in the preparation of forecasts and as an aid to aviation traffic. Ordinarily a 100gram balloon is used in tandem with a polystyrene target covered with aluminium foil to obtain winds up to approximately 20,000 metres. At 2315Z however, a 350gram balloon is used and a Vaisala RS80 Radiosonde is attached below the target. The radiosonde contains a small transmitter that transmits data about temperature, humidity and pressure back to a computer at the station so that an accurate representation of the atmosphere can be obtained. Due to the decreasing atmospheric pressure as the balloon rises, these 350gram balloons will expand to the size of a small house before bursting.','radiosonde','http://www.hotmail.com/') -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Muchacho, Laurent (TWIi London) Sent: Tuesday, 4 March 2003 11:03 PM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Re: need script - slideshow with captions Hi Sorry to cut everyone short but you all trying to complicate your life with 2 array or trying to store data with this kind of process ok everyone thought of the array what is a good thing but you don't need a seconde one for the caption because if you want to add a alt text to your image or a link to an other page you will need to create new array and after a will your code will be completely unmaintainable, What you need is to store an object in your array I built this small examples with all you need this work only on IE but the logic should drive you in better direction http://www.elmuchacho.com/examples/slidde_show/default.asp Laurent -----Original Message----- From: BEKIM BACAJ [mailto:trojani2000 at hotmail.com] Sent: 01 March 2003 14:21 To: javascript at LaTech.edu Subject: Re: [Javascript] Re: need script - slideshow with captions All you need to do is ad another array of caption contents after or before the img arrays the same way: NewCapt = new Array ( "this and that", "caption contents", "capiton3", ...until the last img caption and u're done ) And at this line: document.slideshow.src = NewImg[ImgNum]; ad something like: caption.innerText = NewCapt[ImgNum]; and inside the HTML before this line: add the (in style) formated DIV:
The Defalt img caption text
And ure done. Cheers! >From: Dana Hall >Reply-To: javascript at LaTech.edu >To: >Subject: [Javascript] Re: need script - slideshow with captions >Date: Fri, 28 Feb 2003 22:44:34 -0800 > > >Just add an array of captions to the script and change the caption > >as you change the image? > >I know I would need another array, and thank you for helping me with >the code. Below is the code from my page, but I'm having difficulty >with four lines of the code you gave me: >(1) var document.myImage.src=newimage[n] // whatever it is >(2) var document.getElementById("caption").innetHTML=NewCap[n] > >(3) >(4)
> > >I know where 3 and 4 go, in the HTML instead of: > > >but I can't figure out where 1 and 2 go, instead of what, and if >anything else needs to change. The original script didn't use a >fixed array, so I can use any number or pictures and add more at any >time. So I wrote the caption array the same. as long as each has >the same number of elements it should work. Can some help out here? >thanks > >-dana > > >************************** begin code ******************************* > > > > Texas Beaders > > > > > > > >

 

>

 

>

Photos from the 4th Annual
>Texas Beaders Bead Retreat

> >

 

>

 

>

 

> > >
> > > > > >
Previous - >Auto/Stop - Next
>

>

> > > > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From trojani2000 at hotmail.com Tue Mar 4 17:26:03 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Wed, 05 Mar 2003 00:26:03 +0100 Subject: [Javascript] Re: need script - slideshow with captions Message-ID: Are we getting popular Tonight?! Well, Mr Laurent! It seems you've teached us a lesson. Eventhough, advisory aims in this forum are giving a strait forward explanation, solution, advice etc. I like you'r script very much. Dana asked how to add the caption text inside her courrent script, we simply told her how, with no intentions of rewritting her original script. And she never asked for alt text, nore the link getaways. Anyway I appreciate you'r thought, and reminding us for existance of script Objects, there has been some time I didn't see any implementation of Objects at all. Stay in the forum. Regards, Bekim Bac? Trojani >From: "Muchacho, Laurent (TWIi London)" >Reply-To: javascript at LaTech.edu >To: "'javascript at LaTech.edu'" >Subject: RE: [Javascript] Re: need script - slideshow with captions >Date: Tue, 4 Mar 2003 13:33:02 -0000 > >Hi > >Sorry to cut everyone short but you all trying to complicate your life with >2 array or trying to store data with this kind of process >ok everyone thought of the array what is a good thing but you don't need a >seconde one for the caption because if you want to add a alt text to your >image or a link to an other page you will need to create new array and >after >a will your code will be completely unmaintainable, What you need is to >store an object in your array > >I built this small examples with all you need this work only on IE but the >logic should drive you in better direction > >http://www.elmuchacho.com/examples/slidde_show/default.asp > >Laurent > > > > > > > >-----Original Message----- >From: BEKIM BACAJ [mailto:trojani2000 at hotmail.com] >Sent: 01 March 2003 14:21 >To: javascript at LaTech.edu >Subject: Re: [Javascript] Re: need script - slideshow with captions > > >All you need to do is ad another array of caption contents after or before >the img arrays the same way: > >NewCapt = new Array ( >"this and that", >"caption contents", >"capiton3", > >...until the last img caption and u're done >) > >And at this line: > > document.slideshow.src = NewImg[ImgNum]; > >ad something like: > > caption.innerText = NewCapt[ImgNum]; > >and inside the HTML before this line: > > > >add the (in style) formated DIV: > >
The Defalt img caption text
> >And ure done. >Cheers! > > > > > > > > > > >From: Dana Hall > >Reply-To: javascript at LaTech.edu > >To: > >Subject: [Javascript] Re: need script - slideshow with captions > >Date: Fri, 28 Feb 2003 22:44:34 -0800 > > > > >Just add an array of captions to the script and change the caption > > >as you change the image? > > > >I know I would need another array, and thank you for helping me with > >the code. Below is the code from my page, but I'm having difficulty > >with four lines of the code you gave me: > >(1) var document.myImage.src=newimage[n] // whatever it is > >(2) var document.getElementById("caption").innetHTML=NewCap[n] > > > >(3) > >(4)
> > > > > >I know where 3 and 4 go, in the HTML instead of: > > > > > >but I can't figure out where 1 and 2 go, instead of what, and if > >anything else needs to change. The original script didn't use a > >fixed array, so I can use any number or pictures and add more at any > >time. So I wrote the caption array the same. as long as each has > >the same number of elements it should work. Can some help out here? > >thanks > > > >-dana > > > > > >************************** begin code ******************************* > > > > > > > > Texas Beaders > > > > > > > > > > > > > > > >

 

> >

 

> >

Photos from the 4th Annual
> >Texas Beaders Bead Retreat

> > > >

 

> >

 

> >

 

> > > > > >
> > > > > > > > > > > >
Previous - > >Auto/Stop - Next
> >

> >

> > > > > > > > > > > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > >_________________________________________________________________ > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript > > >DISCLAIMER - The preceding e-mail message (including any attachments) >contains information that may be confidential, may be protected by the >attorney-client or other applicable privileges, or may constitute >non-public >information. It is intended to be conveyed only to the designated >recipient(s) named above. If you are not an intended recipient of this >message, or have otherwise received it in error, please notify the sender >by >replying to this message and then delete all copies of it from your >computer >system. Any use, dissemination, distribution, or reproduction of this >message by unintended recipients is not authorized and may be unlawful. The >contents of this communication do not necessarily represent the views of >this company. >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From trojani2000 at hotmail.com Tue Mar 4 17:34:14 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Wed, 05 Mar 2003 00:34:14 +0100 Subject: [Javascript] encodinf JS Message-ID: Haey, Yes, there are some software script encoders, not very usefull though... Try with you'r Browser, you will fing where to download such applications. However once you've encoded the script you will no longer be able to modify it. changing even one simple white space will make you'r page unusable, in this case you will always have to save some backup copy of the original in case you decide to modify the contents later. Cheers. P.S. sorry I'm not able to recall where I found those apps. >From: "Iztok Polanic" >Reply-To: javascript at LaTech.edu >To: >Subject: [Javascript] encodinf JS >Date: Mon, 3 Mar 2003 12:13:23 +0100 > >Hi! > >I just saw a page with encoded tag. Can this be done? And >how? > > >Bye, > >Iztok > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From trojani2000 at hotmail.com Tue Mar 4 18:13:14 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Wed, 05 Mar 2003 01:13:14 +0100 Subject: [Javascript] Newbie dipping toes in water Message-ID: I'm sorry, this is out of my domain. Never worked with explorer objects, so I can't tell a thing. You will have do do it the same place you've added the menu item. The script in External HTML will do you no good. If you find the way how to read and place the window.status string into the menuItem, (because it will allways be visible when mouse over the link), and somehow make it execute with you'r click, than It is solved. This is your wish Idea, but as far as window status bar shows all the addresses under the mouse I don't see any benefit from getting it displayed in the context menu with the right click. It always gets displayed in the status bar as soon as you mouse over, than you leftclick, if you like the address, with no trouble to wait for the contextmenu to show it an decide, but as I sad, it's you'r right to have wishes sorry I couldn't fulfill them. >From: Peter Vogel >Reply-To: javascript at LaTech.edu >To: javascript at LaTech.edu >Subject: Re: [Javascript] Newbie dipping toes in water >Date: Wed, 05 Mar 2003 10:03:22 +1100 > >Thanks for your reply. > >I don't know if I have explained myself clearly. There is >no code which is mine. There is no host application. > >Here's what I'm trying to do. > >I have added a context menu item in IE, say "SHOW URL". The >registry points this to a file, say C:\winnt\showurl.htm > >Then, I am browsing any site, I right-click on a link, and >along with the usual "open link", "open in new window", I >get a choice "SHOW URL". If I click on this it executes my >little script "showurl.htm", which is where I get stuck! > >I hope this explains what I need... _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From tcjohn2 at qwest.com Tue Mar 4 21:53:23 2003 From: tcjohn2 at qwest.com (Ted Johnson) Date: Tue, 04 Mar 2003 20:53:23 -0700 Subject: [Javascript] Thanks Message-ID: <3E6574B3.6E2FE9CB@qwest.com> Your script on https://lists.latech.edu/pipermail/javascript/2001-September/002313.html worked for me. Now I can go home! Ted -- --------------------------------------- Ted C Johnson 303-896-9050 1005 17 th St Denver, CO 80202 Wholesale SD Web Development http://carrierweb From mjwelch at adelphia.net Wed Mar 5 15:06:25 2003 From: mjwelch at adelphia.net (Marsie Welch) Date: Wed, 5 Mar 2003 16:06:25 -0500 Subject: [Javascript] Return value from popup Message-ID: <3de001c2e35b$17692110$6501a8c0@mmwelch> I'm trying to create a form that opens a popup and then transfers the value entered in a popup form, back to the form that opened the popup. I get the error message: Error: 'document.forms.0.input' is null or not an object Any help would be appreciated. Here is my code: THE SIMPLE "MAIN" FORM Simple Form
THE POPUP FORM (popup.htm) The Popup EventId: -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Wed Mar 5 15:34:03 2003 From: peter at brunone.com (Peter Brunone) Date: Wed, 5 Mar 2003 15:34:03 -0600 Subject: [Javascript] Return value from popup In-Reply-To: <3de001c2e35b$17692110$6501a8c0@mmwelch> Message-ID: Marsie, Two problems come to mind. One, you don't have a form in your popup window, so you can't refer to it. Two (and this may not matter, but it's good coding practice), you probably want to avoid using reserved words to name objects... like naming an input "input". Cheers, Peter -----Original Message----- From: javascript-admin at LaTech.edu On Behalf Of Marsie Welch Sent: Wednesday, March 05, 2003 3:06 PM To: javascript at LaTech.edu Subject: [Javascript] Return value from popup I'm trying to create a form that opens a popup and then transfers the value entered in a popup form, back to the form that opened the popup. I get the error message: Error: 'document.forms.0.input' is null or not an object Any help would be appreciated. Here is my code: THE SIMPLE "MAIN" FORM Simple Form
THE POPUP FORM (popup.htm) The Popup EventId: From pvogel at righthemisphere.com.au Wed Mar 5 16:55:16 2003 From: pvogel at righthemisphere.com.au (Peter Vogel) Date: Thu, 06 Mar 2003 09:55:16 +1100 Subject: [Javascript] Help finding information about script In-Reply-To: References: Message-ID: <20030306095317.9265.PVOGEL@righthemisphere.com.au> I have found an example script on Microsoft's website which I want to understand. Where do I find definitions of things like "document" properties, "external.menuArguments" etc. Thank you Peter This is the script: var win = external.menuArguments; document.all.location.value = win.document.location.href; document.all.location.select(); document.execCommand("Copy"); From mjwelch at adelphia.net Wed Mar 5 20:57:47 2003 From: mjwelch at adelphia.net (Marsie Welch) Date: Wed, 5 Mar 2003 21:57:47 -0500 Subject: [Javascript] Return value from popup References: Message-ID: <3e8001c2e38d$74a59de0$6501a8c0@mmwelch> Thanks. Sorry it was so obvious. I created a form at one time, but who knows where it went. It really helped to have a fresh pair of eyes. Marsie ----- Original Message ----- From: "Peter Brunone" To: Sent: Wednesday, March 05, 2003 4:34 PM Subject: RE: [Javascript] Return value from popup Marsie, Two problems come to mind. One, you don't have a form in your popup window, so you can't refer to it. Two (and this may not matter, but it's good coding practice), you probably want to avoid using reserved words to name objects... like naming an input "input". Cheers, Peter -----Original Message----- From: javascript-admin at LaTech.edu On Behalf Of Marsie Welch Sent: Wednesday, March 05, 2003 3:06 PM To: javascript at LaTech.edu Subject: [Javascript] Return value from popup I'm trying to create a form that opens a popup and then transfers the value entered in a popup form, back to the form that opened the popup. I get the error message: Error: 'document.forms.0.input' is null or not an object Any help would be appreciated. Here is my code: THE SIMPLE "MAIN" FORM Simple Form
THE POPUP FORM (popup.htm) The Popup EventId: _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From Jeb911 at sc.rr.com Wed Mar 5 21:30:04 2003 From: Jeb911 at sc.rr.com (Josh Britt) Date: Wed, 5 Mar 2003 22:30:04 -0500 Subject: [Javascript] Javascript Message-ID: <000001c2e390$ad718910$0201a8c0@dell> Hello are you still having a problem with that IP script http://www.911designs.com I got mine working lookt at the site on the status bas on the bottom left let me know what you think I will help you if you would like Josh Britt -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andrew at d2k.com.au Wed Mar 5 21:30:36 2003 From: Andrew at d2k.com.au (Andrew Dunn) Date: Thu, 6 Mar 2003 13:30:36 +1000 Subject: [Javascript] Javascript Message-ID: <3B279CCBE6A1AD44A920B108222FC12D209879@chimaera.d2k.com.au> what language did you use? _____ From: Josh Britt [mailto:Jeb911 at sc.rr.com] Sent: Thursday, 6 March 2003 1:30 PM To: javascript at latech.edu Hello are you still having a problem with that IP script http://www.911designs.com I got mine working lookt at the site on the status bas on the bottom left let me know what you think I will help you if you would like Josh Britt -------------- next part -------------- An HTML attachment was scrubbed... URL: From andyg at ihug.co.nz Wed Mar 5 21:36:49 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Thu, 6 Mar 2003 16:36:49 +1300 Subject: [Javascript] Javascript References: <3B279CCBE6A1AD44A920B108222FC12D209879@chimaera.d2k.com.au> Message-ID: <002001c2e391$a280d370$73e8adcb@k1n8i8> MessageI suspect he grabbed the IP address via a server side script and put it into the Javascript code? var ip=<%=myIp%> or something similar >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what language did you use? From: Josh Britt [mailto:Jeb911 at sc.rr.com] Sent: Thursday, 6 March 2003 1:30 PM To: javascript at latech.edu Hello are you still having a problem with that IP script http://www.911designs.com I got mine working lookt at the site on the status bas on the bottom left let me know what you think I will help you if you would like Josh Britt From trojani2000 at hotmail.com Wed Mar 5 21:46:12 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Thu, 06 Mar 2003 04:46:12 +0100 Subject: [Javascript] Javascript Message-ID: Comon: he wrote it by hand. have you seen the script: var ip = '195.238.48.12' my IP doesn't look anything like that >From: "Andrew Gibson" >Reply-To: javascript at LaTech.edu >To: >Subject: Re: [Javascript] Javascript >Date: Thu, 6 Mar 2003 16:36:49 +1300 > >MessageI suspect he grabbed the IP address via a server side script and put >it into the Javascript code? >var ip=<%=myIp%> or something similar > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >what language did you use? > > > >From: Josh Britt [mailto:Jeb911 at sc.rr.com] >Sent: Thursday, 6 March 2003 1:30 PM >To: javascript at latech.edu > > >Hello are you still having a problem with that IP script >http://www.911designs.com I got mine working lookt at the site on the >status >bas on the bottom left let me know what you think I will help you if you >would like > >Josh Britt > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From Andrew at d2k.com.au Wed Mar 5 21:54:06 2003 From: Andrew at d2k.com.au (Andrew Dunn) Date: Thu, 6 Mar 2003 13:54:06 +1000 Subject: [Javascript] Javascript Message-ID: <3B279CCBE6A1AD44A920B108222FC12D20987A@chimaera.d2k.com.au> Do you have a permanent IP? -----Original Message----- From: BEKIM BACAJ [mailto:trojani2000 at hotmail.com] Sent: Thursday, 6 March 2003 1:46 PM To: javascript at LaTech.edu Comon: he wrote it by hand. have you seen the script: var ip = '195.238.48.12' my IP doesn't look anything like that >From: "Andrew Gibson" >Reply-To: javascript at LaTech.edu >To: >Subject: Re: [Javascript] Javascript >Date: Thu, 6 Mar 2003 16:36:49 +1300 > >MessageI suspect he grabbed the IP address via a server side script and >put it into the Javascript code? >var ip=<%=myIp%> or something similar > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >what language did you use? > > > >From: Josh Britt [mailto:Jeb911 at sc.rr.com] >Sent: Thursday, 6 March 2003 1:30 PM >To: javascript at latech.edu > > >Hello are you still having a problem with that IP script >http://www.911designs.com I got mine working lookt at the site on the >status bas on the bottom left let me know what you think I will help >you if you would like > >Josh Britt > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From andyg at ihug.co.nz Wed Mar 5 21:59:39 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Thu, 6 Mar 2003 16:59:39 +1300 Subject: [Javascript] Javascript References: Message-ID: <005001c2e394$d0465390$73e8adcb@k1n8i8> Wouldn't he go something like this? <% dim ip ip=request.servervariables("remote_addr") %> Subject: Re: [Javascript] Javascript > Comon: > he wrote it by hand. > have you seen the script: var ip = '195.238.48.12' > > my IP doesn't look anything like that > > > > >From: "Andrew Gibson" > >Reply-To: javascript at LaTech.edu > >To: > >Subject: Re: [Javascript] Javascript > >Date: Thu, 6 Mar 2003 16:36:49 +1300 > > > >MessageI suspect he grabbed the IP address via a server side script and put > >it into the Javascript code? > >var ip=<%=myIp%> or something similar > > > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > >what language did you use? > > > > > > > >From: Josh Britt [mailto:Jeb911 at sc.rr.com] > >Sent: Thursday, 6 March 2003 1:30 PM > >To: javascript at latech.edu > > > > > >Hello are you still having a problem with that IP script > >http://www.911designs.com I got mine working lookt at the site on the > >status > >bas on the bottom left let me know what you think I will help you if you > >would like > > > >Josh Britt > > > > > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From trojani2000 at hotmail.com Wed Mar 5 22:06:44 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Thu, 06 Mar 2003 05:06:44 +0100 Subject: [Javascript] Javascript Message-ID: No, restrictions apply, -also he did not sen't us only the IP, but also the background etc, otherwise if one has you'r IP he can directly connect to your computer. >From: "Andrew Gibson" >Reply-To: javascript at LaTech.edu >To: >Subject: Re: [Javascript] Javascript >Date: Thu, 6 Mar 2003 16:59:39 +1300 > >Wouldn't he go something like this? > ><% >dim ip >ip=request.servervariables("remote_addr") >%> > > >Subject: Re: [Javascript] Javascript > > > > Comon: > > he wrote it by hand. > > have you seen the script: var ip = '195.238.48.12' > > > > my IP doesn't look anything like that > > > > > > > > >From: "Andrew Gibson" > > >Reply-To: javascript at LaTech.edu > > >To: > > >Subject: Re: [Javascript] Javascript > > >Date: Thu, 6 Mar 2003 16:36:49 +1300 > > > > > >MessageI suspect he grabbed the IP address via a server side script and >put > > >it into the Javascript code? > > >var ip=<%=myIp%> or something similar > > > > > > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > > > >what language did you use? > > > > > > > > > > > >From: Josh Britt [mailto:Jeb911 at sc.rr.com] > > >Sent: Thursday, 6 March 2003 1:30 PM > > >To: javascript at latech.edu > > > > > > > > >Hello are you still having a problem with that IP script > > >http://www.911designs.com I got mine working lookt at the site on the > > >status > > >bas on the bottom left let me know what you think I will help you if >you > > >would like > > > > > >Josh Britt > > > > > > > > > > > >_______________________________________________ > > >Javascript mailing list > > >Javascript at LaTech.edu > > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From kkwok.8188 at rogers.com Thu Mar 6 20:26:04 2003 From: kkwok.8188 at rogers.com (kkwok.8188) Date: Thu, 6 Mar 2003 21:26:04 -0500 Subject: [Javascript] Please Help me Message-ID: <000a01c2e450$e73bae80$0f600a0a@nivla.kea> Hi, Can you let me know how to get rid of the pop ad from ZDOS.com redirection service? I noticed your site has sucessfully get rid of the pop ads. Thanks, Kkwok -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael_Dougherty at PBP.com Fri Mar 7 09:52:08 2003 From: Michael_Dougherty at PBP.com (Michael Dougherty) Date: Fri, 7 Mar 2003 10:52:08 -0500 Subject: [Javascript] using regular expression to clean a phone number field In-Reply-To: Message-ID: I would like to put clean phone numbers into my database. While i could use some routine in the SQL SP to clean the phone number string before it's INSERTed, i think using a regular expression replace on the string coming from the form would be a more elegant solution. MY main problem is that I don't have a good idea how to use regular expressions. phoneFormatUnknown = document.all["Phone"].value phoneFormatOnlyNumbers = cleanerFunction(phoneFormatUnknown) so that regardless of how the user enters the phone, only numbers end up in phoneFormatOnlyNumbers ex: (123) 123-1234 ==> 1231231234 ex: 123.123.1234 ==> 1231231234 ex: 1(123) 123-1234 ==> 11231231234 ex: 1-123-123-1234 ext 123 ==> 11231231234123 ex: 1-800-You're number 1 ==> 18001 (OK that the output is as useless as the input) bonus: 1-800-OKCOMPAQ ==> 180065266722 (i don't care how ugly the regexp is :) the idea is specifically to NOT just nest a bunch of character-specific replacements, or to iterate the string... From hassan at webtuitive.com Fri Mar 7 12:36:02 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Fri, 07 Mar 2003 10:36:02 -0800 Subject: [Javascript] using regular expression to clean a phone number field In-Reply-To: References: Message-ID: <3E68E692.3060309@webtuitive.com> Michael Dougherty wrote: > I would like to put clean phone numbers into my database. > phoneFormatUnknown = document.all["Phone"].value Unless this is an intranet, you might want to reconsider the IE-specific "document.all", but ... > ex: (123) 123-1234 ==> 1231231234 > ex: 123.123.1234 ==> 1231231234 > ex: 1(123) 123-1234 ==> 11231231234 > ex: 1-123-123-1234 ext 123 ==> 11231231234123 > ex: 1-800-You're number 1 ==> 18001 (OK that the output is as useless as the > input) > bonus: 1-800-OKCOMPAQ ==> 180065266722 (i don't care how ugly the regexp is > :) I'm in the middle of an OS install and a couple of other things, so maybe I'll come back to that one :-) HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From kathy522dry at yahoo.com Sat Mar 8 09:36:59 2003 From: kathy522dry at yahoo.com (kathy w.) Date: Sat, 8 Mar 2003 09:36:59 -0600 (CST) Subject: [Javascript] where do they find these girls 3/18/02 In-Reply-To: <9709ed2d759f3557f9a56f325edec84c@latech.edu> Message-ID: <20030308153659.2FB403092C2@LaTech.edu> An HTML attachment was scrubbed... URL: From Michael_Dougherty at PBP.com Sat Mar 8 17:10:33 2003 From: Michael_Dougherty at PBP.com (Michael Dougherty) Date: Sat, 8 Mar 2003 18:10:33 -0500 Subject: [Javascript] regexp - numericOnly In-Reply-To: Message-ID: thanks, this is perfect it IS an intranet, and the shotgun wedding to IE happened a long time ago :) -----Original Message----- From: javascript at LaTech.edu [mailto:javascript at LaTech.edu] Sent: Saturday, March 08, 2003 12:01 PM To: javascript at latech.edu Subject: Javascript digest, Vol 1 #924 - 3 msgs Send Javascript mailing list submissions to javascript at LaTech.edu To subscribe or unsubscribe via the World Wide Web, visit https://lists.LaTech.edu/mailman/listinfo/javascript or, via email, send a message with subject or body 'help' to javascript-request at LaTech.edu You can reach the person managing the list at javascript-admin at LaTech.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Javascript digest..." Today's Topics: 1. Re: using regular expression to clean a phone number field (Hassan Schroeder) 2. where do they find these girls 3/18/02 (kathyw.) --__--__-- Message: 1 Date: Fri, 07 Mar 2003 10:36:02 -0800 From: Hassan Schroeder Organization: Webtuitive Design To: javascript at LaTech.edu Subject: Re: [Javascript] using regular expression to clean a phone number field Reply-To: javascript at LaTech.edu Michael Dougherty wrote: >> I would like to put clean phone numbers into my database. >> phoneFormatUnknown = document.all["Phone"].value Unless this is an intranet, you might want to reconsider the IE-specific "document.all", but ... >> ex: (123) 123-1234 ==> 1231231234 >> ex: 123.123.1234 ==> 1231231234 >> ex: 1(123) 123-1234 ==> 11231231234 >> ex: 1-123-123-1234 ext 123 ==> 11231231234123 >> ex: 1-800-You're number 1 ==> 18001 (OK that the output is as useless >as the >> input) >> bonus: 1-800-OKCOMPAQ ==> 180065266722 (i don't care how ugly the >regexp is >> :) I'm in the middle of an OS install and a couple of other things, so maybe I'll come back to that one :-) HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. --__--__-- Message: 2 From: kathy w. To: javascript at latech.edu Date: Sat, 8 Mar 2003 09:36:59 -0600 (CST) Subject: [Javascript] where do they find these girls 3/18/02 Reply-To: javascript at LaTech.edu --===============84782861429222756== Content-Type: text/html; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: base64 CjxodG1sPgo8aGVhZD4KPHRpdGxlPmxvc2Ugd2VpZ2h0IGZlZWwgZ3JlYXQ8L3RpdGxlPgo8bWV0 YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1p c28tODg1OS0xIj4KPC9oZWFkPgoKPGJvZHkgYmdjb2xvcj0iI0ZGRkZGRiIgdGV4dD0iIzAwMDAw MCI+Cjx0YWJsZSB3aWR0aD0iNDAwIiBib3JkZXI9IjAiIGNlbGxzcGFjaW5nPSIxMCIgY2VsbHBh ZGRpbmc9IjEwIj4KICA8dHI+CiAgICA8dGQgd2lkdGg9IjEzMCI+PGEgaHJlZj0iaHR0cDovL3d3 dy5hYmV0dGVybGlmZXRvZGF5LmNvbS5hci9pbmRleC5waHA/aWQ9OCI+PGltZyBzcmM9Imh0dHA6 Ly93d3cuYWJldHRlcmxpZmV0b2RheS5jb20uYXIvaW1hZ2VzL2hnaF8wMS5qcGciIHdpZHRoPSIx NDAiIGhlaWdodD0iNTEiIGJvcmRlcj0iMCIgYWx0PSJteSBob3Qgd2lmZXMgZnJpZW5kIHRha2Vz IHRoaXMgYW5kIG5vdCBvbmx5IGxvb2tzIGdyZWF0IGJ1dCBsb3ZlcyB0byBmdWNrIj48L2E+PGJy PgogICAgICA8YSBocmVmPSJodHRwOi8vd3d3LmFiZXR0ZXJsaWZldG9kYXkuY29tLmFyL2luZGV4 LnBocD9pZD04Ij48aW1nIHNyYz0iaHR0cDovL3d3dy5hYmV0dGVybGlmZXRvZGF5LmNvbS5hci9p bWFnZXMvaGdoXzA5LmpwZyIgd2lkdGg9IjE0MCIgaGVpZ2h0PSIzNjkiIGJvcmRlcj0iMCIgYWx0 PSJteSBob3Qgd2lmZXMgZnJpZW5kIHRha2VzIHRoaXMgYW5kIG5vdCBvbmx5IGxvb2tzIGdyZWF0 IGJ1dCBsb3ZlcyB0byBmdWNrIj48L2E+PC90ZD4KICAgIDx0ZCB3aWR0aD0iMjAwIiBhbGlnbj0i bGVmdCIgdmFsaWduPSJ0b3AiPiAKICAgICAgPHA+PGI+PGZvbnQgZmFjZT0iQXJpYWwsIEhlbHZl dGljYSwgc2Fucy1zZXJpZiI+SDwvZm9udD48L2I+PGZvbnQgZmFjZT0iQXJpYWwsIEhlbHZldGlj YSwgc2Fucy1zZXJpZiI+ZXkgCiAgICAgICAgeW91IHNob3VsZCBjb21lIHRvIG15IHNpdGUgYW5k IGJ1eSBteSBoZWFsdGggcHJvZHVjdHMuPGJyPgogICAgICAgIEkgaGF2ZSB0aGVtIGNoZWFwZXIg YW5kIGJldHRlciB0aGFuIGFueSBhbWVyaWNhbiBjb21wYW55LjwvZm9udD48L3A+CiAgICAgIDxw Pjxmb250IGZhY2U9IkFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiPkkgaGF2ZSBhbiBvZmZp Y2UgbG9jYXRlZCBoZXJlIAogICAgICAgIGluIHRoZSBVbml0ZWQgU3RhdGVzIHRoYXQgSSBzaGlw IHRoZSBnb29kIGZyb20uPC9mb250PjwvcD4KICAgICAgPHA+PGZvbnQgZmFjZT0iQXJpYWwsIEhl bHZldGljYSwgc2Fucy1zZXJpZiI+WW91IGNhbiBvcmRlciBvbmxpbmUgdGhydSBteSAKICAgICAg ICBtZXJjaGFudCBhY2NvdW50IG9yIHBheSBtZSBieSBjaGVjay48YnI+CiAgICAgICAgPC9mb250 PjwvcD4KICAgICAgPGhyPgogICAgICA8Zm9udCBmYWNlPSJBcmlhbCwgSGVsdmV0aWNhLCBzYW5z LXNlcmlmIj5odHRwOi8vd3d3LmFiZXR0ZXJsaWZldG9kYXkuY29tLmFyL2luZGV4LnBocD9pZD04 PGJyPgogICAgICA8L2ZvbnQ+CiAgICAgIDxocj4KICAgICAgPGRpdiBhbGlnbj0iY2VudGVyIj48 YnI+CiAgICAgICAgPGZvbnQgZmFjZT0iQXJpYWwsIEhlbHZldGljYSwgc2Fucy1zZXJpZiI+PGI+ c2VuZCBjaGVja3MgcGF5YWJsZSB0bzwvYj48YnI+CiAgICAgICAgR09QIFBST0RVQ1RJT05TPGJy PgogICAgICAgIDQzMjUgQXRsYW50YSBId3kgU3VpdGUgNDIwPGJyPgogICAgICAgIExvZ2Fudmls bGUgR0EgMzAwNTI8L2ZvbnQ+PC9kaXY+CiAgICA8L3RkPgogIDwvdHI+CjwvdGFibGU+CjwvYm9k eT4KPC9odG1sPgo= --===============84782861429222756==-- --__--__-- _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript End of Javascript Digest From walter at torres.ws Sat Mar 8 22:30:08 2003 From: walter at torres.ws (Walter Torres) Date: Sat, 8 Mar 2003 22:30:08 -0600 Subject: [Javascript] Employment Query... In-Reply-To: Message-ID: (I hope this is kosher here...) Anyone have any good places to search for jobs that utilize advanced JavaScript, Web Server Admin, cross browser development, etc? Please reply (offline, if that is how it should be) Layoffs! Round 8! My Turn! Thanks. Walter From mountaindragon at startrek.net Sun Mar 9 19:05:28 2003 From: mountaindragon at startrek.net (David Merchant) Date: Sun, 09 Mar 2003 19:05:28 -0600 Subject: [Javascript] Employment Query... In-Reply-To: References: Message-ID: <5.1.0.14.0.20030309190107.03f017c0@mail.latech.edu> I think it's kosher, and especially now when the economy around the world is so very bad and any economic recovery may be a fairly jobless recovery, so this is a good question for professional javascripters! At 10:30 PM 3/8/2003 -0600, you wrote: >(I hope this is kosher here...) > >Anyone have any good places to search for jobs that utilize advanced >JavaScript, Web Server Admin, cross browser development, etc? > >Please reply (offline, if that is how it should be) > >Layoffs! Round 8! My Turn! > >Thanks. > >Walter TTFN, David Merchant Director of Integrated Technology CATALyST Louisiana Tech University PO Box 3179 Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu/ c3.latech.edu/ catalyst.latech.edu/ From spindrift at oceanfree.net Mon Mar 10 01:40:54 2003 From: spindrift at oceanfree.net (Tim Makins) Date: Mon, 10 Mar 2003 07:40:54 -0000 Subject: [Javascript] Employment Query... References: Message-ID: <018401c2e6d8$69ef2580$07a2cad5@host> How about http://www.rentacoder.com ?? http://www.rentacoder.com/RentACoder/advertisement/CoderRegistration.asp I haven't tried it myself, but had it down in the 'looks interesting' file... Does anyone here have experience of these people ? Tim in Ireland. ----- Original Message ----- From: "Walter Torres" > Anyone have any good places to search for jobs that utilize advanced > JavaScript, Web Server Admin, cross browser development, etc? > > Please reply (offline, if that is how it should be) > > Layoffs! Round 8! My Turn! > > Thanks. > > Walter From rutger at gurus.nl Mon Mar 10 04:33:30 2003 From: rutger at gurus.nl (Rutger Beens) Date: Mon, 10 Mar 2003 11:33:30 +0100 Subject: [Javascript] load pages problem Message-ID: <000e01c2e6f0$81999220$dc00a8c0@LAPTOPRUTGER> Hi! I read your problem at https://lists.latech.edu/pipermail/javascript/2001-December/002634.html and I have exact the same problem. I was wondering whether you were able to solve it! I hope you can share your solution with me. Thanks in advance! Rutger Beens PS: The problem is that when I load a new page in the frame, the status bar never finishes loading. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark_weinstock at yahoo.com Mon Mar 10 15:48:04 2003 From: mark_weinstock at yahoo.com (Mark) Date: Mon, 10 Mar 2003 13:48:04 -0800 (PST) Subject: [Javascript] Resizing a frame Message-ID: <20030310214804.26609.qmail@web41212.mail.yahoo.com> I'm a JS newbie, and haven't been able to find anything via google or the easy-to-find JS referencs. Can someone point me to a reference whereby I could resize a frame dynamically? I can't seem to get anything to work quite the way I expect. I can resize the entire window, but not just one frame. The idea is to be able to "minimize" then "restore" a menu frame. Thanks for any suggestions. Mark ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From enediel at com.ith.tur.cu Mon Mar 10 19:21:39 2003 From: enediel at com.ith.tur.cu (enediel) Date: Mon, 10 Mar 2003 17:21:39 -0800 Subject: [Javascript] standard html, hidden table's row and controls Message-ID: <002801c2e76c$91f12760$2824a8c0@nsoft> good day to all readers. It's specifically a javascript question. I've a form containing a hidden table, and inside of this last, controls that contain useful information invisible to the user, for example, hidden select tags that contains set of items, only subsets of it are visible to the user.
if the row is invisible I receive this message frm.R_InstitutionsSet_Institutions has no properties. changing to the program works correctly. Any suggestion? ?why this error, when no matter if the row is visible or not, the object R_InstitutionsSet_Institutions should be part of the form? I use only the most standard html specifications, using NetScape navigator to test my program; (over IE, this solution works perfectly.) Thanks in advance Enediel Linux user 300141 Happy who can penetrate the secret causes of the things ?Use Linux! From Andrew at d2k.com.au Mon Mar 10 19:22:12 2003 From: Andrew at d2k.com.au (Andrew Dunn) Date: Tue, 11 Mar 2003 11:22:12 +1000 Subject: [Javascript] Resizing a frame Message-ID: <3B279CCBE6A1AD44A920B108222FC12D2098B0@chimaera.d2k.com.au> Quite easy really: parent.FRAMENAME.cols = 50; -----Original Message----- From: Mark [mailto:mark_weinstock at yahoo.com] Sent: Tuesday, 11 March 2003 7:48 AM To: javascript at LaTech.edu I'm a JS newbie, and haven't been able to find anything via google or the easy-to-find JS referencs. Can someone point me to a reference whereby I could resize a frame dynamically? I can't seem to get anything to work quite the way I expect. I can resize the entire window, but not just one frame. The idea is to be able to "minimize" then "restore" a menu frame. Thanks for any suggestions. Mark ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From mark_weinstock at yahoo.com Mon Mar 10 22:49:16 2003 From: mark_weinstock at yahoo.com (Mark) Date: Mon, 10 Mar 2003 20:49:16 -0800 (PST) Subject: [Javascript] Resizing a frame In-Reply-To: <3B279CCBE6A1AD44A920B108222FC12D2098B0@chimaera.d2k.com.au> Message-ID: <20030311044916.17633.qmail@web41204.mail.yahoo.com> Hmm... doesn't seem to do it here. I'm sure I'm doing something incredibly stupid.... Here's what I have to test it: parent: main.html f1.html
f2.html is just a text test page. Can someone take pity? Thanks. --- Andrew Dunn wrote: > Quite easy really: > > parent.FRAMENAME.cols = 50; > > > -----Original Message----- > From: Mark [mailto:mark_weinstock at yahoo.com] > Sent: Tuesday, 11 March 2003 7:48 AM > To: javascript at LaTech.edu > > I'm a JS newbie, and haven't been able to find anything via google > or > the easy-to-find JS referencs. > > Can someone point me to a reference whereby I could resize a frame > dynamically? I can't seem to get anything to work quite the way I > expect. I can resize the entire window, but not just one frame. The > idea > is to be able to "minimize" then "restore" a menu frame. > > Thanks for any suggestions. > > Mark > > ===== > Mark Weinstock > mark_weinstock at yahoo.com > *************************************** > You can't demand something as a "right" unless you are willing to > fight > to death to defend everyone else's right to the same thing. > *************************************** > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com From dlovering at gazos.com Tue Mar 11 09:48:53 2003 From: dlovering at gazos.com (David T. Lovering) Date: Tue, 11 Mar 2003 08:48:53 -0700 Subject: [Javascript] dereferencing Message-ID: <3E6E0547.CB922D53@gazos.com> I have a problem in which a table containing rows of object declarations each points to a "DATA=filename" reference of "TYPE=text/html". Each individual so invoked contains a form with an embedded table containing the usual sorts of labels, identifiers, etc. To illustrate: Top-document: bogus
... more fieldsets of the same variety ... and each of the files so referenced by the object declarations are of the following architecture: file_00: file_00.html
... usual sorts of fields and such ...
My problem is that is necessary for me to access objects between these lower-level forms. When the enquiry is initiated at the top-level HTML file it can be done in any number of ways, for example: tablePointer = document.getElementById('myMasterTable_##'); childForm = tablePointer.rows[0].cells[0].children[0].object.documentElement.document.forms[0]; From here, each of the subelements can be manipulated directly, for example: childForm.field1.value = 37; (and so on) HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## constructs, I have difficulty climbing beyond the OBJECT specifier back into the parent document. By running various diagnostics and listing all the apparent properties/objects associated with each element, there is no clear "punch-through" to the top layer. In desperation I've even tried using 'window.opener' redirection (figuring that even in the same window, the window is its own window.opener entity), but such ploys have availed me nothing. HELP! I need a clean way to transparently share values, etc. between elements at the bottom level (within each of the file_## constructs) using standard JavaScript/JScript tools. If it is helpful, consider that I'm using vanilla IE6-style object definitions. -- Dave Lovering -- dlovering at gazos.com -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From jaime at alazan.com Tue Mar 11 10:52:02 2003 From: jaime at alazan.com (Jaime Iniesta) Date: Tue, 11 Mar 2003 17:52:02 +0100 Subject: [Javascript] Resizing a frame In-Reply-To: <20030311044916.17633.qmail@web41204.mail.yahoo.com> Message-ID: <000c01c2e7ee$8a9839e0$0300a8c0@jaime> There is a more complete answer to this question here: http://developer.irt.org/script/787.htm Jaime -----Mensaje original----- De: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] En nombre de Mark Enviado el: martes, 11 de marzo de 2003 5:49 Para: javascript at LaTech.edu Asunto: RE: [Javascript] Resizing a frame Hmm... doesn't seem to do it here. I'm sure I'm doing something incredibly stupid.... Here's what I have to test it: parent: main.html f1.html
f2.html is just a text test page. Can someone take pity? Thanks. --- Andrew Dunn wrote: > Quite easy really: > > parent.FRAMENAME.cols = 50; > > > -----Original Message----- > From: Mark [mailto:mark_weinstock at yahoo.com] > Sent: Tuesday, 11 March 2003 7:48 AM > To: javascript at LaTech.edu > > I'm a JS newbie, and haven't been able to find anything via google > or > the easy-to-find JS referencs. > > Can someone point me to a reference whereby I could resize a frame > dynamically? I can't seem to get anything to work quite the way I > expect. I can resize the entire window, but not just one frame. The > idea > is to be able to "minimize" then "restore" a menu frame. > > Thanks for any suggestions. > > Mark > > ===== > Mark Weinstock > mark_weinstock at yahoo.com > *************************************** > You can't demand something as a "right" unless you are willing to > fight > to death to defend everyone else's right to the same thing. > *************************************** > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From travis_d_falls at sbcglobal.net Tue Mar 11 12:21:45 2003 From: travis_d_falls at sbcglobal.net (Travis D. Falls) Date: Tue, 11 Mar 2003 10:21:45 -0800 (PST) Subject: [Javascript] window properties Message-ID: <20030311182145.45523.qmail@web80310.mail.yahoo.com> Hello, I am looking for an elegant way to remove all menus address bars, utilities, ect from a browser with an onload function call. Any ideas? Travis From mallard at serv.net Tue Mar 11 12:27:54 2003 From: mallard at serv.net (TomMallard) Date: Tue, 11 Mar 2003 10:27:54 -0800 Subject: [Javascript] dereferencing In-Reply-To: <3E6E0547.CB922D53@gazos.com> Message-ID: Did you try using frames...? tom mallard seattle -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of David T. Lovering Sent: Tuesday, March 11, 2003 7:49 AM To: javascript at LaTech.edu Subject: [Javascript] dereferencing I have a problem in which a table containing rows of object declarations each points to a "DATA=filename" reference of "TYPE=text/html". Each individual so invoked contains a form with an embedded table containing the usual sorts of labels, identifiers, etc. To illustrate: Top-document: bogus
... more fieldsets of the same variety ... and each of the files so referenced by the object declarations are of the following architecture: file_00: file_00.html
... usual sorts of fields and such ...
My problem is that is necessary for me to access objects between these lower-level forms. When the enquiry is initiated at the top-level HTML file it can be done in any number of ways, for example: tablePointer = document.getElementById('myMasterTable_##'); childForm = tablePointer.rows[0].cells[0].children[0].object.documentElement.document.fo rms[0]; From here, each of the subelements can be manipulated directly, for example: childForm.field1.value = 37; (and so on) HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## constructs, I have difficulty climbing beyond the OBJECT specifier back into the parent document. By running various diagnostics and listing all the apparent properties/objects associated with each element, there is no clear "punch-through" to the top layer. In desperation I've even tried using 'window.opener' redirection (figuring that even in the same window, the window is its own window.opener entity), but such ploys have availed me nothing. HELP! I need a clean way to transparently share values, etc. between elements at the bottom level (within each of the file_## constructs) using standard JavaScript/JScript tools. If it is helpful, consider that I'm using vanilla IE6-style object definitions. -- Dave Lovering -- dlovering at gazos.com From mark_weinstock at yahoo.com Tue Mar 11 12:39:31 2003 From: mark_weinstock at yahoo.com (Mark) Date: Tue, 11 Mar 2003 10:39:31 -0800 (PST) Subject: [Javascript] Resizing a frame In-Reply-To: <000c01c2e7ee$8a9839e0$0300a8c0@jaime> Message-ID: <20030311183931.32329.qmail@web41206.mail.yahoo.com> Thanks. This is eactly what I've been trying to find. --- Jaime Iniesta wrote: > There is a more complete answer to this question here: > > http://developer.irt.org/script/787.htm > > Jaime > > -----Mensaje original----- > De: javascript-admin at LaTech.edu > [mailto:javascript-admin at LaTech.edu] En > nombre de Mark > Enviado el: martes, 11 de marzo de 2003 5:49 > Para: javascript at LaTech.edu > Asunto: RE: [Javascript] Resizing a frame > > Hmm... doesn't seem to do it here. I'm sure I'm doing something > incredibly stupid.... Here's what I have to test it: > > parent: > main.html > > > > > > f1.html > > onClick="javascript:parent.f1.cols = 50;"> >
> onClick="javascript:parent.f1.cols = 200;"> > > > f2.html is just a text test page. > > Can someone take pity? > > Thanks. > > --- Andrew Dunn wrote: > > Quite easy really: > > > > parent.FRAMENAME.cols = 50; > > > > > > -----Original Message----- > > From: Mark [mailto:mark_weinstock at yahoo.com] > > Sent: Tuesday, 11 March 2003 7:48 AM > > To: javascript at LaTech.edu > > > > I'm a JS newbie, and haven't been able to find anything via > google > > or > > the easy-to-find JS referencs. > > > > Can someone point me to a reference whereby I could resize a > frame > > dynamically? I can't seem to get anything to work quite the way I > > expect. I can resize the entire window, but not just one frame. > The > > idea > > is to be able to "minimize" then "restore" a menu frame. > > > > Thanks for any suggestions. > > > > Mark > > > > ===== > > Mark Weinstock > > mark_weinstock at yahoo.com > > *************************************** > > You can't demand something as a "right" unless you are willing to > > fight > > to death to defend everyone else's right to the same thing. > > *************************************** > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Tax Center - forms, calculators, tips, more > > http://taxes.yahoo.com/ > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > ===== > Mark Weinstock > mark_weinstock at yahoo.com > *************************************** > You can't demand something as a "right" unless you are willing to > fight to > death to defend everyone else's right to the same thing. > *************************************** > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com From reubendb at innovativethought.com Tue Mar 11 12:49:29 2003 From: reubendb at innovativethought.com (Reuben D. Budiardja) Date: Tue, 11 Mar 2003 13:49:29 -0500 Subject: [Javascript] submitting java script array using Form Message-ID: <200303111349.29344.reubendb@innovativethought.com> Hello, I am wondering if there's an easy way to do this. Let me describe the problem. I have 2 forms, in form 1, I have a set of checkboxes with the same name but each with different value. The checkboxes were generated using PHP on server side. I want it when the user check the checkbox, it value goes to an array, or something. Then the submit button is on Form2. Form2 only contains the submit button and nothing else visible (it can have INPUT TYPE=HIDDEN of course). When user click the submit button, I want all the values that are checked on the checkbox to be submitted. So the very short version of the problem, how do I transfer those values from Form1 to Form2 ? Via javascript variable? Here what I am thinking:
I am trying to do it using the DOM way (I am not going to worry about older browser, primary target audience use Netscape 7 / Mozilla > 1.0) But I am all confused on how to do this. The reason I use [] for the checkbox name is because PHP can interpret that directly as an array of value. But even if that can't be done, I'll be happy with comma separated values as I can explode it easily into array in PHP. Any help on this will be greatly appreciated. Thanks Further more, is there any good tutorial on how to use javascript to access the DOM elements? I used to do it the old way (like document.forms[0]. etc) but I am not sure if that the recomended way anymore. Thanks. RDB From dlovering at gazos.com Tue Mar 11 14:29:18 2003 From: dlovering at gazos.com (David T. Lovering) Date: Tue, 11 Mar 2003 13:29:18 -0700 Subject: [Javascript] dereferencing References: Message-ID: <3E6E46D8.40520B10@gazos.com> Dear Tom: Some of my other applications use frames, so yes, I am familiar with what they can do. However, frames are "fixed" to the window space [yes, there are ways of dynamicly moving them about, but they are somewhat pathological], and I want things that close-up when they are deleted, can be scrolled as sets, and generally manipulated on a "rubber" background -- none of which are easy (or possible) with the conventional frame architecture. Basicly, I need to know how to reference back to the parent object that contains the declaration that contains the code snippet, as seen from the internal code snippet. The rest I can figure out using the tools I have available to me. -- Dave Lovering TomMallard wrote: > > Did you try using frames...? > > tom mallard > seattle > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of David T. Lovering > Sent: Tuesday, March 11, 2003 7:49 AM > To: javascript at LaTech.edu > Subject: [Javascript] dereferencing > > I have a problem in which a table containing rows of object declarations > each points to a "DATA=filename" reference of "TYPE=text/html". Each > individual so invoked contains a form with an embedded table > containing the usual sorts of labels, > identifiers, etc. To illustrate: > > Top-document: > > > bogus > > >
>
> > > >
type='text/html'>
>
>
>
>
> > > >
type='text/html'>
>
>
> ... more fieldsets of the same variety > > > > ... and each of the files so referenced by the object declarations are of > the following architecture: > > file_00: > > > file_00.html > > >
> > ... usual sorts of fields and such ... >
>
> > > > My problem is that is necessary for me to access objects between these > lower-level forms. When the enquiry is initiated at the top-level HTML file > it can be done in any number of ways, for example: > > tablePointer = document.getElementById('myMasterTable_##'); > childForm = > tablePointer.rows[0].cells[0].children[0].object.documentElement.document.fo > rms[0]; > > >From here, each of the subelements can be manipulated directly, for example: > > childForm.field1.value = 37; (and so on) > > HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## > constructs, I have difficulty climbing beyond the OBJECT specifier back into > the parent document. By running various diagnostics and listing all the > apparent > properties/objects associated with each element, there is no clear > "punch-through" to the top layer. In desperation I've even tried using > 'window.opener' redirection (figuring that even in the same window, the > window is its own window.opener entity), but > such ploys have availed me nothing. > > HELP! I need a clean way to transparently share values, etc. between > elements at the bottom level (within each of the file_## constructs) using > standard JavaScript/JScript tools. If it is helpful, consider that I'm > using vanilla IE6-style object definitions. > > -- Dave Lovering > -- dlovering at gazos.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From mallard at serv.net Tue Mar 11 14:34:13 2003 From: mallard at serv.net (TomMallard) Date: Tue, 11 Mar 2003 12:34:13 -0800 Subject: [Javascript] submitting java script array using Form In-Reply-To: <200303111349.29344.reubendb@innovativethought.com> Message-ID: This idea may work...collection to collection, didn't test it... document.form2.list[] = document.form1.list[]; tom mallard seattle -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Reuben D. Budiardja Sent: Tuesday, March 11, 2003 10:49 AM To: javascript at LaTech.edu Subject: [Javascript] submitting java script array using Form Hello, I am wondering if there's an easy way to do this. Let me describe the problem. I have 2 forms, in form 1, I have a set of checkboxes with the same name but each with different value. The checkboxes were generated using PHP on server side. I want it when the user check the checkbox, it value goes to an array, or something. Then the submit button is on Form2. Form2 only contains the submit button and nothing else visible (it can have INPUT TYPE=HIDDEN of course). When user click the submit button, I want all the values that are checked on the checkbox to be submitted. So the very short version of the problem, how do I transfer those values from Form1 to Form2 ? Via javascript variable? Here what I am thinking:
I am trying to do it using the DOM way (I am not going to worry about older browser, primary target audience use Netscape 7 / Mozilla > 1.0) But I am all confused on how to do this. The reason I use [] for the checkbox name is because PHP can interpret that directly as an array of value. But even if that can't be done, I'll be happy with comma separated values as I can explode it easily into array in PHP. Any help on this will be greatly appreciated. Thanks Further more, is there any good tutorial on how to use javascript to access the DOM elements? I used to do it the old way (like document.forms[0]. etc) but I am not sure if that the recomended way anymore. Thanks. RDB _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From merchant at LATECH.EDU Tue Mar 11 15:24:01 2003 From: merchant at LATECH.EDU (David Merchant) Date: Tue, 11 Mar 2003 15:24:01 -0600 Subject: [Javascript] Restrict List Posting To Members Only? Message-ID: <5.1.0.14.2.20030311151701.03fdd000@mail.latech.edu> Due to larger number of spams lately, and other problems, I have been debating with myself the idea of restricting posting to the JavaScript List to list members only. This would stop some additional spams, but not all, and it may also turn away some folk who may only have occasional questions to ask and don't want list postings when they don't have a question (of course they can subscribe and then go nomail until they have a question, but it does mean more work). I am leaning toward restricting posting to the list to list members only, but before I go ahead and do that, I want to see how the list membership feels about it. Should posting to the list be restricted to list members only? Yes or No? Please send your "vote" to me directly at "merchant at latech.edu," if you want to discuss the issue before you vote, go ahead and discuss it on the list, but otherwise send your "yes" or "no" votes directly to me please. TTFN, David Merchant Director of Integrated Technology CATALyST Louisiana Tech University Carson Taylor Hall, Rm. 130 Adams Street (PO Box 3179) Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.stern at bestsoftware.com Tue Mar 11 16:36:15 2003 From: matthew.stern at bestsoftware.com (Stern, Matthew) Date: Tue, 11 Mar 2003 14:36:15 -0800 Subject: [Javascript] Restrict List Posting To Members Only? Message-ID: <9C29845933302A4C832F8DE6882FF21902811494@IRVEXCH2.bscint.com> Yes--restrict. Matthew Stern Principal Technical Writer Mid-Range Engineering Best Software, Inc. matthew.stern at bestsoftware.com -----Original Message----- From: David Merchant [mailto:merchant at LATECH.EDU] Sent: Tuesday, March 11, 2003 1:24 PM To: javascript at LaTech.edu Subject: [Javascript] Restrict List Posting To Members Only? Due to larger number of spams lately, and other problems, I have been debating with myself the idea of restricting posting to the JavaScript List to list members only. This would stop some additional spams, but not all, and it may also turn away some folk who may only have occasional questions to ask and don't want list postings when they don't have a question (of course they can subscribe and then go nomail until they have a question, but it does mean more work). I am leaning toward restricting posting to the list to list members only, but before I go ahead and do that, I want to see how the list membership feels about it. Should posting to the list be restricted to list members only? Yes or No? Please send your "vote" to me directly at "merchant at latech.edu," if you want to discuss the issue before you vote, go ahead and discuss it on the list, but otherwise send your "yes" or "no" votes directly to me please. TTFN, David Merchant Director of Integrated Technology CATALyST Louisiana Tech University Carson Taylor Hall, Rm. 130 Adams Street (PO Box 3179) Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From newsletters at carouselpuppets.com Tue Mar 11 17:39:02 2003 From: newsletters at carouselpuppets.com (Peter Kronenberg) Date: Tue, 11 Mar 2003 18:39:02 -0500 Subject: [Javascript] Weird blinking with Mousehandler Message-ID: <5.2.0.9.0.20030311183848.02479b60@wheresmymailserver.com> Hope somebody can explain this. I see some weird blinking that occurs on a page when there is a mouse handler active. This occurs on IE6. Take a look at http://www.carouselpuppets.com/blink.htm. If you move your cursor around in one of the cells on the left, you see the blinking of the background. If you try the page with the mousehandler disabled, you don't see. Any clues? thanks, Peter From gassinaumasis at hotmail.com Wed Mar 12 03:14:32 2003 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Wed, 12 Mar 2003 09:14:32 +0000 Subject: [Javascript] window properties Message-ID: >I am looking for an elegant way to remove all menus >address bars, utilities, ect from a browser with an >onload function call. Any ideas? Open a popup. You can't change a browser window that the user opened (except, it is said, in Mozilla, where there are properties like window.toolbar=false ; but I never tried this) -------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.xs4all.nl/~ppk/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ W3C DOM Compatibility Table, expanded & updated http://www.xs4all.nl/~ppk/js/index.html?version5.html -------------------------------------------------- _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From awebster at venda.com Wed Mar 12 05:24:09 2003 From: awebster at venda.com (Anthony Webster) Date: Wed, 12 Mar 2003 11:24:09 -0000 Subject: [Javascript] homesite list Message-ID: hi does anyone know of a list as good as this one specifically for homesite? thanks ant From dlovering at gazos.com Wed Mar 12 07:44:57 2003 From: dlovering at gazos.com (David T. Lovering) Date: Wed, 12 Mar 2003 06:44:57 -0700 Subject: [Javascript] window properties References: Message-ID: <3E6F39D8.447C6B4F@gazos.com> There are ways of doing it, but they are extremely painful and require a signed script. Method 1: use CSS (and signed scripts), and Method 2: change the window-opening command to strip out unwanted chrome prior to the launch. Even then, IE will fight like heck to keep you from nuking the titlebar, although it will let you take out the other bits. Netscape is a bit more problematic, as noted. In general, once the call to build the window is made, the geometry is set, and no "onLoad" invoked directives will have an effect -- until after you do a screen refresh (and maybe not then). -- Dave Lovering Peter-Paul Koch wrote: > > >I am looking for an elegant way to remove all menus > >address bars, utilities, ect from a browser with an > >onload function call. Any ideas? > > Open a popup. You can't change a browser window that the user opened > (except, it is said, in Mozilla, where there are properties like > window.toolbar=false ; but I never tried this) > > -------------------------------------------------- > ppk, freelance web developer > Interaction, copywriting, JavaScript, integration > http://www.xs4all.nl/~ppk/ > Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ > W3C DOM Compatibility Table, expanded & updated > http://www.xs4all.nl/~ppk/js/index.html?version5.html > -------------------------------------------------- > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From mallard at serv.net Wed Mar 12 08:14:41 2003 From: mallard at serv.net (TomMallard) Date: Wed, 12 Mar 2003 06:14:41 -0800 Subject: [Javascript] dereferencing In-Reply-To: <3E6E46D8.40520B10@gazos.com> Message-ID: I was thinkin' you could just use a top level frame for all pages to fit within to give you a top.framename to get back up, but it sounds like a better way would be to use the id attributes which would probably need to have unique names in a schema that would allow you to get around using them. You could then access them with the enumerator object IIRC. tom -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of David T. Lovering Sent: Tuesday, March 11, 2003 12:29 PM To: javascript at LaTech.edu Subject: Re: [Javascript] dereferencing Dear Tom: Some of my other applications use frames, so yes, I am familiar with what they can do. However, frames are "fixed" to the window space [yes, there are ways of dynamicly moving them about, but they are somewhat pathological], and I want things that close-up when they are deleted, can be scrolled as sets, and generally manipulated on a "rubber" background -- none of which are easy (or possible) with the conventional frame architecture. Basicly, I need to know how to reference back to the parent object that contains the declaration that contains the code snippet, as seen from the internal code snippet. The rest I can figure out using the tools I have available to me. -- Dave Lovering TomMallard wrote: > > Did you try using frames...? > > tom mallard > seattle > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of David T. Lovering > Sent: Tuesday, March 11, 2003 7:49 AM > To: javascript at LaTech.edu > Subject: [Javascript] dereferencing > > I have a problem in which a table containing rows of object declarations > each points to a "DATA=filename" reference of "TYPE=text/html". Each > individual so invoked contains a form with an embedded table > containing the usual sorts of labels, > identifiers, etc. To illustrate: > > Top-document: > > > bogus > > >
>
> > > >
type='text/html'>
>
>
>
>
> > > >
type='text/html'>
>
>
> ... more fieldsets of the same variety > > > > ... and each of the files so referenced by the object declarations are of > the following architecture: > > file_00: > > > file_00.html > > >
> > ... usual sorts of fields and such ... >
>
> > > > My problem is that is necessary for me to access objects between these > lower-level forms. When the enquiry is initiated at the top-level HTML file > it can be done in any number of ways, for example: > > tablePointer = document.getElementById('myMasterTable_##'); > childForm = > tablePointer.rows[0].cells[0].children[0].object.documentElement.document.fo > rms[0]; > > >From here, each of the subelements can be manipulated directly, for example: > > childForm.field1.value = 37; (and so on) > > HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## > constructs, I have difficulty climbing beyond the OBJECT specifier back into > the parent document. By running various diagnostics and listing all the > apparent > properties/objects associated with each element, there is no clear > "punch-through" to the top layer. In desperation I've even tried using > 'window.opener' redirection (figuring that even in the same window, the > window is its own window.opener entity), but > such ploys have availed me nothing. > > HELP! I need a clean way to transparently share values, etc. between > elements at the bottom level (within each of the file_## constructs) using > standard JavaScript/JScript tools. If it is helpful, consider that I'm > using vanilla IE6-style object definitions. > > -- Dave Lovering > -- dlovering at gazos.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From merchant at LATECH.EDU Wed Mar 12 08:47:05 2003 From: merchant at LATECH.EDU (David Merchant) Date: Wed, 12 Mar 2003 08:47:05 -0600 Subject: [Javascript] Result: Restrict List Posting To Members Only? Message-ID: <5.1.0.14.2.20030312084015.03f9a820@mail.latech.edu> There was a landslide of yes to restricting posting to list members. Another reason to restrict is that it would also help prevent such fiascoes as the list being subscribed to the JS-Jive list (that's fixed and won't happen again, but it could happen with some other list in the future), I thought about that, and what a major headache and time consumer that fiasco was for me and that alone is enough for me to restrict postings to list members. So later this morning I will restrict list posting to members only. TTFN, David Merchant Director of Integrated Technology CATALyST Louisiana Tech University Carson Taylor Hall, Rm. 130 Adams Street (PO Box 3179) Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From dlovering at gazos.com Wed Mar 12 09:54:00 2003 From: dlovering at gazos.com (David T. Lovering) Date: Wed, 12 Mar 2003 08:54:00 -0700 Subject: [Javascript] inheritance problem Message-ID: <3E6F5802.AE4CDDFB@gazos.com> My previous question was somewhat excessively detailed. Let me rephrase -- Given a table with two consecutive rows What code do I need to put into "foo.htm" in order to access and manipulate the value of "myinput" in the calling program? I've gone through the usual DOM inheritance diagrams, and no joy yet. If I need to do some prep (like creating a custom DIV wrapper, etc. etc.), I'm cool with that. Dave Lovering dlovering at gazos.com -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From lshadoff at brazosport.cc.tx.us Wed Mar 12 12:40:48 2003 From: lshadoff at brazosport.cc.tx.us (Lewis Shadoff) Date: Wed, 12 Mar 2003 12:40:48 -0600 Subject: [Javascript] Re: homesite list In-Reply-To: <20030312180101.3E038309468@LaTech.edu> Message-ID: <5.0.2.1.2.20030312123903.00bc11e8@127.0.0.1> At 12:01 PM 3/12/2003, ant wrote: >does anyone know of a list as good as this one specifically for = >homesite? The closest thing I know of is the Macromedia Homesite Forum at: Lewis A. Shadoff, Ph.D. Brazosport College Lake Jackson, TX From spindrift at oceanfree.net Wed Mar 12 13:07:48 2003 From: spindrift at oceanfree.net (Tim Makins) Date: Wed, 12 Mar 2003 19:07:48 -0000 Subject: [Javascript] Weird blinking with Mousehandler References: <5.2.0.9.0.20030311183848.02479b60@wheresmymailserver.com> Message-ID: <014b01c2e8ca$b4a44ee0$4da0cad5@host> The background may not blink when the handler is disabled, but the status line does, in both. It occurs when moving between the background and the image. One answer might be to put the image in a separate cell that doesn't use onmouseover etc. Tim in Ireland. ----- Original Message ----- From: "Peter Kronenberg" To: Sent: 11 March 2003 23:39 Subject: [Javascript] Weird blinking with Mousehandler > Hope somebody can explain this. I see some weird blinking that occurs on a > page when there is a mouse handler active. This occurs on IE6. Take a > look at http://www.carouselpuppets.com/blink.htm. > If you move your cursor around in one of the cells on the left, you see the > blinking of the background. If you try the page with the mousehandler > disabled, you don't see. > > Any clues? > > thanks, > Peter > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From pak at carouselpuppets.com Wed Mar 12 13:16:14 2003 From: pak at carouselpuppets.com (Peter Kronenberg) Date: Wed, 12 Mar 2003 14:16:14 -0500 Subject: [Javascript] Weird blinking with Mousehandler In-Reply-To: <014b01c2e8ca$b4a44ee0$4da0cad5@host> References: <5.2.0.9.0.20030311183848.02479b60@wheresmymailserver.com> Message-ID: <5.2.0.9.0.20030312141426.00b34ba0@mail.nova.org> At 3/12/2003 Wednesday 07:07 PM, you wrote: >The background may not blink when the handler is disabled, but the status >line does, in both. It occurs when moving between the background and the >image. One answer might be to put the image in a separate cell that doesn't >use onmouseover etc. Well, this was just an example. I really want to have everything in one cell. Since the onmouseover controls the entire row (it's in the ), why is there blinking, as if there is a state change occurring, when moving within the cell? From leif at harmsen.net Wed Mar 12 13:35:23 2003 From: leif at harmsen.net (Leif Harmsen) Date: Wed, 12 Mar 2003 14:35:23 -0500 Subject: [Javascript] status bar at the bottom keeps creeping along Message-ID: <3E6F8BFB.3060006@harmsen.net> Maria Lamabert: I have exactly the same problem and it is driving me around the bend. Yours is the only other mention of the problem I could find on the net. I'm using a PC, Win98se and have the problem in Ie 6 but not Netscape 7. Did you ever get an answer from anywone? Leif -- The Lippincottage Art Laboratory 29 Lippincott Street, Kensington Market Toronto, Canada M5T 2R6 T: 416.831.5781 F: 416.920.4846 http://www.harmsen.net We use this piece of code to replace a page inside of a frame the problem we are running into is sometimes when a page is loading everything comes up but the status bar at the bottom keeps creeping along and the blue bar never stops creeping. You can do anything you want on the pages but it gives the appearence that it is not done loading. This code is used all over the page but it only does the status bar thing sometimes we are not even sure if it is directly related to this piece of code. Does anyone know why this is happening parent.pagenavigator.document.location.replace('blank_tabfield.htm'); From bill.marriott at agric.nsw.gov.au Wed Mar 12 14:20:07 2003 From: bill.marriott at agric.nsw.gov.au (bill.marriott at agric.nsw.gov.au) Date: Thu, 13 Mar 2003 07:20:07 +1100 Subject: [Javascript] coding for the key Message-ID: Hi Everyone, Does anyone know how to get HTML to format an embedded carriage return. eg. 1. something 2. something else 3. something different ends up as 1. something 2. something else 3. something different if it is loaded from server data into a text area form element , but if it is just written to the page directly from the server it ends up as 1. something 2. something else 3. something different which is not as pretty thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From christ at saeweb.com Wed Mar 12 14:35:02 2003 From: christ at saeweb.com (Chris Tifer) Date: Wed, 12 Mar 2003 15:35:02 -0500 Subject: [Javascript] coding for the key References: Message-ID: <001101c2e8d6$dc2060b0$f10110ac@saweb.lcl> What do you mean by "written directly from the server"? What language are you using? With ASP you could use REPLACE on vbCRLF... Or is this stricly through JavaScript where a form is submitted and you are parsing the QueryString using JavaScript? Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: bill.marriott at agric.nsw.gov.au To: javascript at LaTech.edu Sent: Wednesday, March 12, 2003 3:20 PM Subject: [Javascript] coding for the key Hi Everyone, Does anyone know how to get HTML to format an embedded carriage return. eg. 1. something 2. something else 3. something different ends up as 1. something 2. something else 3. something different if it is loaded from server data into a text area form element , but if it is just written to the page directly from the server it ends up as 1. something 2. something else 3. something different which is not as pretty thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.marriott at agric.nsw.gov.au Wed Mar 12 14:51:30 2003 From: bill.marriott at agric.nsw.gov.au (bill.marriott at agric.nsw.gov.au) Date: Thu, 13 Mar 2003 07:51:30 +1100 Subject: [Javascript] coding for the key Message-ID: Hi Chris, I'm using an Informix product called App Page Builder and I guess this is not strictly a javascript question. I would be interested to see a example of the full ASP replace statement because it may work with Informix as well. It seems strange to me that the form element can read the format but the page can't. Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 "Chris Tifer" Sent by: javascript-admin at LaTech.edu 13/03/2003 07:35 AM Please respond to javascript To: cc: Subject: Re: [Javascript] coding for the key What do you mean by "written directly from the server"? What language are you using? With ASP you could use REPLACE on vbCRLF... Or is this stricly through JavaScript where a form is submitted and you are parsing the QueryString using JavaScript? Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: bill.marriott at agric.nsw.gov.au To: javascript at LaTech.edu Sent: Wednesday, March 12, 2003 3:20 PM Subject: [Javascript] coding for the key Hi Everyone, Does anyone know how to get HTML to format an embedded carriage return. eg. 1. something 2. something else 3. something different ends up as 1. something 2. something else 3. something different if it is loaded from server data into a text area form element , but if it is just written to the page directly from the server it ends up as 1. something 2. something else 3. something different which is not as pretty thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at carladler.org Wed Mar 12 14:53:30 2003 From: carl at carladler.org (Carl Adler) Date: Wed, 12 Mar 2003 15:53:30 -0500 Subject: [Javascript] coding for the key In-Reply-To: Message-ID: This is not much help but might be of at least negative interest: http://www.image-ination.com/backslash.html Carl From: bill.marriott at agric.nsw.gov.au Reply-To: javascript at LaTech.edu Date: Thu, 13 Mar 2003 07:20:07 +1100 To: javascript at LaTech.edu Subject: [Javascript] coding for the key Hi Everyone, Does anyone know how to get HTML to format an embedded carriage return. eg. 1. something 2. something else 3. something different ends up as 1. something 2. something else 3. something different if it is loaded from server data into a text area form element , but if it is just written to the page directly from the server it ends up as 1. something 2. something else 3. something different which is not as pretty thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From christ at saeweb.com Wed Mar 12 15:04:34 2003 From: christ at saeweb.com (Chris Tifer) Date: Wed, 12 Mar 2003 16:04:34 -0500 Subject: [Javascript] coding for the key References: Message-ID: <002f01c2e8da$fc58ae60$f10110ac@saweb.lcl> What's the extension on the page? That's going to determine what language is used on the server-side. ASP's replace statement would be something like: REPLACE(Variable, vbCRLF, "
") So say if I was retrieving something from the database (text in your example) and I wanted to write it out with line-breaks, I would first have to have it defined as a variable. DIM strText strText = "Some text that might have a line break" strText = REPLACE(strText, vbCRLF, "
") Response.Write strText I would assume though that your program would have something built in allowing you to insert line breaks. Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: bill.marriott at agric.nsw.gov.au To: javascript at LaTech.edu Sent: Wednesday, March 12, 2003 3:51 PM Subject: Re: [Javascript] coding for the key Hi Chris, I'm using an Informix product called App Page Builder and I guess this is not strictly a javascript question. I would be interested to see a example of the full ASP replace statement because it may work with Informix as well. It seems strange to me that the form element can read the format but the page can't. Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 "Chris Tifer" Sent by: javascript-admin at LaTech.edu 13/03/2003 07:35 AM Please respond to javascript To: cc: Subject: Re: [Javascript] coding for the key What do you mean by "written directly from the server"? What language are you using? With ASP you could use REPLACE on vbCRLF... Or is this stricly through JavaScript where a form is submitted and you are parsing the QueryString using JavaScript? Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: bill.marriott at agric.nsw.gov.au To: javascript at LaTech.edu Sent: Wednesday, March 12, 2003 3:20 PM Subject: [Javascript] coding for the key Hi Everyone, Does anyone know how to get HTML to format an embedded carriage return. eg. 1. something 2. something else 3. something different ends up as 1. something 2. something else 3. something different if it is loaded from server data into a text area form element , but if it is just written to the page directly from the server it ends up as 1. something 2. something else 3. something different which is not as pretty thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dlovering at gazos.com Wed Mar 12 15:21:21 2003 From: dlovering at gazos.com (David T. Lovering) Date: Wed, 12 Mar 2003 14:21:21 -0700 Subject: [Javascript] dereferencing References: Message-ID: <3E6FA482.A21F37C3@gazos.com> Ostensibly this would work, but just assigning unique names (and I already have a unique-name assignment tool in place) doesn't let you climb back out. Yes, you can back-track with frames, but frames don't "float" the way objects do. Hence my dilemma. -- Dave Lovering TomMallard wrote: > > I was thinkin' you could just use a top level frame for all pages to fit > within to give you a top.framename to get back up, but it sounds like a > better way would be to use the id attributes which would probably need to > have unique names in a schema that would allow you to get around using them. > You could then access them with the enumerator object IIRC. > > tom > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of David T. Lovering > Sent: Tuesday, March 11, 2003 12:29 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] dereferencing > > Dear Tom: > > Some of my other applications use frames, so yes, I am familiar with what > they can do. However, frames are "fixed" to the window space [yes, there > are > ways of dynamicly moving them about, but they are somewhat pathological], > and > I want things that close-up when they are deleted, can be scrolled as sets, > and generally manipulated on a "rubber" background -- none of which are easy > (or possible) with the conventional frame architecture. > > Basicly, I need to know how to reference back to the parent object that > contains the declaration that contains the code snippet, as seen > from the internal code snippet. The rest I can figure out using the tools I > have available to me. > > -- Dave Lovering > > TomMallard wrote: > > > > Did you try using frames...? > > > > tom mallard > > seattle > > > > -----Original Message----- > > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > > Behalf Of David T. Lovering > > Sent: Tuesday, March 11, 2003 7:49 AM > > To: javascript at LaTech.edu > > Subject: [Javascript] dereferencing > > > > I have a problem in which a table containing rows of object declarations > > each points to a "DATA=filename" reference of "TYPE=text/html". Each > > individual so invoked contains a form with an embedded table > > containing the usual sorts of labels, > > identifiers, etc. To illustrate: > > > > Top-document: > > > > > > bogus > > > > > >
> >
> > > > > > > >
> type='text/html'>
> >
> >
> >
> >
> > > > > > > >
> type='text/html'>
> >
> >
> > ... more fieldsets of the same variety > > > > > > > > ... and each of the files so referenced by the object declarations are of > > the following architecture: > > > > file_00: > > > > > > file_00.html > > > > > >
> > > > ... usual sorts of fields and such ... > >
> >
> > > > > > > > My problem is that is necessary for me to access objects between these > > lower-level forms. When the enquiry is initiated at the top-level HTML > file > > it can be done in any number of ways, for example: > > > > tablePointer = document.getElementById('myMasterTable_##'); > > childForm = > > > tablePointer.rows[0].cells[0].children[0].object.documentElement.document.fo > > rms[0]; > > > > >From here, each of the subelements can be manipulated directly, for > example: > > > > childForm.field1.value = 37; (and so on) > > > > HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## > > constructs, I have difficulty climbing beyond the OBJECT specifier back > into > > the parent document. By running various diagnostics and listing all the > > apparent > > properties/objects associated with each element, there is no clear > > "punch-through" to the top layer. In desperation I've even tried using > > 'window.opener' redirection (figuring that even in the same window, the > > window is its own window.opener entity), but > > such ploys have availed me nothing. > > > > HELP! I need a clean way to transparently share values, etc. between > > elements at the bottom level (within each of the file_## constructs) using > > standard JavaScript/JScript tools. If it is helpful, consider that I'm > > using vanilla IE6-style object definitions. > > > > -- Dave Lovering > > -- dlovering at gazos.com > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From dlovering at gazos.com Wed Mar 12 15:21:21 2003 From: dlovering at gazos.com (David T. Lovering) Date: Wed, 12 Mar 2003 14:21:21 -0700 Subject: [Javascript] dereferencing References: Message-ID: <3E6FA482.A21F37C3@gazos.com> Ostensibly this would work, but just assigning unique names (and I already have a unique-name assignment tool in place) doesn't let you climb back out. Yes, you can back-track with frames, but frames don't "float" the way objects do. Hence my dilemma. -- Dave Lovering TomMallard wrote: > > I was thinkin' you could just use a top level frame for all pages to fit > within to give you a top.framename to get back up, but it sounds like a > better way would be to use the id attributes which would probably need to > have unique names in a schema that would allow you to get around using them. > You could then access them with the enumerator object IIRC. > > tom > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of David T. Lovering > Sent: Tuesday, March 11, 2003 12:29 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] dereferencing > > Dear Tom: > > Some of my other applications use frames, so yes, I am familiar with what > they can do. However, frames are "fixed" to the window space [yes, there > are > ways of dynamicly moving them about, but they are somewhat pathological], > and > I want things that close-up when they are deleted, can be scrolled as sets, > and generally manipulated on a "rubber" background -- none of which are easy > (or possible) with the conventional frame architecture. > > Basicly, I need to know how to reference back to the parent object that > contains the declaration that contains the code snippet, as seen > from the internal code snippet. The rest I can figure out using the tools I > have available to me. > > -- Dave Lovering > > TomMallard wrote: > > > > Did you try using frames...? > > > > tom mallard > > seattle > > > > -----Original Message----- > > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > > Behalf Of David T. Lovering > > Sent: Tuesday, March 11, 2003 7:49 AM > > To: javascript at LaTech.edu > > Subject: [Javascript] dereferencing > > > > I have a problem in which a table containing rows of object declarations > > each points to a "DATA=filename" reference of "TYPE=text/html". Each > > individual so invoked contains a form with an embedded table > > containing the usual sorts of labels, > > identifiers, etc. To illustrate: > > > > Top-document: > > > > > > bogus > > > > > >
> >
> > > > > > > >
> type='text/html'>
> >
> >
> >
> >
> > > > > > > >
> type='text/html'>
> >
> >
> > ... more fieldsets of the same variety > > > > > > > > ... and each of the files so referenced by the object declarations are of > > the following architecture: > > > > file_00: > > > > > > file_00.html > > > > > >
> > > > ... usual sorts of fields and such ... > >
> >
> > > > > > > > My problem is that is necessary for me to access objects between these > > lower-level forms. When the enquiry is initiated at the top-level HTML > file > > it can be done in any number of ways, for example: > > > > tablePointer = document.getElementById('myMasterTable_##'); > > childForm = > > > tablePointer.rows[0].cells[0].children[0].object.documentElement.document.fo > > rms[0]; > > > > >From here, each of the subelements can be manipulated directly, for > example: > > > > childForm.field1.value = 37; (and so on) > > > > HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## > > constructs, I have difficulty climbing beyond the OBJECT specifier back > into > > the parent document. By running various diagnostics and listing all the > > apparent > > properties/objects associated with each element, there is no clear > > "punch-through" to the top layer. In desperation I've even tried using > > 'window.opener' redirection (figuring that even in the same window, the > > window is its own window.opener entity), but > > such ploys have availed me nothing. > > > > HELP! I need a clean way to transparently share values, etc. between > > elements at the bottom level (within each of the file_## constructs) using > > standard JavaScript/JScript tools. If it is helpful, consider that I'm > > using vanilla IE6-style object definitions. > > > > -- Dave Lovering > > -- dlovering at gazos.com > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From bill.marriott at agric.nsw.gov.au Wed Mar 12 15:25:44 2003 From: bill.marriott at agric.nsw.gov.au (bill.marriott at agric.nsw.gov.au) Date: Thu, 13 Mar 2003 08:25:44 +1100 Subject: [Javascript] coding for the key Message-ID: Thanks for that Chris. I'll see if it will work with Informix and let you know. Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 "Chris Tifer" Sent by: javascript-admin at LaTech.edu 13/03/2003 08:04 AM Please respond to javascript To: cc: Subject: Re: [Javascript] coding for the key What's the extension on the page? That's going to determine what language is used on the server-side. ASP's replace statement would be something like: REPLACE(Variable, vbCRLF, "
") So say if I was retrieving something from the database (text in your example) and I wanted to write it out with line-breaks, I would first have to have it defined as a variable. DIM strText strText = "Some text that might have a line break" strText = REPLACE(strText, vbCRLF, "
") Response.Write strText I would assume though that your program would have something built in allowing you to insert line breaks. Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: bill.marriott at agric.nsw.gov.au To: javascript at LaTech.edu Sent: Wednesday, March 12, 2003 3:51 PM Subject: Re: [Javascript] coding for the key Hi Chris, I'm using an Informix product called App Page Builder and I guess this is not strictly a javascript question. I would be interested to see a example of the full ASP replace statement because it may work with Informix as well. It seems strange to me that the form element can read the format but the page can't. Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 "Chris Tifer" Sent by: javascript-admin at LaTech.edu 13/03/2003 07:35 AM Please respond to javascript To: cc: Subject: Re: [Javascript] coding for the key What do you mean by "written directly from the server"? What language are you using? With ASP you could use REPLACE on vbCRLF... Or is this stricly through JavaScript where a form is submitted and you are parsing the QueryString using JavaScript? Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: bill.marriott at agric.nsw.gov.au To: javascript at LaTech.edu Sent: Wednesday, March 12, 2003 3:20 PM Subject: [Javascript] coding for the key Hi Everyone, Does anyone know how to get HTML to format an embedded carriage return. eg. 1. something 2. something else 3. something different ends up as 1. something 2. something else 3. something different if it is loaded from server data into a text area form element , but if it is just written to the page directly from the server it ends up as 1. something 2. something else 3. something different which is not as pretty thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark_weinstock at yahoo.com Wed Mar 12 15:51:34 2003 From: mark_weinstock at yahoo.com (Mark) Date: Wed, 12 Mar 2003 13:51:34 -0800 (PST) Subject: [Javascript] coding for the key In-Reply-To: Message-ID: <20030312215134.56695.qmail@web41213.mail.yahoo.com> ok, perhaps I'm completely missing the point, but don't you need a
in HTML to put in a line break, whereas in the text box you can use a \n (or is it\r\n)? --- bill.marriott at agric.nsw.gov.au wrote: > Hi Chris, > > I'm using an Informix product called App Page Builder > and I guess this is not strictly a javascript question. > > I would be interested to see a example of the full ASP replace > statement > because it may work with Informix as well. > > It seems strange to me that the form element can read the format > but the > page can't. > > > > Bill Marriott > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph. 02 6391 3657 > Fax. 02 6391 3290 > > > > > > "Chris Tifer" > Sent by: javascript-admin at LaTech.edu > 13/03/2003 07:35 AM > Please respond to javascript > > > To: > cc: > Subject: Re: [Javascript] coding for the key > > > What do you mean by "written directly from the server"? What > language > are you using? With ASP you could use REPLACE on vbCRLF... Or is > this stricly through JavaScript where a form is submitted and you > are > parsing > the QueryString using JavaScript? > > Chris Tifer > http://www.emailajoke.com > > ----- Original Message ----- > From: bill.marriott at agric.nsw.gov.au > To: javascript at LaTech.edu > Sent: Wednesday, March 12, 2003 3:20 PM > Subject: [Javascript] coding for the key > > > Hi Everyone, > > Does anyone know how to get HTML to format an embedded carriage > return. > > eg. 1. something > 2. something else > 3. something different > > ends up as > > 1. something > 2. something else > 3. something different > > if it is loaded from server data into a text area form element , > but if > it is just written to the page directly from the server it ends up > as > > 1. something 2. something else 3. something different > > which is not as pretty > > thanks > > Bill Marriott > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph. 02 6391 3657 > Fax. 02 6391 3290 > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. > Views > expressed are those of the individual sender and are not > necessarily the > views of their organisation. > > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. > Views > expressed are those of the individual sender and are not > necessarily the > views of their organisation. ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com From dlovering at gazos.com Wed Mar 12 16:13:23 2003 From: dlovering at gazos.com (David T. Lovering) Date: Wed, 12 Mar 2003 15:13:23 -0700 Subject: [Javascript] coding for the key References: Message-ID: <3E6FB0AC.669F438D@gazos.com> Assuming that the key is embedded in the text somewhere in 'var myLine', you could detect it thusly: if (myLine.search(/\r/g) != -1) { // hey dude, you've got at least one embedded carriage return! } else { // hey dude, no carriage-returns here } Similarly, if you wanted to whack all the carriage returns in the line, you could do it like this: var myLine = myLine.replace(/\r/g, ""); If you wanted to turn them into something visible [like '@' for example], you could do it like this: var myLine = myLine.replace(/\r/g, "@"); If you want to detect the incoming characters while they're being typed, you'll have to build an event handler that traps on the keystroke event from the keyboard. [Remember, JavaScript is for the most part on the client end, so this is possible]. However, IE and Netscape use different keycode events, so you'll have to write a routine that can handle both platforms. -- Dave Lovering -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From peter at brunone.com Wed Mar 12 21:17:39 2003 From: peter at brunone.com (Peter Brunone) Date: Wed, 12 Mar 2003 21:17:39 -0600 Subject: [Javascript] coding for the key In-Reply-To: <3E6FB0AC.669F438D@gazos.com> Message-ID: Bill, As sort of a corollary here... if you're having trouble identifying exactly what kind of characters are popping out, you can View Source and then paste the results into the box at http://aspalliance.com/peterbrunone/analyzethis/analyzethis.asp for a detailed look at what you've got in your string. Cheers, Peter |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |Subject: Re: [Javascript] coding for the key | |Assuming that the key is embedded in the text somewhere in |'var myLine', you could detect it thusly: | | if (myLine.search(/\r/g) != -1) { | // hey dude, you've got at least one embedded carriage return! | } else { | // hey dude, no carriage-returns here | } | |Similarly, if you wanted to whack all the carriage returns in the |line, you could do it like this: | | var myLine = myLine.replace(/\r/g, ""); | |If you wanted to turn them into something visible [like '@' for |example], you could do it like this: | | var myLine = myLine.replace(/\r/g, "@"); | |If you want to detect the incoming characters while they're being |typed, you'll have to build an event handler |that traps on the keystroke event from the keyboard. [Remember, |JavaScript is for the most part on the client |end, so this is possible]. However, IE and Netscape use different |keycode events, so you'll have to write a |routine that can handle both platforms. | |-- Dave Lovering From spindrift at oceanfree.net Thu Mar 13 01:50:17 2003 From: spindrift at oceanfree.net (Tim Makins) Date: Thu, 13 Mar 2003 07:50:17 -0000 Subject: [Javascript] Weird blinking with Mousehandler References: <5.2.0.9.0.20030311183848.02479b60@wheresmymailserver.com> <5.2.0.9.0.20030312141426.00b34ba0@mail.nova.org> Message-ID: <000b01c2e935$377ef1c0$b9a5cad5@host> The blinking occurs at the precise moment of transition between background and image, even though no border is specified. The browser can see the difference, though we can't. I am sorry, but I have no answer to your problem, just that workaround. Tim in Ireland. ----- Original Message ----- From: "Peter Kronenberg" To: Sent: 12 March 2003 19:16 Subject: Re: [Javascript] Weird blinking with Mousehandler > At 3/12/2003 Wednesday 07:07 PM, you wrote: > >The background may not blink when the handler is disabled, but the status > >line does, in both. It occurs when moving between the background and the > >image. One answer might be to put the image in a separate cell that doesn't > >use onmouseover etc. > > > Well, this was just an example. I really want to have everything in one > cell. Since the onmouseover controls the entire row (it's in the ), > why is there blinking, as if there is a state change occurring, when moving > within the cell? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From mallard at serv.net Thu Mar 13 09:28:35 2003 From: mallard at serv.net (TomMallard) Date: Thu, 13 Mar 2003 07:28:35 -0800 Subject: [Javascript] dereferencing In-Reply-To: <3E6FA482.A21F37C3@gazos.com> Message-ID: If you add a heirarchy to the names, say your data pages only can have a heirarchy position of the bottom and that is a certain prefix to the autonumber, other pages which call them can only be top and would have a different prefix... tom -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of David T. Lovering Sent: Wednesday, March 12, 2003 1:21 PM To: javascript at LaTech.edu Subject: Re: [Javascript] dereferencing Ostensibly this would work, but just assigning unique names (and I already have a unique-name assignment tool in place) doesn't let you climb back out. Yes, you can back-track with frames, but frames don't "float" the way objects do. Hence my dilemma. -- Dave Lovering TomMallard wrote: > > I was thinkin' you could just use a top level frame for all pages to fit > within to give you a top.framename to get back up, but it sounds like a > better way would be to use the id attributes which would probably need to > have unique names in a schema that would allow you to get around using them. > You could then access them with the enumerator object IIRC. > > tom > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of David T. Lovering > Sent: Tuesday, March 11, 2003 12:29 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] dereferencing > > Dear Tom: > > Some of my other applications use frames, so yes, I am familiar with what > they can do. However, frames are "fixed" to the window space [yes, there > are > ways of dynamicly moving them about, but they are somewhat pathological], > and > I want things that close-up when they are deleted, can be scrolled as sets, > and generally manipulated on a "rubber" background -- none of which are easy > (or possible) with the conventional frame architecture. > > Basicly, I need to know how to reference back to the parent object that > contains the declaration that contains the code snippet, as seen > from the internal code snippet. The rest I can figure out using the tools I > have available to me. > > -- Dave Lovering > > TomMallard wrote: > > > > Did you try using frames...? > > > > tom mallard > > seattle > > > > -----Original Message----- > > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > > Behalf Of David T. Lovering > > Sent: Tuesday, March 11, 2003 7:49 AM > > To: javascript at LaTech.edu > > Subject: [Javascript] dereferencing > > > > I have a problem in which a table containing rows of object declarations > > each points to a "DATA=filename" reference of "TYPE=text/html". Each > > individual so invoked contains a form with an embedded table > > containing the usual sorts of labels, > > identifiers, etc. To illustrate: > > > > Top-document: > > > > > > bogus > > > > > >
> >
> > > > > > > >
> type='text/html'>
> >
> >
> >
> >
> > > > > > > >
> type='text/html'>
> >
> >
> > ... more fieldsets of the same variety > > > > > > > > ... and each of the files so referenced by the object declarations are of > > the following architecture: > > > > file_00: > > > > > > file_00.html > > > > > >
> > > > ... usual sorts of fields and such ... > >
> >
> > > > > > > > My problem is that is necessary for me to access objects between these > > lower-level forms. When the enquiry is initiated at the top-level HTML > file > > it can be done in any number of ways, for example: > > > > tablePointer = document.getElementById('myMasterTable_##'); > > childForm = > > > tablePointer.rows[0].cells[0].children[0].object.documentElement.document.fo > > rms[0]; > > > > >From here, each of the subelements can be manipulated directly, for > example: > > > > childForm.field1.value = 37; (and so on) > > > > HOWEVER (!!!), when going back 'uphill' from the bottom-level file_## > > constructs, I have difficulty climbing beyond the OBJECT specifier back > into > > the parent document. By running various diagnostics and listing all the > > apparent > > properties/objects associated with each element, there is no clear > > "punch-through" to the top layer. In desperation I've even tried using > > 'window.opener' redirection (figuring that even in the same window, the > > window is its own window.opener entity), but > > such ploys have availed me nothing. > > > > HELP! I need a clean way to transparently share values, etc. between > > elements at the bottom level (within each of the file_## constructs) using > > standard JavaScript/JScript tools. If it is helpful, consider that I'm > > using vanilla IE6-style object definitions. > > > > -- Dave Lovering > > -- dlovering at gazos.com > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From trojani2000 at hotmail.com Thu Mar 13 14:22:39 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Thu, 13 Mar 2003 21:22:39 +0100 Subject: [Javascript] Script Encoder Message-ID: Some time before Iztok Polanic saw encoded script and asked can this be done and how. I knew that there are encoders but I forgot where I've seen them, but I ran on one at: http://msdn.microsoft.com/scripting/vbscript/download/x86/sce10en.exe and the documentation can be found at: http://www.msdn.microsoft.com/library/en-us/script56/html/SeconScriptEncoderOverview.asp But if you have windows script v5.6 or earlier Documentation, there's no need to browse this pages. It's a commandline app so when you install it specify a location like "C:" rather than "c:\program files\...", and the source files as close as possible to C:\ for strait forwrdnes and ease of use. One can gain relative protection of his code from ordinary wiewers but there are decoders developed as well. If anybody need such tool I can give a strait link to it as well. Cheers! _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From andyg at ihug.co.nz Thu Mar 13 15:52:26 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Fri, 14 Mar 2003 10:52:26 +1300 Subject: [Javascript] Display rtf in web page References: Message-ID: <006d01c2e9aa$d6802670$32e8adcb@k1n8i8> I have an Web mail application, which displays messages on a web page. Suppose the message is sent in RTF, like in Outlook. How can I make sure the message displays correctly... for example if the message contained HTML like " I can't get this to work... " When I display in the web page, the script runs, rather than just displaying it as text. I can put it in a textarea but that would remove all the other formatting of course.... Andrew From lists at mahonyconsulting.com Thu Mar 13 21:50:25 2003 From: lists at mahonyconsulting.com (Michael J. Mahony) Date: Thu, 13 Mar 2003 19:50:25 -0800 Subject: [Javascript] Help with forwarding to another page Message-ID: <3E70E101.22530.F08B2@localhost> I'm doing something very simple but I can't seem to get it to work. I want to load a page that has a graphic and a button that says "SPIN" (the graphic is a spinning wheel). When the user clicks "SPIN" my script replaces the static graphic with an animated graphic that was chosen by the ASP script as the page loaded. When the graphic is done I want to push the user to a page that tells them what they won. Here is the script I'm using: If I include the setTimeout line the button never works and the graphic never changes. If I don't include the setTimeout I have no way to get the user to the next page. How can I accomplish this seemingly simple task? Thanks, Mike From dlovering at gazos.com Thu Mar 13 22:56:09 2003 From: dlovering at gazos.com (David T. Lovering) Date: Thu, 13 Mar 2003 21:56:09 -0700 Subject: [Javascript] Help with forwarding to another page References: <3E70E101.22530.F08B2@localhost> Message-ID: <3E71606B.9550B591@gazos.com> I'd try using layers to put the dynamic element above/below the static one (or simply render the top one "hidden" as required). Assuming the graphic sends some sort of signal or changes state when it concludes, you could use a "watch" directive to act as an event trigger and use another function driven by the event to do a location.href assignment to the target page where their winnings are announced. It doesn't sound that hard. [The transition between layers could be managed easily by a simple "onClick" event handler attached to the static element]. If these hints aren't sufficient, drop me a line and I'll whack together some working code fragments. -- Dave Lovering "Michael J. Mahony" wrote: > > I'm doing something very simple but I can't seem to get it to work. I > want to load a page that has a graphic and a button that says "SPIN" > (the > graphic is a spinning wheel). When the user clicks "SPIN" my script > replaces the static graphic with an animated graphic that was chosen by > the ASP script as the page loaded. When the graphic is done I want to > push the user to a page that tells them what they won. Here is the > script > I'm using: > > > > If I include the setTimeout line the button never works and the > graphic never changes. If I don't include the setTimeout I have no > way to get the user to the next page. > > How can I accomplish this seemingly simple task? > > Thanks, > > Mike > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From walter at torres.ws Fri Mar 14 01:00:39 2003 From: walter at torres.ws (Walter Torres) Date: Fri, 14 Mar 2003 01:00:39 -0600 Subject: [Javascript] Q on return value... In-Reply-To: <3E71606B.9550B591@gazos.com> Message-ID: ...sort of... I have a INPUT TEXT object that recieves a value selected from a child window. I want to fire a method off when this value is inserted into this text object. onChange does not file, and I can't get myObj.watch to work. Any ideas? Walter From christ at saeweb.com Fri Mar 14 08:20:29 2003 From: christ at saeweb.com (Chris Tifer) Date: Fri, 14 Mar 2003 09:20:29 -0500 Subject: [Javascript] Help with forwarding to another page References: <3E70E101.22530.F08B2@localhost> Message-ID: <003d01c2ea34$dde84160$f10110ac@saweb.lcl> Are you getting a JavaScript error in your browser? If so, what does it say? I just tried a sample very similar to yours with what looked like the same exact code and it worked for me. Show us the code that has been spit out by ASP instead of what it looks like before. Maybe the sPicture is something weird. Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: "Michael J. Mahony" To: Sent: Thursday, March 13, 2003 10:50 PM Subject: [Javascript] Help with forwarding to another page > I'm doing something very simple but I can't seem to get it to work. I > want to load a page that has a graphic and a button that says "SPIN" > (the > graphic is a spinning wheel). When the user clicks "SPIN" my script > replaces the static graphic with an animated graphic that was chosen by > the ASP script as the page loaded. When the graphic is done I want to > push the user to a page that tells them what they won. Here is the > script > I'm using: > > > > If I include the setTimeout line the button never works and the > graphic never changes. If I don't include the setTimeout I have no > way to get the user to the next page. > > How can I accomplish this seemingly simple task? > > Thanks, > > Mike > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From christ at saeweb.com Fri Mar 14 08:24:07 2003 From: christ at saeweb.com (Chris Tifer) Date: Fri, 14 Mar 2003 09:24:07 -0500 Subject: [Javascript] Q on return value... References: Message-ID: <004f01c2ea35$5fa684f0$f10110ac@saweb.lcl> Either a) fire the method from the same code that you use to update the text field in the first place or b) use a setTimeout to constantly check if that value is the same as it was the last time it was called. I'd go with A Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: "Walter Torres" To: Sent: Friday, March 14, 2003 2:00 AM Subject: [Javascript] Q on return value... > ...sort of... > > I have a INPUT TEXT object that recieves a value selected from a child > window. > > I want to fire a method off when this value is inserted into this text > object. > > onChange does not file, and I can't get myObj.watch to work. > > Any ideas? > > Walter > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From merchant at LATECH.EDU Fri Mar 14 13:26:15 2003 From: merchant at LATECH.EDU (David Merchant) Date: Fri, 14 Mar 2003 13:26:15 -0600 Subject: [Javascript] ADMIN: All Pls Read: a problem that will affect some members Message-ID: <5.1.0.14.2.20030314131258.02ce78f8@mail.latech.edu> There is a problem that will affect some JavaScript list members. It is a problem caused when eGroups was bought out by Yahoo! groups. On eGroups the JavaScript list was merely being "mirrored" there, people could not join the JavaScript list via eGroups, they could only view posts via a Web interface and also the archives. However, when Yahoo Groups bought eGroups, they, without asking me, changed things so that people could also "subscribe" via Yahoo, acted as if the list was being hosted by Yahoo. It is not. Never has been. Since the list is also being mirrored by Yahoo groups, people can post to the list and it looks like they are subscribed to the list. But they aren't. Not through the real list. They are subscribed to the mirroring. So when I made it so non-members could no longer post, those who subscribe via Yahoo are being blocked. I have tried for _years_ to get this corrected. It causes subscription problems, makes it difficult for me to help some members, and is an area of posting to the list that is not controlled or affected by any list settings I make to the list. Yahoo does not have me as a list owner or administrator for my own list via their mirroring (after they bought eGroups and made changes to the list, I was no longer recognized by the mirrored part of the list as the list's owner). I can not unsubscribe people manually or otherwise help JavaScript list members who signed up via Yahoo. Yahoo has ignored all my repeated attempts to correct this. Right now, those who signed up via Yahoo groups will have to unsubscribe and resubscribe to the list. For those who subscribed to the Javascript list via Yahoo Groups (formally eGroups), here is how to unsubscribe: To unsubscribe via email: From your email program, send a blank message to: javascript-unsubscribe at yahoogroups.com To unsubscribe via the Web: * Sign in to Yahoo! Groups and go to the My Groups page. * Click on the Edit Message Settings link at the top of the page. * Look for the group you wish to unsubscribe from, and select Unsubscribe from the pull-down list on the right. * Click Update to save your changes. The group will no longer be listed on the My Groups page, and you will no longer receive messages. Note: If you own a group, you must first give up your ownership in the Members section of your group before you can unsubscribe on the My Groups page. To then subscribe to the real list and not the mirroring part of it: visit https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with the word `help' in it to the request address, javascript-request at LaTech.edu, for further instructions. I apologize deeply and greatly for this. I am forced into preventing non-members from posting because of the JS-Jive fiasco, that was a _major_ problem for me to resolve, I was lucky that the other list owner was so willing to quickly work with me. I will once again try to convince Yahoo groups to fix the problem, to either be JUST a mirror (no signing up of people to the list as if the list is hosted by Yahoo), or to not mirror us at all. I didn't have this problem when it was owned by eGroups. TTFN, David Director of Integrated Technology CATALyST Louisiana Tech University Carson Taylor Hall, Rm. 130 Adams Street (PO Box 3179) Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From CNafziger at sauder.com Fri Mar 14 14:16:11 2003 From: CNafziger at sauder.com (Chris Nafziger) Date: Fri, 14 Mar 2003 15:16:11 -0500 Subject: [Javascript] Replace submit button upon click... Message-ID: <622A954DD517D411B20C00508BCF23B00BF0D2A3@mail> In a controlled environment (IE 5+), is it possible have a function, that can be included in any page, that replaces a submit button with the contents of a string, and submits the form, when the button is clicked, without having to specify the onClick event for submit buttons throughout the site. I'm looking for a little function to put in an ASP include that is included on each page of the site, which will effectively make the text "Pending..." appear, each time a submit button is clicked, with no work involved other than creating the function, and putting it in the include. Obviously, the forms must still submit properly. You DOM gurus out there... can you point me in the right direction please? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dlovering at gazos.com Fri Mar 14 15:12:22 2003 From: dlovering at gazos.com (David T. Lovering) Date: Fri, 14 Mar 2003 14:12:22 -0700 Subject: [Javascript] Replace submit button upon click... References: <622A954DD517D411B20C00508BCF23B00BF0D2A3@mail> Message-ID: <3E724576.D1F0F4DB@gazos.com> A couple of questions -- Is this all one form, or multiple forms? If all the pages hang off of one form, you could use a single 'onValidate' declaration in the form header itself to forward control to a single routine which would terminate with a return 'true' to continue with the CGI/BIN (or whatever) receipt of the form data, yet issue the 'pending...' dialogue beforehand. If these are multiple forms, the matter is a bit trickier... -- Dave Lovering Chris Nafziger wrote: > > Part 1.1Type: Plain Text (text/plain) In a controlled environment (IE 5+), is it possible have a function, that can be included in any page, that replaces a submit button with the contents of a string, and submits the form, when the button is clicked, without having to specify the onClick event for submit buttons throughout the site. I'm looking for a little function to put in an ASP include that is included on each page of the site, which will effectively make the text "Pending..." appear, each time a submit button is clicked, with no work involved other than creating the function, and putting it in the include. Obviously, the forms must still submit properly. You DOM gurus out there... can you point me in the right direction please? -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From CNafziger at sauder.com Fri Mar 14 15:29:32 2003 From: CNafziger at sauder.com (Chris Nafziger) Date: Fri, 14 Mar 2003 16:29:32 -0500 Subject: [Javascript] Replace submit button upon click... Message-ID: <622A954DD517D411B20C00508BCF23B00BF0D2A9@mail> I believe there are no pages containing more than one form. The declaration you specified requires modification of each form, correct? -----Original Message----- From: David T. Lovering [mailto:dlovering at gazos.com] Sent: Friday, March 14, 2003 4:12 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Replace submit button upon click... A couple of questions -- Is this all one form, or multiple forms? If all the pages hang off of one form, you could use a single 'onValidate' declaration in the form header itself to forward control to a single routine which would terminate with a return 'true' to continue with the CGI/BIN (or whatever) receipt of the form data, yet issue the 'pending...' dialogue beforehand. If these are multiple forms, the matter is a bit trickier... -- Dave Lovering Chris Nafziger wrote: > > Part 1.1Type: Plain Text (text/plain) In a controlled environment (IE 5+), is it possible have a function, that can be included in any page, that replaces a submit button with the contents of a string, and submits the form, when the button is clicked, without having to specify the onClick event for submit buttons throughout the site. I'm looking for a little function to put in an ASP include that is included on each page of the site, which will effectively make the text "Pending..." appear, each time a submit button is clicked, with no work involved other than creating the function, and putting it in the include. Obviously, the forms must still submit properly. You DOM gurus out there... can you point me in the right direction please? From dlovering at gazos.com Fri Mar 14 16:34:24 2003 From: dlovering at gazos.com (David T. Lovering) Date: Fri, 14 Mar 2003 15:34:24 -0700 Subject: [Javascript] Replace submit button upon click... References: <622A954DD517D411B20C00508BCF23B00BF0D2A9@mail> Message-ID: <3E7258EF.79C36FEE@gazos.com> Affirmative. The only way to "globally" change the form behavior without altering the form HTML directives on each page is to do it through a CSS declaration in the header -- Dave Chris Nafziger wrote: > > I believe there are no pages containing more than one form. The declaration > you specified requires modification of each form, correct? > > -----Original Message----- > From: David T. Lovering [mailto:dlovering at gazos.com] > Sent: Friday, March 14, 2003 4:12 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Replace submit button upon click... > > A couple of questions -- > > Is this all one form, or multiple forms? If all the pages hang off of > one form, you could use a single 'onValidate' declaration in the form > header itself to forward control to a single routine which would terminate > with a return 'true' to continue with the CGI/BIN (or whatever) receipt > of the form data, yet issue the 'pending...' dialogue beforehand. > > If these are multiple forms, the matter is a bit trickier... > > -- Dave Lovering > > Chris Nafziger wrote: > > > > Part 1.1Type: Plain Text (text/plain) > > In a controlled environment (IE 5+), is it possible have a function, that > can be included in any page, that replaces a submit button with the contents > of a string, and submits the form, when the button is clicked, without > having to specify the onClick event for submit buttons throughout the site. > I'm looking for a little function to put in an ASP include that is included > on each page of the site, which will effectively make the text "Pending..." > appear, each time a submit button is clicked, with no work involved other > than creating the function, and putting it in the include. Obviously, the > forms must still submit properly. You DOM gurus out there... can you point > me in the right direction please? > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From hassan at webtuitive.com Fri Mar 14 16:55:41 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Fri, 14 Mar 2003 14:55:41 -0800 Subject: [Javascript] Replace submit button upon click... In-Reply-To: <622A954DD517D411B20C00508BCF23B00BF0D2A3@mail> References: <622A954DD517D411B20C00508BCF23B00BF0D2A3@mail> Message-ID: <3E725DED.1030407@webtuitive.com> Chris Nafziger wrote: > In a controlled environment (IE 5+), is it possible have a function, > that can be included in any page, that replaces a submit button with the > contents of a string, and submits the form, when the button is clicked, > without having to specify the onClick event for submit buttons > throughout the site. I'm looking for a little function to put in an ASP > include that is included on each page of the site, which will > effectively make the text "Pending..." appear, each time a submit button > is clicked, with no work involved other than creating the function, and > putting it in the include. Since you said "controlled" -- srcElement is strictly IE -- try putting this in the include in the head of your documents: function init() { allInputs = document.getElementsByTagName("input"); for ( i = 0; i < allInputs.length; i++ ) { if ( allInputs[i].type == "submit" ) { allInputs[i].onclick = pending; } } } function pending() { var thisButton = window.event.srcElement; thisButton.style.borderStyle = "none"; thisButton.style.borderWidth = "0"; thisButton.style.backgroundColor = "Window"; thisButton.value = "Pending..."; } window.onload=init; Doesn't *actually* remove the submit button, but fakes it well :-) And requires no changes to the forms themselves, and works with forms with multiple submit buttons. [Tested IE5.5/W2K and IE5.2/OSx -- YMMV, etc. I'd be interested in knowing if it works in Win/5.0, if anyone tries it.] FWIW! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From trojani2000 at hotmail.com Sat Mar 15 06:05:42 2003 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Sat, 15 Mar 2003 13:05:42 +0100 Subject: [Javascript] Display rtf in web page Message-ID: The short answer would be this: > <script> > alert('help') > </script>  " But I'm sure you allready know the longer one, -resp., finding and replacing "<" ">" in script tags. Regards! >From: "Andrew Gibson" >Reply-To: javascript at LaTech.edu >To: >Subject: [Javascript] Display rtf in web page >Date: Fri, 14 Mar 2003 10:52:26 +1300 > >I have an Web mail application, which displays messages on a web page. > >Suppose the message is sent in RTF, like in Outlook. How can I make sure >the >message displays correctly... > >for example if the message contained HTML like > >" I can't get this to work... > " > >When I display in the web page, the script runs, rather than just >displaying >it as text. I can put it in a textarea but that would remove all the other >formatting of course.... > >Andrew > > > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From mountaindragon at startrek.net Sat Mar 15 20:28:33 2003 From: mountaindragon at startrek.net (David Merchant) Date: Sat, 15 Mar 2003 20:28:33 -0600 Subject: [Javascript] ADMIN: For Postings rejected as Non-members Message-ID: <5.1.0.14.0.20030315202740.01d70368@mail.latech.edu> There is a problem that will affect some JavaScript list members. It is a problem caused when eGroups was bought out by Yahoo! groups. On eGroups the JavaScript list was merely being "mirrored" there, people could not join the JavaScript list via eGroups, they could only view posts via a Web interface and also the archives. However, when Yahoo Groups bought eGroups, they, without asking me, changed things so that people could also "subscribe" via Yahoo, acted as if the list was being hosted by Yahoo. It is not. Never has been. Since the list is also being mirrored by Yahoo groups, people can post to the list and it looks like they are subscribed to the list. But they aren't. Not through the real list. They are subscribed to the mirroring. So when I made it so non-members could no longer post, those who subscribe via Yahoo are being blocked. I have tried for _years_ to get this corrected. It causes subscription problems, makes it difficult for me to help some members, and is an area of posting to the list that is not controlled or affected by any list settings I make to the list. Yahoo does not have me as a list owner or administrator for my own list via their mirroring (after they bought eGroups and made changes to the list, I was no longer recognized by the mirrored part of the list as the list's owner). I can not unsubscribe people manually or otherwise help JavaScript list members who signed up via Yahoo. Yahoo has ignored all my repeated attempts to correct this. Right now, those who signed up via Yahoo groups will have to unsubscribe and resubscribe to the list. For those who subscribed to the Javascript list via Yahoo Groups (formally eGroups), here is how to unsubscribe: To unsubscribe via email: From your email program, send a blank message to: javascript-unsubscribe at yahoogroups.com To unsubscribe via the Web: * Sign in to Yahoo! Groups and go to the My Groups page. * Click on the Edit Message Settings link at the top of the page. * Look for the group you wish to unsubscribe from, and select Unsubscribe from the pull-down list on the right. * Click Update to save your changes. The group will no longer be listed on the My Groups page, and you will no longer receive messages. Note: If you own a group, you must first give up your ownership in the Members section of your group before you can unsubscribe on the My Groups page. To then subscribe to the real list and not the mirroring part of it: visit https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with the word `help' in it to the request address, javascript-request at LaTech.edu, for further instructions. I apologize deeply and greatly for this. I am forced into preventing non-members from posting because of the JS-Jive fiasco, that was a _major_ problem for me to resolve, I was lucky that the other list owner was so willing to quickly work with me. I will once again try to convince Yahoo groups to fix the problem, to either be JUST a mirror (no signing up of people to the list as if the list is hosted by Yahoo), or to not mirror us at all. I didn't have this problem when it was owned by eGroups. TTFN, David Director of Integrated Technology CATALyST Louisiana Tech University PO Box 3179 Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu/ c3.latech.edu/ catalyst.latech.edu/ From mountaindragon at startrek.net Sun Mar 16 17:53:45 2003 From: mountaindragon at startrek.net (David Merchant) Date: Sun, 16 Mar 2003 17:53:45 -0600 Subject: [Javascript] Postings Rejected As Being A Non-member Message-ID: <5.1.0.14.0.20030316174940.01d71480@mail.latech.edu> Excuse me as I resend this message again, with a slightly different header. Trying to reach those affected.There is a problem that will affect some JavaScript list members. It is a problem caused when eGroups was bought out by Yahoo! groups three or so years ago. On eGroups the JavaScript list was merely being "mirrored" there, people could not join the JavaScript list via eGroups, they could only view posts via a Web interface and also the archives. However, when Yahoo Groups bought eGroups, they, without asking me, changed things so that people could also "subscribe" via Yahoo, acted as if the list was being hosted by Yahoo. It is not. Never has been. Since the list is also being mirrored by Yahoo groups, people can post to the list and it looks like they are subscribed to the list. But they aren't. Not through the real list. They are subscribed to the mirroring. So when I made it so non-members could no longer post, those who subscribe via Yahoo are being blocked. I have tried for _years_ to get this corrected. Yahoo does not have me as a list owner or administrator for my own list via their mirroring (after they bought eGroups and made changes to the list, I was no longer recognized by the mirrored part of the list as the list's owner). This causes subscription problems.The mirror is not controlled or affected by any list settings I make to the list, and ever since the buy-out of eGroups by Yahoo, I cannot change any settings for the mirrored part. I can not unsubscribe people manually or otherwise help JavaScript list members who signed up via Yahoo. Yahoo has ignored all my repeated attempts to correct this. Right now, those who signed up via Yahoo groups will have to unsubscribe and resubscribe to the list. For those who subscribed to the Javascript list via Yahoo Groups (formally eGroups), here is how to unsubscribe: To unsubscribe via email: From your email program, send a blank message to: javascript-unsubscribe at yahoogroups.com To unsubscribe via the Web: * Sign in to Yahoo! Groups and go to the My Groups page. * Click on the Edit Message Settings link at the top of the page. * Look for the group you wish to unsubscribe from, and select Unsubscribe from the pull-down list on the right. * Click Update to save your changes. The group will no longer be listed on the My Groups page, and you will no longer receive messages. Note: If you own a group, you must first give up your ownership in the Members section of your group before you can unsubscribe on the My Groups page. To then subscribe to the real list and not the mirroring part of it: visit https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with the word `help' in it to the request address, javascript-request at LaTech.edu, for further instructions. I apologize deeply and greatly for this. I am forced into preventing non-members from posting because of the JS-Jive fiasco, that was a _major_ problem for me to resolve, I was lucky that the other list owner was so willing to quickly work with me. I will once again try to convince Yahoo groups to fix the problem, to either be JUST a mirror (no signing up of people to the list as if the list is hosted by Yahoo), or to not mirror us at all. I didn't have this problem when it was owned by eGroups. I have contacted Yahoo! Groups yet again about this. TTFN, David Director of Integrated Technology CATALyST Louisiana Tech University PO Box 3179 Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu/ c3.latech.edu/ catalyst.latech.edu/ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript Director of Integrated Technology CATALyST Louisiana Tech University PO Box 3179 Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu/ c3.latech.edu/ catalyst.latech.edu/ From bill.marriott at agric.nsw.gov.au Sun Mar 16 20:40:41 2003 From: bill.marriott at agric.nsw.gov.au (bill.marriott at agric.nsw.gov.au) Date: Mon, 17 Mar 2003 13:40:41 +1100 Subject: [Javascript] automated firing off emails Message-ID: Hi Everyone, Has anyone had experience in using javascript to automate the sending of emails I don't just mean mailto where it opens up your mail client but something that will actually fire off an email from your mail client thanks Bill Marriott Analyst/Programmer Information Technology NSW Agriculture Orange Ph. 02 6391 3657 Fax. 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From travis_falls2 at yahoo.com Mon Mar 17 06:46:29 2003 From: travis_falls2 at yahoo.com (Travis D. Falls) Date: Mon, 17 Mar 2003 04:46:29 -0800 (PST) Subject: [Javascript] automated firing off emails In-Reply-To: Message-ID: <20030317124629.71174.qmail@web80306.mail.yahoo.com> I always thought to do this it as to occur on the server using asp, asp.net, java, or php (the list goes on). Do you intend to do smtp on the client somehow? t --- bill.marriott at agric.nsw.gov.au wrote: > Hi Everyone, > > Has anyone had experience in using javascript to > automate the sending of > emails > > I don't just mean mailto where it opens up your mail > client but something > that will actually fire off an email from your mail > client > > thanks > > Bill Marriott > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph. 02 6391 3657 > Fax. 02 6391 3290 > > > This message is intended for the addressee named and > may contain > confidential information. If you are not the > intended recipient or > received it in error, please delete the message and > notify sender. Views > expressed are those of the individual sender and are > not necessarily the > views of their organisation. From christ at saeweb.com Mon Mar 17 08:26:03 2003 From: christ at saeweb.com (Chris Tifer) Date: Mon, 17 Mar 2003 09:26:03 -0500 Subject: [Javascript] Replace submit button upon click... References: <622A954DD517D411B20C00508BCF23B00BF0D2A9@mail> Message-ID: <018901c2ec91$247cffe0$f10110ac@saweb.lcl> I'm not exactly sure of the problem, so maybe I'm wrong here, but if I get the gist of your problem correctly, it'd be best to include one bit of code that loops through the forms collection after the page loads and adds an onSubmit handler to each of them. It shouldn't matter if there's more than 1 form on the page. I whipped up a small example of what I THOUGHT you might be talking about. It is just 2 simple forms with a submit button in each. If you click one, it'll switch to say "Pending". It doesn't remove the button, but there's other ways of disabling it, such as setting a variable that states the button has been pushed and if they try to push it again, just "return false" and maybe send them an alert letting them know. ===========================================
=========================================== Hope that helps, Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: "Chris Nafziger" To: Sent: Friday, March 14, 2003 4:29 PM Subject: RE: [Javascript] Replace submit button upon click... > I believe there are no pages containing more than one form. The declaration > you specified requires modification of each form, correct? > > > -----Original Message----- > From: David T. Lovering [mailto:dlovering at gazos.com] > Sent: Friday, March 14, 2003 4:12 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Replace submit button upon click... > > > A couple of questions -- > > Is this all one form, or multiple forms? If all the pages hang off of > one form, you could use a single 'onValidate' declaration in the form > header itself to forward control to a single routine which would terminate > with a return 'true' to continue with the CGI/BIN (or whatever) receipt > of the form data, yet issue the 'pending...' dialogue beforehand. > > If these are multiple forms, the matter is a bit trickier... > > -- Dave Lovering > > > Chris Nafziger wrote: > > > > Part 1.1Type: Plain Text (text/plain) > > In a controlled environment (IE 5+), is it possible have a function, that > can be included in any page, that replaces a submit button with the contents > of a string, and submits the form, when the button is clicked, without > having to specify the onClick event for submit buttons throughout the site. > I'm looking for a little function to put in an ASP include that is included > on each page of the site, which will effectively make the text "Pending..." > appear, each time a submit button is clicked, with no work involved other > than creating the function, and putting it in the include. Obviously, the > forms must still submit properly. You DOM gurus out there... can you point > me in the right direction please? > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From mark_weinstock at yahoo.com Mon Mar 17 12:38:08 2003 From: mark_weinstock at yahoo.com (Mark) Date: Mon, 17 Mar 2003 10:38:08 -0800 (PST) Subject: [Javascript] automated firing off emails In-Reply-To: Message-ID: <20030317183808.99657.qmail@web41206.mail.yahoo.com> To me, this would be a security problem. I could create a script that automatically sends email from your PC without your knowing it. From a technical side, how would you know what mail client was (or even IF there was a mail client) on the PC? --- bill.marriott at agric.nsw.gov.au wrote: > Hi Everyone, > > Has anyone had experience in using javascript to automate the > sending of > emails > > I don't just mean mailto where it opens up your mail client but > something > that will actually fire off an email from your mail client > > thanks > > Bill Marriott > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph. 02 6391 3657 > Fax. 02 6391 3290 > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. > Views > expressed are those of the individual sender and are not > necessarily the > views of their organisation. ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com From BarenG at DNB.com Mon Mar 17 12:59:03 2003 From: BarenG at DNB.com (Baren, Gary) Date: Mon, 17 Mar 2003 13:59:03 -0500 Subject: [Javascript] automated firing off emails Message-ID: If IIS is installed on the computer with the SMTP service, CDONTS and CDOSYS objects are available to create and send emails from WScript and ASP. CDONTS is easy, but inflexible and does not report errors. It can only send using the SMTP pickup directory. CDOSYS or CDO 2000 is more complex but is much more robust. It can send using SMTP pickup or SMTP port and if you get an error, you'll know the source. Information on using both can be found at http://msdn.microsoft.com. CDONTS.Newmail would do well for a search to find a quick and dirty solution. Gary Baren MCSD -----Original Message----- From: Mark [mailto:mark_weinstock at yahoo.com] Sent: Monday, March 17, 2003 1:38 PM To: javascript at LaTech.edu Subject: Re: [Javascript] automated firing off emails To me, this would be a security problem. I could create a script that automatically sends email from your PC without your knowing it. From a technical side, how would you know what mail client was (or even IF there was a mail client) on the PC? --- bill.marriott at agric.nsw.gov.au wrote: > Hi Everyone, > > Has anyone had experience in using javascript to automate the > sending of > emails > > I don't just mean mailto where it opens up your mail client but > something > that will actually fire off an email from your mail client > > thanks > > Bill Marriott > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph. 02 6391 3657 > Fax. 02 6391 3290 > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. > Views > expressed are those of the individual sender and are not > necessarily the > views of their organisation. ===== Mark Weinstock mark_weinstock at yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From travis_falls2 at yahoo.com Mon Mar 17 13:09:06 2003 From: travis_falls2 at yahoo.com (Travis D. Falls) Date: Mon, 17 Mar 2003 11:09:06 -0800 (PST) Subject: [Javascript] automated firing off emails In-Reply-To: Message-ID: <20030317190906.61490.qmail@web80309.mail.yahoo.com> javamail is extremly robust and it is a free api for java, if your webserver (tomcat is free) has the java mail api on it. --- "Baren, Gary" wrote: > If IIS is installed on the computer with the SMTP > service, CDONTS and CDOSYS > objects are available to create and send emails from > WScript and ASP. > > CDONTS is easy, but inflexible and does not report > errors. It can only send > using the SMTP pickup directory. > > CDOSYS or CDO 2000 is more complex but is much more > robust. It can send > using SMTP pickup or SMTP port and if you get an > error, you'll know the > source. > > Information on using both can be found at > http://msdn.microsoft.com. > CDONTS.Newmail would do well for a search to find a > quick and dirty > solution. > > Gary Baren > MCSD > > > -----Original Message----- > From: Mark [mailto:mark_weinstock at yahoo.com] > Sent: Monday, March 17, 2003 1:38 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] automated firing off > emails > > To me, this would be a security problem. I could > create a script that > automatically sends email from your PC without your > knowing it. > > From a technical side, how would you know what mail > client was (or > even IF there was a mail client) on the PC? > > > --- bill.marriott at agric.nsw.gov.au wrote: > > Hi Everyone, > > > > Has anyone had experience in using javascript to > automate the > > sending of > > emails > > > > I don't just mean mailto where it opens up your > mail client but > > something > > that will actually fire off an email from your > mail client > > > > thanks > > > > Bill Marriott > > Analyst/Programmer > > Information Technology > > NSW Agriculture > > Orange > > > > Ph. 02 6391 3657 > > Fax. 02 6391 3290 > > > > > > This message is intended for the addressee named > and may contain > > confidential information. If you are not the > intended recipient or > > received it in error, please delete the message > and notify sender. > > Views > > expressed are those of the individual sender and > are not > > necessarily the > > views of their organisation. > > > ===== > Mark Weinstock > mark_weinstock at yahoo.com > *************************************** > You can't demand something as a "right" unless you > are willing to fight to > death to defend everyone else's right to the same > thing. > *************************************** > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From dlovering at gazos.com Mon Mar 17 16:25:58 2003 From: dlovering at gazos.com (David Lovering) Date: Mon, 17 Mar 2003 15:25:58 -0700 Subject: [Javascript] automated firing off emails References: <20030317183808.99657.qmail@web41206.mail.yahoo.com> Message-ID: <000c01c2ecd4$300cc3c0$0600000a@arcana> As a matter of fact, I have set up automatic e-mail messaging systems (for network emergencies, etc.), but the mail always originates on the server end. Yes, you can build out a "full" mailto: form directive, attach it to a timer (or a button, or a ... ), and have it launch from the client [it is virtually ALWAYS true that JavaScript executes on the client host, not the server], but the various issues involved usually makes this unwise. On the other hand, the server side has extensive logging, the mail application requires source authentication of the process, and so forth -- making it a much safer (and easier!) thing to arrange. -- Dave Lovering ----- Original Message ----- From: "Mark" To: Sent: Monday, March 17, 2003 11:38 AM Subject: Re: [Javascript] automated firing off emails > To me, this would be a security problem. I could create a script that > automatically sends email from your PC without your knowing it. > > From a technical side, how would you know what mail client was (or > even IF there was a mail client) on the PC? > > > --- bill.marriott at agric.nsw.gov.au wrote: > > Hi Everyone, > > > > Has anyone had experience in using javascript to automate the > > sending of > > emails > > > > I don't just mean mailto where it opens up your mail client but > > something > > that will actually fire off an email from your mail client > > > > thanks > > > > Bill Marriott > > Analyst/Programmer > > Information Technology > > NSW Agriculture > > Orange > > > > Ph. 02 6391 3657 > > Fax. 02 6391 3290 > > > > > > This message is intended for the addressee named and may contain > > confidential information. If you are not the intended recipient or > > received it in error, please delete the message and notify sender. > > Views > > expressed are those of the individual sender and are not > > necessarily the > > views of their organisation. > > > ===== > Mark Weinstock > mark_weinstock at yahoo.com > *************************************** > You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. > *************************************** > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From bill.marriott at optusnet.com.au Tue Mar 18 01:34:23 2003 From: bill.marriott at optusnet.com.au (Janine Marriott) Date: Tue, 18 Mar 2003 18:34:23 +1100 Subject: [Javascript] automated firing off emails References: <20030317183808.99657.qmail@web41206.mail.yahoo.com> <000c01c2ecd4$300cc3c0$0600000a@arcana> Message-ID: <002d01c2ed20$ccf8d0b0$e3778ec6@DELL> Thanks for all the replies Server side is going to be the answer. Haven't quiet figured it yet but pearl script using sendmail could be the answer. Bill ----- Original Message ----- From: "David Lovering" To: Sent: Tuesday, March 18, 2003 9:25 AM Subject: Re: [Javascript] automated firing off emails > As a matter of fact, I have set up automatic e-mail messaging systems (for > network emergencies, etc.), but the mail always originates on the server > end. Yes, you can build out a "full" mailto: form directive, attach it to a > timer (or a button, or a ... ), and have it launch from the client [it is > virtually ALWAYS true that JavaScript executes on the client host, not the > server], but the various issues involved usually makes this unwise. On the > other hand, the server side has extensive logging, the mail application > requires source authentication of the process, and so forth -- making it a > much safer (and easier!) thing to arrange. > > -- Dave Lovering > > ----- Original Message ----- > From: "Mark" > To: > Sent: Monday, March 17, 2003 11:38 AM > Subject: Re: [Javascript] automated firing off emails > > > > To me, this would be a security problem. I could create a script that > > automatically sends email from your PC without your knowing it. > > > > From a technical side, how would you know what mail client was (or > > even IF there was a mail client) on the PC? > > > > > > --- bill.marriott at agric.nsw.gov.au wrote: > > > Hi Everyone, > > > > > > Has anyone had experience in using javascript to automate the > > > sending of > > > emails > > > > > > I don't just mean mailto where it opens up your mail client but > > > something > > > that will actually fire off an email from your mail client > > > > > > thanks > > > > > > Bill Marriott > > > Analyst/Programmer > > > Information Technology > > > NSW Agriculture > > > Orange > > > > > > Ph. 02 6391 3657 > > > Fax. 02 6391 3290 > > > > > > > > > This message is intended for the addressee named and may contain > > > confidential information. If you are not the intended recipient or > > > received it in error, please delete the message and notify sender. > > > Views > > > expressed are those of the individual sender and are not > > > necessarily the > > > views of their organisation. > > > > > > ===== > > Mark Weinstock > > mark_weinstock at yahoo.com > > *************************************** > > You can't demand something as a "right" unless you are willing to fight to > death to defend everyone else's right to the same thing. > > *************************************** > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Web Hosting - establish your business online > > http://webhosting.yahoo.com > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From azglav at heritage.ch Tue Mar 18 06:44:39 2003 From: azglav at heritage.ch (Alexandre Zglav) Date: Tue, 18 Mar 2003 13:44:39 +0100 Subject: [Javascript] Loop problem Message-ID: Hello all. I quite new to javascript and I have a problem with a loop and I just cant find a solution to it on the internet. I am trying to validate a for m with a variable amount of fields. Here is the code i am using : Note that <%=Numfrm%> is a the variable i am retrieving from ASP. It returns me an integer value chosen in an earlier field. Now my problem is at this point : why += checkName(form1.name[i].value); It seems that [i] is not accepted as I always get an error at this level in my script debugger. Can someone help me with this ? Thanks in advance. Best regards. _____________________________________ IT Projects Alexandre Zglav Heritage Finance and Trust Company 12 cours des bastions 1205 Geneva Switzerland Phone : ++ 41 22 817 31 68 ---------------------------------------------------------------- This document should only be read by those persons to whom it is addressed and is not intended to be relied upon by any person without subsequent written confirmation of its contents. If you have received this e-mail message in error, please destroy it and delete it from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited. ---------------------------------------------------------------- From azglav at heritage.ch Tue Mar 18 06:50:39 2003 From: azglav at heritage.ch (Alexandre Zglav) Date: Tue, 18 Mar 2003 13:50:39 +0100 Subject: [Javascript] Loop problem Message-ID: It seems that there was a problem with the formating of my email so here is a .txt version of the code _____________________________________ IT Projects Alexandre Zglav Heritage Finance and Trust Company 12 cours des bastions 1205 Geneva Switzerland Phone : ++ 41 22 817 31 68 ---------------------------------------------------------------- This document should only be read by those persons to whom it is addressed and is not intended to be relied upon by any person without subsequent written confirmation of its contents. If you have received this e-mail message in error, please destroy it and delete it from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited. ---------------------------------------------------------------- "Alexandre Zglav" Sent by: javascript-admin at LaTech.edu 18.03.2003 13:44 Please respond to javascript To: javascript at LaTech.edu cc: Subject: [Javascript] Loop problem Hello all. I quite new to javascript and I have a problem with a loop and I just cant find a solution to it on the internet. I am trying to validate a for m with a variable amount of fields. Here is the code i am using : Note that <%=Numfrm%> is a the variable i am retrieving from ASP. It returns me an integer value chosen in an earlier field. Now my problem is at this point : why += checkName(form1.name[i].value); It seems that [i] is not accepted as I always get an error at this level in my script debugger. Can someone help me with this ? Thanks in advance. Best regards. _____________________________________ IT Projects Alexandre Zglav Heritage Finance and Trust Company 12 cours des bastions 1205 Geneva Switzerland Phone : ++ 41 22 817 31 68 ---------------------------------------------------------------- This document should only be read by those persons to whom it is addressed and is not intended to be relied upon by any person without subsequent written confirmation of its contents. If you have received this e-mail message in error, please destroy it and delete it from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited. ---------------------------------------------------------------- _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: New Text Document.txt URL: From christ at saeweb.com Tue Mar 18 07:38:14 2003 From: christ at saeweb.com (Chris Tifer) Date: Tue, 18 Mar 2003 08:38:14 -0500 Subject: [Javascript] Loop problem References: Message-ID: <002301c2ed53$a03d0fe0$f10110ac@saweb.lcl> From the looks of it, this would never loop: > for (i=1;i=<%=Numfrm%>;i++) Should their be some of of comparison, such as: < or <= or > or >= or == When you say " var1 = var2", you're automatically setting var1 to var2's values. == checks for equality. That'd be where I started to debug. Chris Tifer ----- Original Message ----- From: "Alexandre Zglav" To: Sent: Tuesday, March 18, 2003 7:44 AM Subject: [Javascript] Loop problem > Hello all. > > I quite new to javascript and I have a problem with a loop and I just cant > find a solution to it on the internet. > > I am trying to validate a for m with a variable amount of fields. > > Here is the code i am using : > > > > > Note that <%=Numfrm%> is a the variable i am retrieving from ASP. It > returns me an integer value chosen in an earlier field. > > Now my problem is at this point : > > why += checkName(form1.name[i].value); > > It seems that [i] is not accepted as I always get an error at this level > in my script debugger. > > Can someone help me with this ? > > Thanks in advance. > > Best regards. > _____________________________________ > IT Projects > Alexandre Zglav > Heritage Finance and Trust Company > 12 cours des bastions > 1205 Geneva > Switzerland > Phone : ++ 41 22 817 31 68 > ---------------------------------------------------------------- > This document should only be read by those persons to whom it is > addressed and is not intended to be relied upon by any person > without subsequent written confirmation of its contents. If you > have received this e-mail message in error, please destroy it > and delete it from your computer. > Any form of reproduction, dissemination, copying, disclosure, > modification, distribution and/or publication of this E-mail > message is strictly prohibited. > ---------------------------------------------------------------- > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From dlovering at gazos.com Tue Mar 18 07:43:28 2003 From: dlovering at gazos.com (David T. Lovering) Date: Tue, 18 Mar 2003 06:43:28 -0700 Subject: [Javascript] Loop problem References: Message-ID: <3E772279.7B0B4C02@gazos.com> Well, I see a couple of problems... In the loop 'for (i=1;i=<%=Numfrm%>;i++)' you have two equivalence assignments, namely i=1 and i=<%=Numfrm%>, where <%Numfrm%> is some variable derived elsewhere. (Incidently, I hope this isn't the real syntax you are using, as <%Numfrm%> will blow up the syntax parser inside JavaScript). If the number of fields is variable and externally defined, a much better way of passing it into the function is as follows: var Numfrm, form; function checkFrm(Numfrm, form) { var why =""; for (var i=1;i > Hello all. > > I quite new to javascript and I have a problem with a loop and I just cant > find a solution to it on the internet. > > I am trying to validate a for m with a variable amount of fields. > > Here is the code i am using : > > > > Note that <%=Numfrm%> is a the variable i am retrieving from ASP. It > returns me an integer value chosen in an earlier field. > > Now my problem is at this point : > > why += checkName(form1.name[i].value); > > It seems that [i] is not accepted as I always get an error at this level > in my script debugger. > > Can someone help me with this ? > > Thanks in advance. > > Best regards. > _____________________________________ > IT Projects > Alexandre Zglav > Heritage Finance and Trust Company > 12 cours des bastions > 1205 Geneva > Switzerland > Phone : ++ 41 22 817 31 68 > ---------------------------------------------------------------- > This document should only be read by those persons to whom it is > addressed and is not intended to be relied upon by any person > without subsequent written confirmation of its contents. If you > have received this e-mail message in error, please destroy it > and delete it from your computer. > Any form of reproduction, dissemination, copying, disclosure, > modification, distribution and/or publication of this E-mail > message is strictly prohibited. > ---------------------------------------------------------------- > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From LMuchacho at twii.net Tue Mar 18 07:48:49 2003 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Tue, 18 Mar 2003 13:48:49 -0000 Subject: [Javascript] Loop problem Message-ID: Stop everyone This is pretty simple when you do your loop throw a form you can simply do for (var i=0;i for (i=1;i=<%=Numfrm%>;i++) Should their be some of of comparison, such as: < or <= or > or >= or == When you say " var1 = var2", you're automatically setting var1 to var2's values. == checks for equality. That'd be where I started to debug. Chris Tifer ----- Original Message ----- From: "Alexandre Zglav" To: Sent: Tuesday, March 18, 2003 7:44 AM Subject: [Javascript] Loop problem > Hello all. > > I quite new to javascript and I have a problem with a loop and I just cant > find a solution to it on the internet. > > I am trying to validate a for m with a variable amount of fields. > > Here is the code i am using : > > > > > Note that <%=Numfrm%> is a the variable i am retrieving from ASP. It > returns me an integer value chosen in an earlier field. > > Now my problem is at this point : > > why += checkName(form1.name[i].value); > > It seems that [i] is not accepted as I always get an error at this level > in my script debugger. > > Can someone help me with this ? > > Thanks in advance. > > Best regards. > _____________________________________ > IT Projects > Alexandre Zglav > Heritage Finance and Trust Company > 12 cours des bastions > 1205 Geneva > Switzerland > Phone : ++ 41 22 817 31 68 > ---------------------------------------------------------------- > This document should only be read by those persons to whom it is > addressed and is not intended to be relied upon by any person > without subsequent written confirmation of its contents. If you > have received this e-mail message in error, please destroy it > and delete it from your computer. > Any form of reproduction, dissemination, copying, disclosure, > modification, distribution and/or publication of this E-mail > message is strictly prohibited. > ---------------------------------------------------------------- > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. From dlovering at gazos.com Tue Mar 18 07:51:56 2003 From: dlovering at gazos.com (David T. Lovering) Date: Tue, 18 Mar 2003 06:51:56 -0700 Subject: [Javascript] automated firing off emails References: <20030317183808.99657.qmail@web41206.mail.yahoo.com> <000c01c2ecd4$300cc3c0$0600000a@arcana> <002d01c2ed20$ccf8d0b0$e3778ec6@DELL> Message-ID: <3E772475.7404D958@gazos.com> Don't you mean 'PERL'? Incidently, you can invoke server-side scripts from a client-side JavaScript, albeit it is a black art (and the security nazis don't like it to be public knowledge that it is even possible). The trick is to use the server-side form-handling POST/GET mechanisms to invoke a server-side CGI/BIN script which (in addition to behaving like a form validation routine) also sends off the email you want. You can use the "system" call in PERL to issue a mail invocation, complete with subject, destination, and content. I do all my auto email stuff from PERL, so it should be highly do-able. -- Dave Lovering Janine Marriott wrote: > > Thanks for all the replies > > Server side is going to be the answer. > Haven't quiet figured it yet but pearl script using sendmail could be the > answer. > > Bill > > ----- Original Message ----- > From: "David Lovering" > To: > Sent: Tuesday, March 18, 2003 9:25 AM > Subject: Re: [Javascript] automated firing off emails > > > As a matter of fact, I have set up automatic e-mail messaging systems (for > > network emergencies, etc.), but the mail always originates on the server > > end. Yes, you can build out a "full" mailto: form directive, attach it to > a > > timer (or a button, or a ... ), and have it launch from the client [it is > > virtually ALWAYS true that JavaScript executes on the client host, not the > > server], but the various issues involved usually makes this unwise. On > the > > other hand, the server side has extensive logging, the mail application > > requires source authentication of the process, and so forth -- making it a > > much safer (and easier!) thing to arrange. > > > > -- Dave Lovering > > > > ----- Original Message ----- > > From: "Mark" > > To: > > Sent: Monday, March 17, 2003 11:38 AM > > Subject: Re: [Javascript] automated firing off emails > > > > > > > To me, this would be a security problem. I could create a script that > > > automatically sends email from your PC without your knowing it. > > > > > > From a technical side, how would you know what mail client was (or > > > even IF there was a mail client) on the PC? > > > > > > > > > --- bill.marriott at agric.nsw.gov.au wrote: > > > > Hi Everyone, > > > > > > > > Has anyone had experience in using javascript to automate the > > > > sending of > > > > emails > > > > > > > > I don't just mean mailto where it opens up your mail client but > > > > something > > > > that will actually fire off an email from your mail client > > > > > > > > thanks > > > > > > > > Bill Marriott > > > > Analyst/Programmer > > > > Information Technology > > > > NSW Agriculture > > > > Orange > > > > > > > > Ph. 02 6391 3657 > > > > Fax. 02 6391 3290 > > > > > > > > > > > > This message is intended for the addressee named and may contain > > > > confidential information. If you are not the intended recipient or > > > > received it in error, please delete the message and notify sender. > > > > Views > > > > expressed are those of the individual sender and are not > > > > necessarily the > > > > views of their organisation. > > > > > > > > > ===== > > > Mark Weinstock > > > mark_weinstock at yahoo.com > > > *************************************** > > > You can't demand something as a "right" unless you are willing to fight > to > > death to defend everyone else's right to the same thing. > > > *************************************** > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Web Hosting - establish your business online > > > http://webhosting.yahoo.com > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- A non-text attachment was scrubbed... Name: dlovering.vcf Type: text/x-vcard Size: 304 bytes Desc: Card for David T. Lovering URL: From dlovering at gazos.com Tue Mar 18 08:09:54 2003 From: dlovering at gazos.com (David T. Lovering) Date: Tue, 18 Mar 2003 07:09:54 -0700 Subject: [Javascript] Loop problem References: Message-ID: <3E7728A8.F94E10FC@gazos.com> ... which is backwards from the way most validation routines operate ... I think you meant for (var i=0;i