From clancyjones at hotmail.com Mon Aug 2 19:36:16 2004 From: clancyjones at hotmail.com (Clancy Jones) Date: Tue, 03 Aug 2004 12:36:16 +1200 Subject: [Javascript] .match() method Message-ID: Hi, I haven't used the match() method before but am trying to use it in conjunction with the length property to find out how many instances of a substring are contained within a string. I grabbed this example from my Google search: The site listing the above said the output should be 3 but I get 1. I am using IE6. Can someone point me in the right direction? Thanks a lot, Clancy _________________________________________________________________ Surf the net and talk on the phone with Xtra JetStream @ http://xtra.co.nz/jetstream From peter at brunone.com Mon Aug 2 21:20:05 2004 From: peter at brunone.com (Peter Brunone) Date: Mon, 2 Aug 2004 21:20:05 -0500 Subject: [Javascript] .match() method In-Reply-To: Message-ID: <005901c47900$642f9f60$0502a8c0@monkeyhouse> Clancy, I've never tried this before, but the documentation at http://msdn.microsoft.com/library/en-us/script56/html/js56jsmthmatch.asp says this: "If the global flag (g) is not set, Element zero of the array contains the entire match..." Basically, it looks like when this flag is not set, you only get the first occurrence. FYI, this method is meant to be used with a regular expression (or string containing regex pattern and flags) as the search criterion. Anyway, you can read up at the link above and see if it helps. Cheers, Peter Brunone ----------------------- Do the impossible. Go home early. www.EasyListBox.com ----------------------- -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Clancy Jones Hi, I haven't used the match() method before but am trying to use it in conjunction with the length property to find out how many instances of a substring are contained within a string. I grabbed this example from my Google search: The site listing the above said the output should be 3 but I get 1. I am using IE6. Can someone point me in the right direction? Thanks a lot, Clancy From clancyjones at hotmail.com Mon Aug 2 23:18:29 2004 From: clancyjones at hotmail.com (Clancy Jones) Date: Tue, 03 Aug 2004 16:18:29 +1200 Subject: [Javascript] .match() method Message-ID: Thanks Peter, that has definitely got things rolling. I now have another problem! I have a form which has five groups of radio buttons, cat1, cat2 etc. Based on the user's selection of these radio buttons I want to recommend one of three products when the form is submitted. The criteria for this is that if 3 or more of the checked radios have a checked value of a,b,c (indicating product a, b or c) then that product is the recommended product. But if no selection was made to indicate product c for example then i get a 'length' is null or not an object error. I've tried to trap this with things like if(aOccur.length) etc but no joy so far. Here's the code... Any help much appreciated! Clancy >From: "Peter Brunone" >Reply-To: "[JavaScript List]" >To: "'[JavaScript List]'" >Subject: RE: [Javascript] .match() method >Date: Mon, 2 Aug 2004 21:20:05 -0500 > >Clancy, > > I've never tried this before, but the documentation at > >http://msdn.microsoft.com/library/en-us/script56/html/js56jsmthmatch.asp > >says this: > >"If the global flag (g) is not set, Element zero of the array contains >the entire match..." > > Basically, it looks like when this flag is not set, you only get >the first occurrence. FYI, this method is meant to be used with a >regular expression (or string containing regex pattern and flags) as the >search criterion. > > Anyway, you can read up at the link above and see if it helps. > >Cheers, > >Peter Brunone >----------------------- >Do the impossible. >Go home early. > >www.EasyListBox.com >----------------------- > >-----Original Message----- >From: javascript-bounces at LaTech.edu >[mailto:javascript-bounces at LaTech.edu] On Behalf Of Clancy Jones > >Hi, I haven't used the match() method before but am trying to use it in >conjunction with the length property to find out how many instances of a > >substring are contained within a string. > >I grabbed this example from my Google search: > > > >The site listing the above said the output should be 3 but I get 1. I >am >using IE6. > >Can someone point me in the right direction? > >Thanks a lot, >Clancy > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Surf the net and talk on the phone with Xtra JetStream @ http://xtra.co.nz/jetstream From peter at brunone.com Tue Aug 3 00:41:19 2004 From: peter at brunone.com (Peter Brunone) Date: Tue, 3 Aug 2004 00:41:19 -0500 Subject: [Javascript] .match() method In-Reply-To: Message-ID: <007401c4791c$81344c70$0502a8c0@monkeyhouse> Hi again... In this case, I'd suggest checking for the existence/"true-ness" of each variable, i.e. if(aOccur) { if(aOccur.length>=3){ recommendation = "Product A" } } } This way you skip right over it if aOccur contains nothing. Cheers, Peter -----Original Message----- From: javascript-bounces at LaTech.edu On Behalf Of Clancy Jones Thanks Peter, that has definitely got things rolling. I now have another problem! I have a form which has five groups of radio buttons, cat1, cat2 etc. Based on the user's selection of these radio buttons I want to recommend one of three products when the form is submitted. The criteria for this is that if 3 or more of the checked radios have a checked value of a,b,c (indicating product a, b or c) then that product is the recommended product. But if no selection was made to indicate product c for example then i get a 'length' is null or not an object error. I've tried to trap this with things like if(aOccur.length) etc but no joy so far. Here's the code... Any help much appreciated! Clancy >From: "Peter Brunone" > >Clancy, > > I've never tried this before, but the documentation at > >http://msdn.microsoft.com/library/en-us/script56/html/js56jsmthmatch.as >p > >says this: > >"If the global flag (g) is not set, Element zero of the array contains >the entire match..." > > Basically, it looks like when this flag is not set, you only get the >first occurrence. FYI, this method is meant to be used with a regular >expression (or string containing regex pattern and flags) as the search >criterion. > > Anyway, you can read up at the link above and see if it helps. > >Cheers, > >Peter Brunone >----------------------- >Do the impossible. >Go home early. > >www.EasyListBox.com >----------------------- > >-----Original Message----- >From: javascript-bounces at LaTech.edu > On Behalf Of Clancy Jones > >Hi, I haven't used the match() method before but am trying to use it in >conjunction with the length property to find out how many instances of >a > >substring are contained within a string. > >I grabbed this example from my Google search: > > > >The site listing the above said the output should be 3 but I get 1. I >am using IE6. > >Can someone point me in the right direction? > >Thanks a lot, >Clancy From clancyjones at hotmail.com Tue Aug 3 00:45:28 2004 From: clancyjones at hotmail.com (Clancy Jones) Date: Tue, 03 Aug 2004 17:45:28 +1200 Subject: [Javascript] .match() method Message-ID: awesome, that did it! thanks a lot. Clancy >From: "Peter Brunone" >Reply-To: "[JavaScript List]" >To: "'[JavaScript List]'" >Subject: RE: [Javascript] .match() method >Date: Tue, 3 Aug 2004 00:41:19 -0500 > >Hi again... > > In this case, I'd suggest checking for the existence/"true-ness" >of each variable, i.e. > > if(aOccur) { > if(aOccur.length>=3){ > recommendation = "Product A" > } > } > } > > This way you skip right over it if aOccur contains nothing. > >Cheers, > >Peter > >-----Original Message----- >From: javascript-bounces at LaTech.edu On Behalf Of Clancy Jones > >Thanks Peter, that has definitely got things rolling. > >I now have another problem! > >I have a form which has five groups of radio buttons, cat1, cat2 etc. >Based >on the user's selection of these radio buttons I want to recommend one >of >three products when the form is submitted. The criteria for this is >that if >3 or more of the checked radios have a checked value of a,b,c >(indicating >product a, b or c) then that product is the recommended product. But if >no >selection was made to indicate product c for example then i get a >'length' >is null or not an object error. I've tried to trap this with things >like >if(aOccur.length) etc but no joy so far. > >Here's the code... > > > >Any help much appreciated! >Clancy > > > >From: "Peter Brunone" > > > >Clancy, > > > > I've never tried this before, but the documentation at > > > >http://msdn.microsoft.com/library/en-us/script56/html/js56jsmthmatch.as > >p > > > >says this: > > > >"If the global flag (g) is not set, Element zero of the array contains > >the entire match..." > > > > Basically, it looks like when this flag is not set, you only get >the > >first occurrence. FYI, this method is meant to be used with a regular > >expression (or string containing regex pattern and flags) as the search > > >criterion. > > > > Anyway, you can read up at the link above and see if it helps. > > > >Cheers, > > > >Peter Brunone > >----------------------- > >Do the impossible. > >Go home early. > > > >www.EasyListBox.com > >----------------------- > > > >-----Original Message----- > >From: javascript-bounces at LaTech.edu > > On Behalf Of Clancy Jones > > > >Hi, I haven't used the match() method before but am trying to use it in > > >conjunction with the length property to find out how many instances of > >a > > > >substring are contained within a string. > > > >I grabbed this example from my Google search: > > > > > > > >The site listing the above said the output should be 3 but I get 1. I > >am using IE6. > > > >Can someone point me in the right direction? > > > >Thanks a lot, > >Clancy > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Check out news, entertainment and more @ http://xtra.co.nz/broadband From flavio at economisa.com.br Tue Aug 3 07:31:07 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Tue, 03 Aug 2004 09:31:07 -0300 Subject: [Javascript] .match() method In-Reply-To: References: Message-ID: <410F858B.1030106@economisa.com.br> > ... Here's the code... > > -- Flavio Gomes flavio at economisa.com.br Scott Hamm wrote: >I've been struggling to write a JavaScript that horizontally scrolls image >using CSS as follows: > >#foo { >width: 770px; >height: 58px; >background:url(foo.jpg) repeat-x top [javascript incremented by -86px per .5 >seconds]; >} > > >Or as follows: > >#foo { >width: 770px; >height: 58px; >} > >
>
> >That way scroll will recycle perfectly in synch when end of image is >reached. > >Any ideas? > > From ScottHam at clientlogic.com Tue Aug 3 13:09:50 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Tue, 3 Aug 2004 14:09:50 -0400 Subject: [Javascript] Horizontal scroll Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B84965@L001N14> Perfect! It was so much better than my script which was paintaking. Thanks for the code and I love it! Scott -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Flavio Gomes Sent: Tuesday, August 03, 2004 1:43 PM To: [JavaScript List] Subject: Re: [Javascript] Horizontal scroll I'm not sure of what exactly was your problem, but as I had some spare time I did what you asked.. Feel free to ask something else you may need in JavaScript.
-- Flavio Gomes flavio at economisa.com.br Scott Hamm wrote: >I've been struggling to write a JavaScript that horizontally scrolls image >using CSS as follows: > >#foo { >width: 770px; >height: 58px; >background:url(foo.jpg) repeat-x top [javascript incremented by -86px per .5 >seconds]; >} > > >Or as follows: > >#foo { >width: 770px; >height: 58px; >} > >
>
> >That way scroll will recycle perfectly in synch when end of image is >reached. > >Any ideas? > > _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From mdougherty at pbp.com Wed Aug 4 08:23:37 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Wed, 04 Aug 2004 09:23:37 -0400 Subject: [Javascript] code review In-Reply-To: <48A8BDD0DC72F3458A713242E3848AAD07B84965@L001N14> Message-ID: Given the rather long object tree below, was there a better way to structure the data/objects so this kind of code could have been avoided? (there are few objects in each collection, and it processes very quickly even on slow machines, but it's not pleasant to read) for (var itm200 in loMainItem.Item0200) { var loItm200 = loMainItem.Item0200[itm200] for (var itm100 in loItm200.Item0100) { var loItm100 = loItm200.Item0100[itm100] for (a100 in loItm100.Area0100) { var loA100 = loItm100.Area0100[a100] if (loA100.Customize==1) { for (a110 in loA100.Area0110) { var loA110 = loA100.Area0110[a110] if (loA110.Type==2) { if (loA110.Customize==1) {lnRtnVal+=1} } /* if (loA110.Type==2) */ } /* for (a110 in loA100.Area0110) */ } /* if (loA100.Customize==1) */ } /* for (a100 in loItm100.Area0100) */ } /* for (itm100 in loItm200.Item0100) */ } /* for (itm200 in loMainItem.Item0200) */ From shawn_milochik at godivachoc.com Wed Aug 4 09:07:46 2004 From: shawn_milochik at godivachoc.com (shawn_milochik at godivachoc.com) Date: Wed, 4 Aug 2004 10:07:46 -0400 Subject: [Javascript] code review In-Reply-To: Message-ID: This may seem trivial, but I always set my tabs to three spaces. It looks like you're using 10 or 12, which is making this much wider than it needs to be. Here is how I would format this. Still a big block, and depending upon what font you are viewing this in, the spacing may be weird. But with a fixed-width font, I think that this is reasonable. for (var itm200 in loMainItem.Item0200) { var loItm200 = loMainItem.Item0200[itm200] for (var itm100 in loItm200.Item0100) { var loItm100 = loItm200.Item0100[itm100] for (a100 in loItm100.Area0100) { var loA100 = loItm100.Area0100[a100] if (loA100.Customize==1) { for (a110 in loA100.Area0110) { var loA110 = loA100.Area0110[a110] if (loA110.Type==2) { if (loA110.Customize==1) {lnRtnVal+=1} } /* if (loA110.Type==2) */ } /* for (a110 in loA100.Area0110) */ } /* if (loA100.Customize==1) */ } /* for (a100 in loItm100.Area0100) */ } /* for (itm100 in loItm200.Item0100) */ } /* for (itm200 in loMainItem.Item0200) */ Shawn mdougherty at pbp.co m Sent by: To javascript-bounce javascript at LaTech.edu s at LaTech.edu cc Subject 08/04/2004 09:23 [Javascript] code review AM Please respond to javascript at LaTech .edu Given the rather long object tree below, was there a better way to structure the data/objects so this kind of code could have been avoided? (there are few objects in each collection, and it processes very quickly even on slow machines, but it's not pleasant to read) for (var itm200 in loMainItem.Item0200) { var loItm200 = loMainItem.Item0200[itm200] for (var itm100 in loItm200.Item0100) { var loItm100 = loItm200.Item0100[itm100] for (a100 in loItm100.Area0100) { var loA100 = loItm100.Area0100[a100] if (loA100.Customize==1) { for (a110 in loA100.Area0110) { var loA110 = loA100.Area0110[a110] if (loA110.Type==2) { if (loA110.Customize==1) {lnRtnVal+=1} } /* if (loA110.Type==2) */ } /* for (a110 in loA100.Area0110) */ } /* if (loA100.Customize==1) */ } /* for (a100 in loItm100.Area0100) */ } /* for (itm100 in loItm200.Item0100) */ } /* for (itm200 in loMainItem.Item0200) */ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. ********************************************************************** From javascript at mattbarton.org Wed Aug 4 09:32:39 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 4 Aug 2004 15:32:39 +0100 Subject: [Javascript] code review References: Message-ID: <000c01c47a2f$e5d7e740$2799a8c0@selima.co.uk> Another trivial[*] comment I'd make is that, personally, I hate variable names like "itm200" and "loItm200" and find code much more readble (and hence, understandable) when using more descriptive names. Particularly in situations like this where you've got lots of variable names together in tight loops, and very similar looking varaible names. Just my ?0.02p Matt ----- [*] One man's trivia, being another mans detail... I'd not call this instance trivial, but I'm aware that others, rightfully, would consider it to be so. Far be it from me to say that my coding standards preference is "correct". Many ways to skin a cat etc, etc. ----- Original Message ----- From: To: Sent: Wednesday, August 04, 2004 3:07 PM Subject: Re: [Javascript] code review > This may seem trivial, but I always set my tabs to three spaces. It looks > like you're using 10 or 12, which > is making this much wider than it needs to be. > > > Here is how I would format this. Still a big block, and depending upon > what font you are viewing this in, the > spacing may be weird. But with a fixed-width font, I think that this is > reasonable. > > for (var itm200 in loMainItem.Item0200) { > var loItm200 = loMainItem.Item0200[itm200] > for (var itm100 in loItm200.Item0100) { > var loItm100 = loItm200.Item0100[itm100] > for (a100 in loItm100.Area0100) { > var loA100 = loItm100.Area0100[a100] > if (loA100.Customize==1) { > for (a110 in loA100.Area0110) { > var loA110 = loA100.Area0110[a110] > if (loA110.Type==2) { > if (loA110.Customize==1) {lnRtnVal+=1} > } /* if (loA110.Type==2) */ > } /* for (a110 in loA100.Area0110) */ > } /* if (loA100.Customize==1) */ > } /* for (a100 in loItm100.Area0100) */ > } /* for (itm100 in loItm200.Item0100) */ > } /* for (itm200 in loMainItem.Item0200) */ > > > > > Shawn > > > > > > mdougherty at pbp.co > m > Sent by: To > javascript-bounce javascript at LaTech.edu > s at LaTech.edu cc > > Subject > 08/04/2004 09:23 [Javascript] code review > AM > > > Please respond to > javascript at LaTech > .edu > > > > > > > Given the rather long object tree below, was there a better way to > structure the data/objects so > this kind of code could have been avoided? (there are few objects in each > collection, and it > processes very quickly even on slow machines, but it's not pleasant to > read) > > > for (var itm200 in loMainItem.Item0200) { > var loItm200 = loMainItem.Item0200[itm200] > for (var itm100 in loItm200.Item0100) { > var loItm100 = loItm200.Item0100[itm100] > for (a100 in loItm100.Area0100) { > var loA100 = loItm100.Area0100[a100] > if (loA100.Customize==1) { > for (a110 in > loA100.Area0110) { > var loA110 = > loA100.Area0110[a110] > if > (loA110.Type==2) { > if > (loA110.Customize==1) {lnRtnVal+=1} > } > /* if (loA110.Type==2) */ > } /* for (a110 > in loA100.Area0110) */ > } /* if > (loA100.Customize==1) */ > } /* for (a100 in loItm100.Area0100) > */ > } /* for (itm100 in loItm200.Item0100) */ > } /* for (itm200 in loMainItem.Item0200) */ > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > ********************************************************************** > This e-mail and any files transmitted with it may contain > confidential information and is intended solely for use by > the individual to whom it is addressed. If you received > this e-mail in error, please notify the sender, do not > disclose its contents to others and delete it from your > system. > > ********************************************************************** > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From mdougherty at pbp.com Wed Aug 4 12:35:27 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Wed, 04 Aug 2004 13:35:27 -0400 Subject: [Javascript] code review In-Reply-To: <000c01c47a2f$e5d7e740$2799a8c0@selima.co.uk> Message-ID: Tab expansion came from the paste action (i think), it looked like there was no indentation when it came back to me, and your email (apparently) preserved extra-wide tabs. Strange. I agree smaller tabs are better, as long as you don't mix tab and manual spaceing. I agree 100% that our 'convention' for table names is horribly confusing, but the variable names come from the table names - so at least the confusion is applied linearly across the project :) thanks for the suggestions On Wed, 4 Aug 2004 15:32:39 +0100 "Matt Barton" wrote: >Another trivial[*] comment I'd make is that, personally, I hate variable >names like "itm200" and "loItm200" and find code much more readble (and >hence, understandable) when using more descriptive names. Particularly in >situations like this where you've got lots of variable names together in >tight loops, and very similar looking varaible names. > >Just my ?0.02p > >Matt >----- > >[*] One man's trivia, being another mans detail... I'd not call this >instance trivial, but I'm aware that others, rightfully, would consider it >to be so. Far be it from me to say that my coding standards preference is >"correct". Many ways to skin a cat etc, etc. > > >----- Original Message ----- >From: >To: >Sent: Wednesday, August 04, 2004 3:07 PM >Subject: Re: [Javascript] code review > > >> This may seem trivial, but I always set my tabs to three spaces. It looks >> like you're using 10 or 12, which >> is making this much wider than it needs to be. >> >> >> Here is how I would format this. Still a big block, and depending upon >> what font you are viewing this in, the >> spacing may be weird. But with a fixed-width font, I think that this is >> reasonable. >> >> for (var itm200 in loMainItem.Item0200) { >> var loItm200 = loMainItem.Item0200[itm200] >> for (var itm100 in loItm200.Item0100) { >> var loItm100 = loItm200.Item0100[itm100] >> for (a100 in loItm100.Area0100) { >> var loA100 = loItm100.Area0100[a100] >> if (loA100.Customize==1) { >> for (a110 in loA100.Area0110) { >> var loA110 = loA100.Area0110[a110] >> if (loA110.Type==2) { >> if (loA110.Customize==1) {lnRtnVal+=1} >> } /* if (loA110.Type==2) */ >> } /* for (a110 in loA100.Area0110) */ >> } /* if (loA100.Customize==1) */ >> } /* for (a100 in loItm100.Area0100) */ >> } /* for (itm100 in loItm200.Item0100) */ >> } /* for (itm200 in loMainItem.Item0200) */ >> >> >> >> >> Shawn >> >> >> >> >> >> mdougherty at pbp.co >> m >> Sent by: To >> javascript-bounce javascript at LaTech.edu >> s at LaTech.edu cc >> >> Subject >> 08/04/2004 09:23 [Javascript] code review >> AM >> >> >> Please respond to >> javascript at LaTech >> .edu >> >> >> >> >> >> >> Given the rather long object tree below, was there a better way to >> structure the data/objects so >> this kind of code could have been avoided? (there are few objects in each >> collection, and it >> processes very quickly even on slow machines, but it's not pleasant to >> read) >> >> >> for (var itm200 in loMainItem.Item0200) { >> var loItm200 = loMainItem.Item0200[itm200] >> for (var itm100 in loItm200.Item0100) { >> var loItm100 = loItm200.Item0100[itm100] >> for (a100 in loItm100.Area0100) { >> var loA100 = loItm100.Area0100[a100] >> if (loA100.Customize==1) { >> for (a110 in >> loA100.Area0110) { >> var loA110 = >> loA100.Area0110[a110] >> if >> (loA110.Type==2) { >> >if >> (loA110.Customize==1) {lnRtnVal+=1} >> } >> /* if (loA110.Type==2) */ >> } /* for >(a110 >> in loA100.Area0110) */ >> } /* if >> (loA100.Customize==1) */ >> } /* for (a100 in loItm100.Area0100) >> */ >> } /* for (itm100 in loItm200.Item0100) */ >> } /* for (itm200 in loMainItem.Item0200) */ >> _______________________________________________ >> Javascript mailing list >> Javascript at LaTech.edu >> https://lists.LaTech.edu/mailman/listinfo/javascript >> >> >> >> >> ********************************************************************** >> This e-mail and any files transmitted with it may contain >> confidential information and is intended solely for use by >> the individual to whom it is addressed. If you received >> this e-mail in error, please notify the sender, do not >> disclose its contents to others and delete it from your >> system. >> >> ********************************************************************** >> >> _______________________________________________ >> Javascript mailing list >> Javascript at LaTech.edu >> https://lists.LaTech.edu/mailman/listinfo/javascript >> >> -- >> This email has been verified as Virus free >> Virus Protection and more available at http://www.plus.net > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From dev at qroute.net Wed Aug 4 15:08:12 2004 From: dev at qroute.net (dev at qroute.net) Date: Wed, 4 Aug 2004 13:08:12 -0700 Subject: [Javascript] Loading html content from another server using Javascript ? References: Message-ID: <00a701c47a5e$c55fc940$0e859bcf@mustafa> Is it possible to do something like this var htmlsource = getsource("http://www.domain.com/somepage.htm") in javascript at client browser. What tricks would you recommend to accomplisg it ? Is XML or hidden frame or any other way that you think can do the job ? From flavio at economisa.com.br Wed Aug 4 15:43:36 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Wed, 04 Aug 2004 17:43:36 -0300 Subject: [Javascript] Loading html content from another server using Javascript ? In-Reply-To: <00a701c47a5e$c55fc940$0e859bcf@mustafa> References: <00a701c47a5e$c55fc940$0e859bcf@mustafa> Message-ID: <41114A78.7080809@economisa.com.br> Yeah, xml_http object may do it or you may use a hidden frame's innerHTML property, but using the frame would execute the page's javascript and load the images and etc. -- Flavio Gomes flavio at economisa.com.br dev at qroute.net wrote: >Is it possible to do something like this > >var htmlsource = getsource("http://www.domain.com/somepage.htm") in >javascript at client browser. >What tricks would you recommend to accomplisg it ? >Is XML or hidden frame or any other way that you think can do the job ? > From mdougherty at pbp.com Wed Aug 4 15:45:31 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Wed, 04 Aug 2004 16:45:31 -0400 Subject: [Javascript] Loading html content from another server using Javascript ? In-Reply-To: <00a701c47a5e$c55fc940$0e859bcf@mustafa> Message-ID: how about this? http://www.web-source.net/javascript_view_source.htm On Wed, 4 Aug 2004 13:08:12 -0700 wrote: >Is it possible to do something like this > >var htmlsource = getsource("http://www.domain.com/somepage.htm") in >javascript at client browser. >What tricks would you recommend to accomplisg it ? >Is XML or hidden frame or any other way that you think can do the job ? > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From jsWalter at torres.ws Wed Aug 4 16:07:47 2004 From: jsWalter at torres.ws (jsWalter) Date: Wed, 4 Aug 2004 16:07:47 -0500 Subject: [Javascript] Loading html content from another server usingJavascript ? In-Reply-To: <00a701c47a5e$c55fc940$0e859bcf@mustafa> Message-ID: <008b01c47a67$1ad73c70$0b01a8c0@TDGDEV1> For (major) security reasons, you can not run JS from one domain against data from another domain. Big hole that would be! Now, you can load pages/scripts from different domains into different frames, but they can not communicate. Walter > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu] On Behalf Of dev at qroute.net > Sent: Wednesday, August 04, 2004 3:08 PM > To: [JavaScript List] > Subject: [Javascript] Loading html content from another > server usingJavascript ? > > > Is it possible to do something like this > > var htmlsource = getsource("http://www.domain.com/somepage.htm") in > javascript at client browser. > What tricks would you recommend to accomplisg it ? > Is XML or hidden frame or any other way that you think can do > the job ? From dev at qroute.net Wed Aug 4 16:11:08 2004 From: dev at qroute.net (dev at qroute.net) Date: Wed, 4 Aug 2004 14:11:08 -0700 Subject: [Javascript] Loading html content from another serverusing Javascript ? References: <00a701c47a5e$c55fc940$0e859bcf@mustafa> <41114A78.7080809@economisa.com.br> Message-ID: <018401c47a67$8fd493b0$0e859bcf@mustafa> Does xml_http run in client ? Can you point to a site that demo's this ? And also would not hidden frame raise "permission denied" errors ? Thank you ----- Original Message ----- From: "Flavio Gomes" To: "[JavaScript List]" Sent: Wednesday, August 04, 2004 1:43 PM Subject: Re: [Javascript] Loading html content from another serverusing Javascript ? > Yeah, xml_http object may do it or you may use a hidden frame's > innerHTML property, but using the frame would execute the page's > javascript and load the images and etc. > > -- > Flavio Gomes > flavio at economisa.com.br > > > dev at qroute.net wrote: > > >Is it possible to do something like this > > > >var htmlsource = getsource("http://www.domain.com/somepage.htm") in > >javascript at client browser. > >What tricks would you recommend to accomplisg it ? > >Is XML or hidden frame or any other way that you think can do the job ? > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From shawn_milochik at godivachoc.com Thu Aug 5 07:00:32 2004 From: shawn_milochik at godivachoc.com (shawn_milochik at godivachoc.com) Date: Thu, 5 Aug 2004 08:00:32 -0400 Subject: [Javascript] OT: Why 51? In-Reply-To: Message-ID: On the site you listed below, there is a "216 safe web colors" link. I clicked on it out of curiosity. http://www.web-source.net/216_color_chart.htm I have two questions: 1. Why are only 216 colors "safe," and not just any valid hex or RGB within range? 2. I noticed that the values used for R, G, and B were: 255, 204, 153, 102, 51, and 0 Those are, apparently, the only "safe" RGB values. I noticed that the increment there is 51. What is the significance? I know this is a bit off-topic, but I'm not a member of the "web trivia" mailing list. ;o) Shawn mdougherty at pbp.co m Sent by: To javascript-bounce javascript at LaTech.edu s at LaTech.edu cc Subject 08/04/2004 04:45 Re: [Javascript] Loading html PM content from another server using Javascript ? Please respond to javascript at LaTech .edu how about this? http://www.web-source.net/javascript_view_source.htm On Wed, 4 Aug 2004 13:08:12 -0700 wrote: >Is it possible to do something like this > >var htmlsource = getsource("http://www.domain.com/somepage.htm") in >javascript at client browser. >What tricks would you recommend to accomplisg it ? >Is XML or hidden frame or any other way that you think can do the job ? > >_______________________________________________ >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 ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. ********************************************************************** From rer at datacompusa.com Thu Aug 5 13:28:38 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Thu, 5 Aug 2004 14:28:38 -0400 Subject: [Javascript] OT: Why 51? In-Reply-To: References: Message-ID: <4508E894-E70D-11D8-A100-00306572FCC8@datacompusa.com> Shawn, On Aug 5, 2004, at 8:00 AM, shawn_milochik at godivachoc.com wrote: > On the site you listed below, there is a "216 safe web colors" link. I > clicked on it out of curiosity. > http://www.web-source.net/216_color_chart.htm > > I have two questions: > > 1. Why are only 216 colors "safe," and not just any valid hex or RGB > within range? > > 2. I noticed that the values used for R, G, and B were: 255, 204, 153, > 102, 51, and 0 > Those are, apparently, the only "safe" RGB values. I noticed that the > increment > there is 51. What is the significance? > > I know this is a bit off-topic, but I'm not a member of the "web > trivia" > mailing list. ;o) > Back at the dawn of time, many computers could only display 256 colors, and if you chose a color it couldn't display it would dither to try to come close, often with disasterous results... Thats why the 216 colors were referred to as 'safe' :) There were only 216 because of some variance between browsers and platforms. Back then, software used 'palletes' to map color values to screen pixels. In hex, the numbers are 00 33 66 99 cc ff, which makes more sense to programmers than designers. For an article about all this, try Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From merchant at LATECH.EDU Thu Aug 5 18:33:28 2004 From: merchant at LATECH.EDU (David Merchant) Date: Thu, 05 Aug 2004 18:33:28 -0500 Subject: [Javascript] OT: Why 51? In-Reply-To: <4508E894-E70D-11D8-A100-00306572FCC8@datacompusa.com> References: Message-ID: <5.1.0.14.2.20040805181739.037723b8@mail.latech.edu> An HTML attachment was scrubbed... URL: From pmcguire at cguk.co.uk Fri Aug 6 08:20:04 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Fri, 6 Aug 2004 14:20:04 +0100 Subject: [Javascript] InStr References: <5.1.0.14.2.20040805181739.037723b8@mail.latech.edu> Message-ID: <001101c47bb8$165a1da0$7a48a8c0@PaulsLaptop> Does inStr or similar exist in Javascript and how is it used. I am writing a date add function that takes a date adds the delivery time to it then checks to make sure its not a weekend. I wanting to do this by formatting the date to the SUN 21 JUNE type format and then using a InStr type function to pick out the "Sun" if it finds it I add another day to the delivery time as weekend delivery is not allowed. Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmcguire at cguk.co.uk Fri Aug 6 08:30:27 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Fri, 6 Aug 2004 14:30:27 +0100 Subject: [Javascript] InStr References: <00ec01c47bb9$dae71500$0502a8c0@monkeyhouse> Message-ID: <001b01c47bb9$89c51fa0$7a48a8c0@PaulsLaptop> Excellent, thats great thanks. ----- Original Message ----- From: "Peter Brunone" To: "'[JavaScript List]'" Sent: Friday, August 06, 2004 2:32 PM Subject: RE: [Javascript] InStr > Paul, > > Just use myString.IndexOf("Sun") , which will yield an integer > position of "Sun" within myString. > > Cheers, > > Peter > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu] On Behalf Of Paul McGuire > > > Does inStr or similar exist in Javascript and how is it used. I am > writing a date add function that takes a date adds the delivery time to > it then checks to make sure its not a weekend. I wanting to do this by > formatting the date to the SUN 21 JUNE type format and then using a > InStr type function to pick out the "Sun" if it finds it I add another > day to the delivery time as weekend delivery is not allowed. > > Paul > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From peter at brunone.com Fri Aug 6 08:32:42 2004 From: peter at brunone.com (Peter Brunone) Date: Fri, 6 Aug 2004 08:32:42 -0500 Subject: [Javascript] InStr In-Reply-To: <001101c47bb8$165a1da0$7a48a8c0@PaulsLaptop> Message-ID: <00ec01c47bb9$dae71500$0502a8c0@monkeyhouse> Paul, Just use myString.IndexOf("Sun") , which will yield an integer position of "Sun" within myString. Cheers, Peter -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Paul McGuire Does inStr or similar exist in Javascript and how is it used. I am writing a date add function that takes a date adds the delivery time to it then checks to make sure its not a weekend. I wanting to do this by formatting the date to the SUN 21 JUNE type format and then using a InStr type function to pick out the "Sun" if it finds it I add another day to the delivery time as weekend delivery is not allowed. Paul From me at telephag.nu Fri Aug 6 11:18:50 2004 From: me at telephag.nu (Ben Mauer) Date: Fri, 6 Aug 2004 12:18:50 -0400 Subject: [Javascript] Replacing link text with random string of equivalent size... Message-ID: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu> Hi all, I have a challenge for the community here. I need a possibly simple, possibly complex, but definitely not common JavaScript. Basically, I'm making a website for an exhibition and symposium on the power and pathologies of networks, with a focus on computer viruses / viral outbreaks. Here's an early mockup... http://www.watsoninstitute.org/infopeace/ppn/mockups/ppn7.html I want a JavaScript that basically takes paragraph text, links, whatever -- and on rollover, replaces it on-the-fly with an equivalent number of random characters and numbers with a roughly equivalent amount of spaces (basically gibberish -- what an Arabic or Chinese language site looks like when you don't have the proper font). When the user moves their mouse out of the particular piece of text (contained by paragraphs or h3 tags or whatever), it's replaced with the original text. I imagine this will take some serious mucking about and parsing in the JavaScript DOM. Though, if it were just links, perhaps the scope of the problem would be less? The general idea is to give the impression that the site is in flux, you could mess it up at any moment, ultimately expressing the delicacy and manipulability of data. I'd need the script in by next Wednesday (August 11), preferably sooner. I can offer a small amount of money (in the realm of $50 to $150 depending on the scope of the problem). Some articles I think might help get his/her juices flowing: http://www.felgall.com/jstip42.htm http://www.mediacollege.com/internet/javascript/number/random.html http://www.quirksmode.org/dom/domparse.html Thanks, Ben -- Ben Mauer Sole Proprietor, Mantled ben at mantled.com 617.283.5764 AIM telephag From ward.webber at boeing.com Fri Aug 6 11:51:36 2004 From: ward.webber at boeing.com (Webber, Ward) Date: Fri, 6 Aug 2004 09:51:36 -0700 Subject: [Javascript] Replacing link text with random string of equivalentsize... Message-ID: If you don't mind if the random text includes Latin characters (no numbers, unfortunately), you could try "lorem ipsum," the quasi-Latin used as an unreadable substitute for text. Several sites discuss it; here's one, and you can Google for others: http://www.lipsum.com/ -----Original Message----- From: Ben Mauer [mailto:me at telephag.nu] Sent: Friday, August 06, 2004 9:19 AM To: javascript at LaTech.edu Subject: [Javascript] Replacing link text with random string of equivalentsize... Hi all, I have a challenge for the community here. I need a possibly simple, possibly complex, but definitely not common JavaScript. Basically, I'm making a website for an exhibition and symposium on the power and pathologies of networks, with a focus on computer viruses / viral outbreaks. Here's an early mockup... http://www.watsoninstitute.org/infopeace/ppn/mockups/ppn7.html I want a JavaScript that basically takes paragraph text, links, whatever -- and on rollover, replaces it on-the-fly with an equivalent number of random characters and numbers with a roughly equivalent amount of spaces (basically gibberish -- what an Arabic or Chinese language site looks like when you don't have the proper font). When the user moves their mouse out of the particular piece of text (contained by paragraphs or h3 tags or whatever), it's replaced with the original text. I imagine this will take some serious mucking about and parsing in the JavaScript DOM. Though, if it were just links, perhaps the scope of the problem would be less? The general idea is to give the impression that the site is in flux, you could mess it up at any moment, ultimately expressing the delicacy and manipulability of data. I'd need the script in by next Wednesday (August 11), preferably sooner. I can offer a small amount of money (in the realm of $50 to $150 depending on the scope of the problem). Some articles I think might help get his/her juices flowing: http://www.felgall.com/jstip42.htm http://www.mediacollege.com/internet/javascript/number/random.html http://www.quirksmode.org/dom/domparse.html Thanks, Ben -- Ben Mauer Sole Proprietor, Mantled ben at mantled.com 617.283.5764 AIM telephag _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From mdougherty at pbp.com Fri Aug 6 13:22:07 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Fri, 06 Aug 2004 14:22:07 -0400 Subject: [Javascript] Replacing link text with random string of equivalent size... In-Reply-To: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu> Message-ID: i don't understand the scope of this request. To make gibberish, why not just replace the existing text with some transformation of it. To reduce the concerns about round-tripping, just store the original content so you can easily replace it.
original text
gibberish(obj) { obj.originalContents = obj.innerHTML; obj.innerHTML = [[some means of mangling the contents- possibly using .replace() iteratively]] } restore(obj) { obj.innerHTML = obj.originalContents; } For some really interesting effects, put these mouseovers on all the container objects on the page. I'm not really sure what you'd be illustrating with this, but once you have it working the way you want, post a link to it so we can see it. On Fri, 6 Aug 2004 12:18:50 -0400 Ben Mauer wrote: >Hi all, > >I have a challenge for the community here. I need a possibly simple, possibly complex, but >definitely not common JavaScript. > >Basically, I'm making a website for an exhibition and symposium on the power and pathologies of >networks, with a focus on computer viruses / viral outbreaks. Here's an early mockup... > >http://www.watsoninstitute.org/infopeace/ppn/mockups/ppn7.html > >I want a JavaScript that basically takes paragraph text, links, whatever -- and on rollover, >replaces it on-the-fly with an equivalent number of random characters and numbers with a roughly >equivalent amount of spaces (basically gibberish -- what an Arabic or Chinese language site looks >like when you don't have the proper font). When the user moves their mouse out of the particular >piece of text (contained by paragraphs or h3 tags or whatever), it's replaced with the original >text. I imagine this will take some serious mucking about and parsing in the JavaScript DOM. >Though, if it were just links, perhaps the scope of the problem would be less? > >The general idea is to give the impression that the site is in flux, you could mess it up at any >moment, ultimately expressing the delicacy and manipulability of data. > >I'd need the script in by next Wednesday (August 11), preferably sooner. I can offer a small >amount of money (in the realm of $50 to $150 depending on the scope of the problem). > >Some articles I think might help get his/her juices flowing: >http://www.felgall.com/jstip42.htm >http://www.mediacollege.com/internet/javascript/number/random.html >http://www.quirksmode.org/dom/domparse.html > >Thanks, > >Ben > >-- >Ben Mauer >Sole Proprietor, Mantled >ben at mantled.com >617.283.5764 >AIM telephag > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From flavio at economisa.com.br Fri Aug 6 15:17:25 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Fri, 06 Aug 2004 17:17:25 -0300 Subject: [Javascript] Replacing link text with random string of equivalent size... In-Reply-To: References: Message-ID: <4113E755.30507@economisa.com.br> Mike, you Thief!!! Well, I just finished writing, and, believe it or not, I used almost exactly the same stuff.. T.T Ben, I'll be mailing you my sollution so you can tell me if was it what you wanted and evaluate it, ok? Mike Dougherty wrote: > i don't understand the scope of this request. To make gibberish, why > not just replace the existing text with some transformation of it. To > reduce the concerns about round-tripping, just store the original > content so you can easily replace it. > >
> original text >
> > gibberish(obj) { > obj.originalContents = obj.innerHTML; > obj.innerHTML = [[some means of mangling the contents- possibly > using .replace() iteratively]] > } > > restore(obj) { > obj.innerHTML = obj.originalContents; > } > > For some really interesting effects, put these mouseovers on all the > container objects on the page. I'm not really sure what you'd be > illustrating with this, but once you have it working the way you want, > post a link to it so we can see it. > > > On Fri, 6 Aug 2004 12:18:50 -0400 > Ben Mauer wrote: > >> Hi all, >> >> I have a challenge for the community here. I need a possibly simple, >> possibly complex, but definitely not common JavaScript. >> >> Basically, I'm making a website for an exhibition and symposium on >> the power and pathologies of networks, with a focus on computer >> viruses / viral outbreaks. Here's an early mockup... >> >> http://www.watsoninstitute.org/infopeace/ppn/mockups/ppn7.html >> >> I want a JavaScript that basically takes paragraph text, links, >> whatever -- and on rollover, replaces it on-the-fly with an >> equivalent number of random characters and numbers with a roughly >> equivalent amount of spaces (basically gibberish -- what an Arabic or >> Chinese language site looks like when you don't have the proper >> font). When the user moves their mouse out of the particular piece of >> text (contained by paragraphs or h3 tags or whatever), it's replaced >> with the original text. I imagine this will take some serious mucking >> about and parsing in the JavaScript DOM. Though, if it were just >> links, perhaps the scope of the problem would be less? >> >> The general idea is to give the impression that the site is in flux, >> you could mess it up at any moment, ultimately expressing the >> delicacy and manipulability of data. >> >> I'd need the script in by next Wednesday (August 11), preferably >> sooner. I can offer a small amount of money (in the realm of $50 to >> $150 depending on the scope of the problem). >> >> Some articles I think might help get his/her juices flowing: >> http://www.felgall.com/jstip42.htm >> http://www.mediacollege.com/internet/javascript/number/random.html >> http://www.quirksmode.org/dom/domparse.html >> >> Thanks, >> >> Ben >> >> -- >> Ben Mauer >> Sole Proprietor, Mantled >> ben at mantled.com >> 617.283.5764 >> AIM telephag > From flavio at economisa.com.br Fri Aug 6 16:23:59 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Fri, 06 Aug 2004 18:23:59 -0300 Subject: [Javascript] Replacing link text with random string of equivalent size... In-Reply-To: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu> Message-ID: <4113F6EF.8090405@economisa.com.br> This Message is PVT. Ben, I had it done earlier in Mozilla.. but as always I had some problems with Internet Explorer. It's working now. I'm sending you a test version, if you tell me that's ok, then we talk about that little $$$ stuff, ok? Ps.: there are two version, the first testFirst.htm doesnt check if the character replaced is a number or alpha and is case insensitive, and testSecond.htm is case sensitive and checks if is it a number. Regards, Flavio Gomes flavio at economisa.com.br Ben Mauer wrote: > Hi all, > > I have a challenge for the community here. I need a possibly simple, > possibly complex, but definitely not common JavaScript. > > Basically, I'm making a website for an exhibition and symposium on the > power and pathologies of networks, with a focus on computer viruses / > viral outbreaks. Here's an early mockup... > > http://www.watsoninstitute.org/infopeace/ppn/mockups/ppn7.html > > I want a JavaScript that basically takes paragraph text, links, > whatever -- and on rollover, replaces it on-the-fly with an equivalent > number of random characters and numbers with a roughly equivalent > amount of spaces (basically gibberish -- what an Arabic or Chinese > language site looks like when you don't have the proper font). When > the user moves their mouse out of the particular piece of text > (contained by paragraphs or h3 tags or whatever), it's replaced with > the original text. I imagine this will take some serious mucking about > and parsing in the JavaScript DOM. Though, if it were just links, > perhaps the scope of the problem would be less? > > The general idea is to give the impression that the site is in flux, > you could mess it up at any moment, ultimately expressing the delicacy > and manipulability of data. > > I'd need the script in by next Wednesday (August 11), preferably > sooner. I can offer a small amount of money (in the realm of $50 to > $150 depending on the scope of the problem). > > Some articles I think might help get his/her juices flowing: > http://www.felgall.com/jstip42.htm > http://www.mediacollege.com/internet/javascript/number/random.html > http://www.quirksmode.org/dom/domparse.html > > Thanks, > > Ben > > -- > Ben Mauer > Sole Proprietor, Mantled > ben at mantled.com > 617.283.5764 > AIM telephag -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdougherty at pbp.com Fri Aug 6 16:24:16 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Fri, 06 Aug 2004 17:24:16 -0400 Subject: OT: Re: [Javascript] Replacing link text with random string of equivalent size... In-Reply-To: <4113E755.30507@economisa.com.br> Message-ID: You should have posted yours anyway. I've been thinking about memetic marketing, and the concept of the "mind virus" (I saw an actual business example of concepts in a book i read once) I wonder if there is an archetypical mind space where ideas are born then find "in-tune" developers/authors/artists/etc as outlets. We probably had the same idea at the same time, but since I was too lazy to write the mangling routine, i posted first. You probably wrote the hard part. On Fri, 06 Aug 2004 17:17:25 -0300 Flavio Gomes wrote: > > >Mike, you Thief!!! > > Well, I just finished writing, and, believe it or not, I used almost >exactly the same stuff.. T.T > > Ben, I'll be mailing you my sollution so you can tell me if was it >what you wanted and evaluate it, ok? From davecline at onebox.com Fri Aug 6 16:30:35 2004 From: davecline at onebox.com (davecline at onebox.com) Date: Fri, 06 Aug 2004 17:30:35 -0400 Subject: OT: Re: [Javascript] Replacing link text with random string of equivalent size... Message-ID: Archetypical Mind Space? Memes? Sounds Kurzweilian to me. -- Dave Cline davecline at gmail.com www.bangeye.com/ 801-636-5603 -----Original Message----- From: Mike Dougherty Sent: Fri, 06 Aug 2004 17:24:16 -0400 To: "[JavaScript List]" Subject: OT: Re: [Javascript] Replacing link text with random string of equivalent size... You should have posted yours anyway. I've been thinking about memetic marketing, and the concept of the "mind virus" (I saw an actual business example of concepts in a book i read once) I wonder if there is an archetypical mind space where ideas are born then find "in-tune" developers/authors/artists/etc as outlets. We probably had the same idea at the same time, but since I was too lazy to write the mangling routine, i posted first. You probably wrote the hard part. On Fri, 06 Aug 2004 17:17:25 -0300 Flavio Gomes wrote: > > >Mike, you Thief!!! > > Well, I just finished writing, and, believe it or not, I used almost >exactly the same stuff.. T.T > > Ben, I'll be mailing you my sollution so you can tell me if was it >what you wanted and evaluate it, ok? _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From flavio at economisa.com.br Fri Aug 6 17:07:33 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Fri, 06 Aug 2004 19:07:33 -0300 Subject: [Javascript] Replacing link text with random string of equivalent size... In-Reply-To: <4113F6EF.8090405@economisa.com.br> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu> <4113F6EF.8090405@economisa.com.br> Message-ID: <41140125.5020806@economisa.com.br> ehehehehe.. lol well, this message is not pvt anymore Flavio Gomes flavio at economisa.com.br Flavio Gomes wrote: > This Message is PVT. > > Ben, I had it done earlier in Mozilla.. but as always I had some > problems with Internet Explorer. It's working now. > I'm sending you a test version, if you tell me that's ok, then we > talk about that little $$$ stuff, ok? > > Ps.: there are two version, the first testFirst.htm doesnt check if > the character replaced is a number or alpha and is case insensitive, > and testSecond.htm is case sensitive and checks if is it a number. > > Regards, > > Flavio Gomes > flavio at economisa.com.br > > > > Ben Mauer wrote: > >> Hi all, >> >> I have a challenge for the community here. I need a possibly simple, >> possibly complex, but definitely not common JavaScript. >> >> Basically, I'm making a website for an exhibition and symposium on >> the power and pathologies of networks, with a focus on computer >> viruses / viral outbreaks. Here's an early mockup... >> >> http://www.watsoninstitute.org/infopeace/ppn/mockups/ppn7.html >> >> I want a JavaScript that basically takes paragraph text, links, >> whatever -- and on rollover, replaces it on-the-fly with an >> equivalent number of random characters and numbers with a roughly >> equivalent amount of spaces (basically gibberish -- what an Arabic or >> Chinese language site looks like when you don't have the proper >> font). When the user moves their mouse out of the particular piece of >> text (contained by paragraphs or h3 tags or whatever), it's replaced >> with the original text. I imagine this will take some serious mucking >> about and parsing in the JavaScript DOM. Though, if it were just >> links, perhaps the scope of the problem would be less? >> >> The general idea is to give the impression that the site is in flux, >> you could mess it up at any moment, ultimately expressing the >> delicacy and manipulability of data. >> >> I'd need the script in by next Wednesday (August 11), preferably >> sooner. I can offer a small amount of money (in the realm of $50 to >> $150 depending on the scope of the problem). >> >> Some articles I think might help get his/her juices flowing: >> http://www.felgall.com/jstip42.htm >> http://www.mediacollege.com/internet/javascript/number/random.html >> http://www.quirksmode.org/dom/domparse.html >> >> Thanks, >> >> Ben >> >> -- >> Ben Mauer >> Sole Proprietor, Mantled >> ben at mantled.com >> 617.283.5764 >> AIM telephag > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > I got Some text Inside, can you see? > > Let's try out some numbers... 987455 4432.34,34545!? > > what about lower case letters? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > I got Some text Inside, can you see? > > Let's try out some numbers... 987455 4432.34,34545!? > > what about lower case letters? > >------------------------------------------------------------------------ > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript > > From pmcguire at cguk.co.uk Mon Aug 9 04:19:11 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Mon, 9 Aug 2004 10:19:11 +0100 Subject: [Javascript] European Date Formatting? References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br> <41140125.5020806@economisa.com.br> Message-ID: <003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> Hi ALL, I need to work out the number of days between two dates. However if I pass 01/02/02 into the below script it insists on working out a difference using the date 2nd Jan 02 but as far as I am concerned (and millions of others) the above date is infact 1st Feb 02. I have tried laterdate.toLocaleString() but this does not seem to have any effect whatsoever. How am I meant to force JavaScript to accept European formatted dates? My Code: var difference = laterdate.getTime() - earlierdate.getTime(); var daysDifference = Math.floor(difference/1000/60/60/24); difference -= daysDifference*1000*60*60*24 var hoursDifference = Math.floor(difference/1000/60/60); difference -= hoursDifference*1000*60*60 var minutesDifference = Math.floor(difference/1000/60); difference -= minutesDifference*1000*60 var secondsDifference = Math.floor(difference/1000); From spindrift at oceanfree.net Mon Aug 9 05:18:49 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Mon, 9 Aug 2004 11:18:49 +0100 Subject: [Javascript] European Date Formatting? References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br> <003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> Message-ID: <000b01c47dfa$4858ed60$93af02d4@ic7g> lateral thinking - if all you need is the number of days, and your code works with the USA date format, why not just swap the format from dd/mm/yy to mm/dd/yy on your two dates when you enter your routine? easy-peasy. Tim in Ireland. ----- Original Message ----- From: "Paul McGuire" To: "[JavaScript List]" Sent: Monday, August 09, 2004 10:19 AM Subject: [Javascript] European Date Formatting? > Hi ALL, > > I need to work out the number of days between two dates. However if I pass > 01/02/02 into the below script it insists on working out a difference using > the date 2nd Jan 02 but as far as I am concerned (and millions of others) > the above date is infact 1st Feb 02. I have tried laterdate.toLocaleString() > but this does not seem to have any effect whatsoever. How am I meant to > force JavaScript to accept European formatted dates? > > My Code: > > var difference = laterdate.getTime() - earlierdate.getTime(); > > var daysDifference = Math.floor(difference/1000/60/60/24); > difference -= daysDifference*1000*60*60*24 > var hoursDifference = Math.floor(difference/1000/60/60); > difference -= hoursDifference*1000*60*60 > var minutesDifference = Math.floor(difference/1000/60); > difference -= minutesDifference*1000*60 > var secondsDifference = Math.floor(difference/1000); > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From ShawnMilo at runbox.com Mon Aug 9 06:53:41 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Mon, 09 Aug 2004 07:53:41 -0400 (EDT) Subject: [Javascript] European Date Formatting? In-Reply-To: <003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br> <41140125.5020806@economisa.com.br> <003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> Message-ID: At the top of your function: usDate = euDate.replace(/^(\d+)\/(\d+)\/(\d+)$/, '$2/$1/$3'); Shawn > Hi ALL, > > I need to work out the number of days between two dates. However if I pass > 01/02/02 into the below script it insists on working out a difference using > the date 2nd Jan 02 but as far as I am concerned (and millions of others) > the above date is infact 1st Feb 02. I have tried laterdate.toLocaleString() > but this does not seem to have any effect whatsoever. How am I meant to > force JavaScript to accept European formatted dates? > > My Code: > > var difference = laterdate.getTime() - earlierdate.getTime(); > > var daysDifference = Math.floor(difference/1000/60/60/24); > difference -= daysDifference*1000*60*60*24 > var hoursDifference = Math.floor(difference/1000/60/60); > difference -= hoursDifference*1000*60*60 > var minutesDifference = Math.floor(difference/1000/60); > difference -= minutesDifference*1000*60 > var secondsDifference = Math.floor(difference/1000); > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From pmcguire at cguk.co.uk Mon Aug 9 07:06:24 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Mon, 9 Aug 2004 13:06:24 +0100 Subject: [Javascript] European Date Formatting? References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> Message-ID: <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop> ----- Original Message ----- From: "Shawn Milo" To: Sent: Monday, August 09, 2004 12:53 PM Subject: Re: [Javascript] European Date Formatting? At the top of your function: usDate = euDate.replace(/^(\d+)\/(\d+)\/(\d+)$/, '$2/$1/$3'); Shawn > Hi ALL, > > I need to work out the number of days between two dates. However if I pass > 01/02/02 into the below script it insists on working out a difference using > the date 2nd Jan 02 but as far as I am concerned (and millions of others) > the above date is infact 1st Feb 02. I have tried laterdate.toLocaleString() > but this does not seem to have any effect whatsoever. How am I meant to > force JavaScript to accept European formatted dates? > > My Code: > > var difference = laterdate.getTime() - earlierdate.getTime(); > > var daysDifference = Math.floor(difference/1000/60/60/24); > difference -= daysDifference*1000*60*60*24 > var hoursDifference = Math.floor(difference/1000/60/60); > difference -= hoursDifference*1000*60*60 > var minutesDifference = Math.floor(difference/1000/60); > difference -= minutesDifference*1000*60 > var secondsDifference = Math.floor(difference/1000); > > _______________________________________________ > 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 pmcguire at cguk.co.uk Mon Aug 9 07:06:59 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Mon, 9 Aug 2004 13:06:59 +0100 Subject: [Javascript] European Date Formatting? References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> Message-ID: <006d01c47e09$6024dad0$7a48a8c0@PaulsLaptop> Thanks Guys, I will let you know how I get on... ----- Original Message ----- From: "Shawn Milo" To: Sent: Monday, August 09, 2004 12:53 PM Subject: Re: [Javascript] European Date Formatting? At the top of your function: usDate = euDate.replace(/^(\d+)\/(\d+)\/(\d+)$/, '$2/$1/$3'); Shawn > Hi ALL, > > I need to work out the number of days between two dates. However if I pass > 01/02/02 into the below script it insists on working out a difference using > the date 2nd Jan 02 but as far as I am concerned (and millions of others) > the above date is infact 1st Feb 02. I have tried laterdate.toLocaleString() > but this does not seem to have any effect whatsoever. How am I meant to > force JavaScript to accept European formatted dates? > > My Code: > > var difference = laterdate.getTime() - earlierdate.getTime(); > > var daysDifference = Math.floor(difference/1000/60/60/24); > difference -= daysDifference*1000*60*60*24 > var hoursDifference = Math.floor(difference/1000/60/60); > difference -= hoursDifference*1000*60*60 > var minutesDifference = Math.floor(difference/1000/60); > difference -= minutesDifference*1000*60 > var secondsDifference = Math.floor(difference/1000); > > _______________________________________________ > 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 flavio at economisa.com.br Mon Aug 9 07:23:00 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Mon, 09 Aug 2004 09:23:00 -0300 Subject: OT: PVT: [Javascript] European Date Formatting? In-Reply-To: References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br> <41140125.5020806@economisa.com.br> <003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> Message-ID: <41176CA4.2090407@economisa.com.br> This message is PVT. Yes, I saw a RegExp, that's the old'good Milo... heheheheheh =] Shawn Milo wrote: >At the top of your function: > >usDate = euDate.replace(/^(\d+)\/(\d+)\/(\d+)$/, '$2/$1/$3'); > >Shawn > > > > > >>Hi ALL, >> >>I need to work out the number of days between two dates. However if I pass >>01/02/02 into the below script it insists on working out a difference using >>the date 2nd Jan 02 but as far as I am concerned (and millions of others) >>the above date is infact 1st Feb 02. I have tried laterdate.toLocaleString() >>but this does not seem to have any effect whatsoever. How am I meant to >>force JavaScript to accept European formatted dates? >> >>My Code: >> >>var difference = laterdate.getTime() - earlierdate.getTime(); >> >> var daysDifference = Math.floor(difference/1000/60/60/24); >> difference -= daysDifference*1000*60*60*24 >> var hoursDifference = Math.floor(difference/1000/60/60); >> difference -= hoursDifference*1000*60*60 >> var minutesDifference = Math.floor(difference/1000/60); >> difference -= minutesDifference*1000*60 >> var secondsDifference = Math.floor(difference/1000); >> >>_______________________________________________ >>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 dev at qroute.net Mon Aug 9 14:10:00 2004 From: dev at qroute.net (dev at qroute.net) Date: Mon, 9 Aug 2004 12:10:00 -0700 Subject: [Javascript] Creating a division on the fly References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop> Message-ID: <029901c47e44$77ec3060$0e859bcf@mustafa> Is it possible to create a division on the fly by clicking on a button and then start dragging that newly created division within the page ? From trojani2000 at hotmail.com Mon Aug 9 17:15:53 2004 From: trojani2000 at hotmail.com (Troy III Ajnej) Date: Tue, 10 Aug 2004 00:15:53 +0200 Subject: [Javascript] Creating a division on the fly Message-ID: Yes >From: >Reply-To: "[JavaScript List]" >To: "[JavaScript List]" >Subject: [Javascript] Creating a division on the fly >Date: Mon, 9 Aug 2004 12:10:00 -0700 > >Is it possible to create a division on the fly by clicking on a button and >then start dragging that newly created division within the page ? > >_______________________________________________ >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 dev at qroute.net Mon Aug 9 17:43:49 2004 From: dev at qroute.net (dev at qroute.net) Date: Mon, 9 Aug 2004 15:43:49 -0700 Subject: [Javascript] Creating a division on the fly References: Message-ID: <033701c47e62$5637f8a0$0e859bcf@mustafa> Could you point to some references as to what the code snippet would be ? Thank you ----- Original Message ----- From: "Troy III Ajnej" To: Sent: Monday, August 09, 2004 3:15 PM Subject: RE: [Javascript] Creating a division on the fly > Yes > > > >From: > >Reply-To: "[JavaScript List]" > >To: "[JavaScript List]" > >Subject: [Javascript] Creating a division on the fly > >Date: Mon, 9 Aug 2004 12:10:00 -0700 > > > >Is it possible to create a division on the fly by clicking on a button and > >then start dragging that newly created division within the page ? > > > >_______________________________________________ > >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 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From a1_uchat at yahoo.com Tue Aug 10 00:01:32 2004 From: a1_uchat at yahoo.com (AMIT UCHAT) Date: Mon, 9 Aug 2004 22:01:32 -0700 (PDT) Subject: [Javascript] Creating a division on the fly In-Reply-To: <033701c47e62$5637f8a0$0e859bcf@mustafa> Message-ID: <20040810050132.75090.qmail@web52805.mail.yahoo.com> --- --- dev at qroute.net wrote: Could you point to some references as to what the code snippet would be ? Thank you ----- Original Message ----- From: "Troy III Ajnej" To: Sent: Monday, August 09, 2004 3:15 PM Subject: RE: [Javascript] Creating a division on the fly > Yes > > > >From: > >Reply-To: "[JavaScript List]" > >To: "[JavaScript List]" > >Subject: [Javascript] Creating a division on the fly > >Date: Mon, 9 Aug 2004 12:10:00 -0700 > > > >Is it possible to create a division on the fly by clicking on a button and > >then start dragging that newly created division within the page ? > > > >_______________________________________________ > >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 > > _______________________________________________ > 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 --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From a1_uchat at yahoo.com Tue Aug 10 00:04:35 2004 From: a1_uchat at yahoo.com (AMIT UCHAT) Date: Mon, 9 Aug 2004 22:04:35 -0700 (PDT) Subject: [Javascript] Creating a division on the fly In-Reply-To: <20040810050132.75090.qmail@web52805.mail.yahoo.com> Message-ID: <20040810050435.49525.qmail@web52809.mail.yahoo.com> dev at qroute.net wrote: Could you point to some references as to what the code snippet would be ? Thank you ----- Original Message ----- From: "Troy III Ajnej" To: Sent: Monday, August 09, 2004 3:15 PM Subject: RE: [Javascript] Creating a division on the fly > Yes > > > >From: > >Reply-To: "[JavaScript List]" > >To: "[JavaScript List]" > >Subject: [Javascript] Creating a division on the fly > >Date: Mon, 9 Aug 2004 12:10:00 -0700 > > > >Is it possible to create a division on the fly by clicking on a button and > >then start dragging that newly created division within the page ? > > > >_______________________________________________ > >Javascri pt 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 > > _______________________________________________ > 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 --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!_______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From javascript at mattbarton.org Tue Aug 10 04:17:07 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 10:17:07 +0100 Subject: [Javascript] Creating a division on the fly References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop> <029901c47e44$77ec3060$0e859bcf@mustafa> Message-ID: <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> Morning. Was frustrated to see one-word/one-line replies to your query, so I took a moment to knock up a quick demo for you (attached). Its very simple, and won't do exactly what you want, but its something you can use as a start and adapt to your needs. Hopefully I've understood your brief correctly; If not, please shout and we'll look at something more suitable. Quick disclaimer: I've tested this in IE6/Win, and although I'm not aware of any IE specific stuff that I've used, I would want to bet the mortgage on cross-browser compatibility. One of the more clued up subscribers to the group can hopefully comment on any heinous IE crimes I've commited ;) Another quick disclaimer: I really did throw this together very quickly, so please don't use this code as any guidelines for good practice. Anyone with any great desire to pick holes in my code can do so at their leisure, as I'm sure I've provided you with enough scope. Matt (28 days worth of rain in 18 hours... in July ... I love England.) ----- Original Message ----- From: To: "[JavaScript List]" Sent: Monday, August 09, 2004 8:10 PM Subject: [Javascript] Creating a division on the fly > Is it possible to create a division on the fly by clicking on a button and > then start dragging that newly created division within the page ? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From javascript at mattbarton.org Tue Aug 10 04:19:59 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 10:19:59 +0100 Subject: [Javascript] Creating a division on the fly References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa> <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> Message-ID: <006401c47ebb$359b2280$2399a8c0@selima.co.uk> > I'm not aware of any IE specific stuff that I've used, but I would > want to bet the mortgage on cross-browser compatibility. WOULDN'T. I wouldn't want to bet the mortgage. From javascript at mattbarton.org Tue Aug 10 05:23:44 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 11:23:44 +0100 Subject: [Javascript] Creating a division on the fly References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa> <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> Message-ID: <009f01c47ec4$1de4a4f0$2399a8c0@selima.co.uk> > (28 days worth of rain in 18 hours... in July ... I love England.) Ahem... August. ----- Original Message ----- From: To: "[JavaScript List]" Sent: Monday, August 09, 2004 8:10 PM Subject: [Javascript] Creating a division on the fly > Is it possible to create a division on the fly by clicking on a button and > then start dragging that newly created division within the page ? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From hakan at backbase.com Tue Aug 10 05:43:14 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Tue, 10 Aug 2004 12:43:14 +0200 Subject: [Javascript] OT: Weather reports In-Reply-To: <009f01c47ec4$1de4a4f0$2399a8c0@selima.co.uk> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa> <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> <009f01c47ec4$1de4a4f0$2399a8c0@selima.co.uk> Message-ID: <4118A6C2.7040400@backbase.com> It's boiling in Amsterdam. Too hot to think straight, and it's been like this for weeks already. As a nice bonus, sunlight is dead on all over my back the entire afternoon every day. But I have a fan, and as soon as I get me a screencap I'll be able to see what I'm working on too. Matt Barton wrote: >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > Ahem... > > August. > > > ----- Original Message ----- > From: > To: "[JavaScript List]" > Sent: Monday, August 09, 2004 8:10 PM > Subject: [Javascript] Creating a division on the fly > > > >>Is it possible to create a division on the fly by clicking on a button and >>then start dragging that newly created division within the page ? >> >>_______________________________________________ >>Javascript mailing list >>Javascript at LaTech.edu >>https://lists.LaTech.edu/mailman/listinfo/javascript >> >>-- >>This email has been verified as Virus free >>Virus Protection and more available at http://www.plus.net > > > From ShawnMilo at runbox.com Tue Aug 10 06:27:57 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 10 Aug 2004 07:27:57 -0400 (EDT) Subject: [Javascript] OT: Weather reports In-Reply-To: <4118A6C2.7040400@backbase.com> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa> <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> <009f01c47ec4$1de4a4f0$2399a8c0@selima.co.uk> <4118A6C2.7040400@backbase.com> Message-ID: I'm jealous -- of the weather in England. I prefer grey weather. I may move there someday. Shawn (east coast US) > It's boiling in Amsterdam. Too hot to think straight, and it's been like > this for weeks already. As a nice bonus, sunlight is dead on all over my > back the entire afternoon every day. > > But I have a fan, and as soon as I get me a screencap I'll be able to > see what I'm working on too. > > Matt Barton wrote: > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > Ahem... > > > > August. > > > > > > ----- Original Message ----- > > From: > > To: "[JavaScript List]" > > Sent: Monday, August 09, 2004 8:10 PM > > Subject: [Javascript] Creating a division on the fly > > > > > > > >>Is it possible to create a division on the fly by clicking on a button and > >>then start dragging that newly created division within the page ? > >> > >>_______________________________________________ > >>Javascript mailing list > >>Javascript at LaTech.edu > >>https://lists.LaTech.edu/mailman/listinfo/javascript > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From pmcguire at cguk.co.uk Tue Aug 10 06:31:43 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Tue, 10 Aug 2004 12:31:43 +0100 Subject: [Javascript] OT: Weather reports References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><004401c47eba$cf5186e0$2399a8c0@selima.co.uk><009f01c47ec4$1de4a4f0$2399a8c0@selima.co.uk><4118A6C2.7040400@backbase.com> Message-ID: <00bd01c47ecd$9cea4210$7a48a8c0@PaulsLaptop> you may think that but you would soon change your mind when every bbq you are invited to or organise gets rained off. BBQ's using the Oven get very boring! ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 12:27 PM Subject: Re: [Javascript] OT: Weather reports I'm jealous -- of the weather in England. I prefer grey weather. I may move there someday. Shawn (east coast US) > It's boiling in Amsterdam. Too hot to think straight, and it's been like > this for weeks already. As a nice bonus, sunlight is dead on all over my > back the entire afternoon every day. > > But I have a fan, and as soon as I get me a screencap I'll be able to > see what I'm working on too. > > Matt Barton wrote: > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > Ahem... > > > > August. > > > > > > ----- Original Message ----- > > From: > > To: "[JavaScript List]" > > Sent: Monday, August 09, 2004 8:10 PM > > Subject: [Javascript] Creating a division on the fly > > > > > > > >>Is it possible to create a division on the fly by clicking on a button and > >>then start dragging that newly created division within the page ? > >> > >>_______________________________________________ > >>Javascript mailing list > >>Javascript at LaTech.edu > >>https://lists.LaTech.edu/mailman/listinfo/javascript > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > > > > > > > _______________________________________________ > 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 ScottHam at clientlogic.com Tue Aug 10 06:34:19 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Tue, 10 Aug 2004 07:34:19 -0400 Subject: [Javascript] OT: Weather reports Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B849FA@L001N14> Hence the reason why tents exist. :P -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire Sent: Tuesday, August 10, 2004 7:32 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Weather reports you may think that but you would soon change your mind when every bbq you are invited to or organise gets rained off. BBQ's using the Oven get very boring! ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 12:27 PM Subject: Re: [Javascript] OT: Weather reports I'm jealous -- of the weather in England. I prefer grey weather. I may move there someday. Shawn (east coast US) > It's boiling in Amsterdam. Too hot to think straight, and it's been like > this for weeks already. As a nice bonus, sunlight is dead on all over my > back the entire afternoon every day. > > But I have a fan, and as soon as I get me a screencap I'll be able to > see what I'm working on too. > > Matt Barton wrote: > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > Ahem... > > > > August. > > > > > > ----- Original Message ----- > > From: > > To: "[JavaScript List]" > > Sent: Monday, August 09, 2004 8:10 PM > > Subject: [Javascript] Creating a division on the fly > > > > > > > >>Is it possible to create a division on the fly by clicking on a button and > >>then start dragging that newly created division within the page ? > >> > >>_______________________________________________ > >>Javascript mailing list > >>Javascript at LaTech.edu > >>https://lists.LaTech.edu/mailman/listinfo/javascript > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > > > > > > > _______________________________________________ > 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 From ShawnMilo at runbox.com Tue Aug 10 06:49:38 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 10 Aug 2004 07:49:38 -0400 (EDT) Subject: [Javascript] OT: Weather reports In-Reply-To: <48A8BDD0DC72F3458A713242E3848AAD07B849FA@L001N14> References: <48A8BDD0DC72F3458A713242E3848AAD07B849FA@L001N14> Message-ID: I'm not much of a BBQ person. I prefer reading while enjoying a nice hot cup of tea with cream and sugar while it rains. :o) Shawn > Hence the reason why tents exist. :P > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > Sent: Tuesday, August 10, 2004 7:32 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Weather reports > > > you may think that but you would soon change your mind when every bbq you > are invited to or organise gets rained off. BBQ's using the Oven get very > boring! > > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:27 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > move there someday. > > Shawn > (east coast US) > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > back the entire afternoon every day. > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > see what I'm working on too. > > > > Matt Barton wrote: > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > Ahem... > > > > > > August. > > > > > > > > > ----- Original Message ----- > > > From: > > > To: "[JavaScript List]" > > > Sent: Monday, August 09, 2004 8:10 PM > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > and > > >>then start dragging that newly created division within the page ? > > >> > > >>_______________________________________________ > > >>Javascript mailing list > > >>Javascript at LaTech.edu > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > >> > > >>-- > > >>This email has been verified as Virus free > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > _______________________________________________ > > 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 > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From javascript at mattbarton.org Tue Aug 10 06:53:33 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 12:53:33 +0100 Subject: [Javascript] OT: Beverages (was Weather Reports) References: <48A8BDD0DC72F3458A713242E3848AAD07B849FA@L001N14> Message-ID: <00ef01c47ed0$aba79340$2399a8c0@selima.co.uk> Cream in coffee, *milk* in tea. Cream in tea makes it too rich. Alternatively, neither in tea, but a slice of lemon instead. If that floats your boat. Matt ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 12:49 PM Subject: Re: [Javascript] OT: Weather reports I'm not much of a BBQ person. I prefer reading while enjoying a nice hot cup of tea with cream and sugar while it rains. :o) Shawn > Hence the reason why tents exist. :P > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > Sent: Tuesday, August 10, 2004 7:32 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Weather reports > > > you may think that but you would soon change your mind when every bbq you > are invited to or organise gets rained off. BBQ's using the Oven get very > boring! > > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:27 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > move there someday. > > Shawn > (east coast US) > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > back the entire afternoon every day. > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > see what I'm working on too. > > > > Matt Barton wrote: > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > Ahem... > > > > > > August. > > > > > > > > > ----- Original Message ----- > > > From: > > > To: "[JavaScript List]" > > > Sent: Monday, August 09, 2004 8:10 PM > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > and > > >>then start dragging that newly created division within the page ? > > >> > > >>_______________________________________________ > > >>Javascript mailing list > > >>Javascript at LaTech.edu > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > >> > > >>-- > > >>This email has been verified as Virus free > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > _______________________________________________ > > 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 > _______________________________________________ > 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 -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net From javascript at mattbarton.org Tue Aug 10 06:57:19 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 12:57:19 +0100 Subject: [Javascript] OT: Beverages (was Weather Reports) References: <48A8BDD0DC72F3458A713242E3848AAD07B849FC@L001N14> Message-ID: <00ff01c47ed1$30a375a0$2399a8c0@selima.co.uk> Now you're talking.... ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 12:58 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Honey in HOT Tea, soothes my worn out and tired throat. > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > Sent: Tuesday, August 10, 2004 7:54 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > Alternatively, neither in tea, but a slice of lemon instead. If that floats > your boat. > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:49 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice hot > cup of tea with cream and sugar while it rains. :o) > > Shawn > > > > > Hence the reason why tents exist. :P > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 7:32 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Weather reports > > > > > > you may think that but you would soon change your mind when every bbq you > > are invited to or organise gets rained off. BBQ's using the Oven get very > > boring! > > > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:27 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > > move there someday. > > > > Shawn > > (east coast US) > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > > back the entire afternoon every day. > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > > see what I'm working on too. > > > > > > Matt Barton wrote: > > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > > > > Ahem... > > > > > > > > August. > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: "[JavaScript List]" > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > > and > > > >>then start dragging that newly created division within the page ? > > > >> > > > >>_______________________________________________ > > > >>Javascript mailing list > > > >>Javascript at LaTech.edu > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > >> > > > >>-- > > > >>This email has been verified as Virus free > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From ScottHam at clientlogic.com Tue Aug 10 06:58:53 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Tue, 10 Aug 2004 07:58:53 -0400 Subject: [Javascript] OT: Beverages (was Weather Reports) Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B849FC@L001N14> Honey in HOT Tea, soothes my worn out and tired throat. -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton Sent: Tuesday, August 10, 2004 7:54 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Beverages (was Weather Reports) Cream in coffee, *milk* in tea. Cream in tea makes it too rich. Alternatively, neither in tea, but a slice of lemon instead. If that floats your boat. Matt ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 12:49 PM Subject: Re: [Javascript] OT: Weather reports I'm not much of a BBQ person. I prefer reading while enjoying a nice hot cup of tea with cream and sugar while it rains. :o) Shawn > Hence the reason why tents exist. :P > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > Sent: Tuesday, August 10, 2004 7:32 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Weather reports > > > you may think that but you would soon change your mind when every bbq you > are invited to or organise gets rained off. BBQ's using the Oven get very > boring! > > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:27 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > move there someday. > > Shawn > (east coast US) > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > back the entire afternoon every day. > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > see what I'm working on too. > > > > Matt Barton wrote: > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > Ahem... > > > > > > August. > > > > > > > > > ----- Original Message ----- > > > From: > > > To: "[JavaScript List]" > > > Sent: Monday, August 09, 2004 8:10 PM > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > and > > >>then start dragging that newly created division within the page ? > > >> > > >>_______________________________________________ > > >>Javascript mailing list > > >>Javascript at LaTech.edu > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > >> > > >>-- > > >>This email has been verified as Virus free > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > _______________________________________________ > > 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 > _______________________________________________ > 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 -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From pmcguire at cguk.co.uk Tue Aug 10 07:00:44 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Tue, 10 Aug 2004 13:00:44 +0100 Subject: [Javascript] OT: Beverages (was Weather Reports) References: <48A8BDD0DC72F3458A713242E3848AAD07B849FC@L001N14> Message-ID: <00d401c47ed1$aa63ac20$7a48a8c0@PaulsLaptop> maybe its just me but I prefer a cold beer :) ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 12:58 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Honey in HOT Tea, soothes my worn out and tired throat. > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > Sent: Tuesday, August 10, 2004 7:54 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > Alternatively, neither in tea, but a slice of lemon instead. If that floats > your boat. > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:49 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice hot > cup of tea with cream and sugar while it rains. :o) > > Shawn > > > > > Hence the reason why tents exist. :P > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 7:32 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Weather reports > > > > > > you may think that but you would soon change your mind when every bbq you > > are invited to or organise gets rained off. BBQ's using the Oven get very > > boring! > > > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:27 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > > move there someday. > > > > Shawn > > (east coast US) > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > > back the entire afternoon every day. > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > > see what I'm working on too. > > > > > > Matt Barton wrote: > > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > > > > Ahem... > > > > > > > > August. > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: "[JavaScript List]" > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > > and > > > >>then start dragging that newly created division within the page ? > > > >> > > > >>_______________________________________________ > > > >>Javascript mailing list > > > >>Javascript at LaTech.edu > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > >> > > > >>-- > > > >>This email has been verified as Virus free > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > 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 ScottHam at clientlogic.com Tue Aug 10 07:01:47 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Tue, 10 Aug 2004 08:01:47 -0400 Subject: [Javascript] OT: Beverages (was Weather Reports) Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B849FD@L001N14> Yep, (looking at my own coffee, darn....) -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton Sent: Tuesday, August 10, 2004 7:57 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Beverages (was Weather Reports) Now you're talking.... ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 12:58 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Honey in HOT Tea, soothes my worn out and tired throat. > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > Sent: Tuesday, August 10, 2004 7:54 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > Alternatively, neither in tea, but a slice of lemon instead. If that floats > your boat. > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:49 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice hot > cup of tea with cream and sugar while it rains. :o) > > Shawn > > > > > Hence the reason why tents exist. :P > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 7:32 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Weather reports > > > > > > you may think that but you would soon change your mind when every bbq you > > are invited to or organise gets rained off. BBQ's using the Oven get very > > boring! > > > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:27 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > > move there someday. > > > > Shawn > > (east coast US) > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > > back the entire afternoon every day. > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > > see what I'm working on too. > > > > > > Matt Barton wrote: > > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > > > > Ahem... > > > > > > > > August. > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: "[JavaScript List]" > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > > and > > > >>then start dragging that newly created division within the page ? > > > >> > > > >>_______________________________________________ > > > >>Javascript mailing list > > > >>Javascript at LaTech.edu > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > >> > > > >>-- > > > >>This email has been verified as Virus free > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From ScottHam at clientlogic.com Tue Aug 10 07:02:28 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Tue, 10 Aug 2004 08:02:28 -0400 Subject: [Javascript] OT: Beverages (was Weather Reports) Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B849FE@L001N14> lol, probably Mountain Dew Amp... -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire Sent: Tuesday, August 10, 2004 8:01 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Beverages (was Weather Reports) maybe its just me but I prefer a cold beer :) ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 12:58 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Honey in HOT Tea, soothes my worn out and tired throat. > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > Sent: Tuesday, August 10, 2004 7:54 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > Alternatively, neither in tea, but a slice of lemon instead. If that floats > your boat. > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:49 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice hot > cup of tea with cream and sugar while it rains. :o) > > Shawn > > > > > Hence the reason why tents exist. :P > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 7:32 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Weather reports > > > > > > you may think that but you would soon change your mind when every bbq you > > are invited to or organise gets rained off. BBQ's using the Oven get very > > boring! > > > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:27 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > > move there someday. > > > > Shawn > > (east coast US) > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > > back the entire afternoon every day. > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > > see what I'm working on too. > > > > > > Matt Barton wrote: > > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > > > > Ahem... > > > > > > > > August. > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: "[JavaScript List]" > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > > and > > > >>then start dragging that newly created division within the page ? > > > >> > > > >>_______________________________________________ > > > >>Javascript mailing list > > > >>Javascript at LaTech.edu > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > >> > > > >>-- > > > >>This email has been verified as Virus free > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > 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 From spindrift at oceanfree.net Tue Aug 10 07:17:21 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Tue, 10 Aug 2004 13:17:21 +0100 Subject: [Javascript] OT: Weather reports References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><004401c47eba$cf5186e0$2399a8c0@selima.co.uk><009f01c47ec4$1de4a4f0$2399a8c0@selima.co.uk><4118A6C2.7040400@backbase.com> Message-ID: <003a01c47ed3$ff7874a0$08a802d4@ic7g> Try Ireland, then - we have the patent on grey weather. No property tax in the countryside, either ! Tim in Ireland. ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 12:27 PM Subject: Re: [Javascript] OT: Weather reports I'm jealous -- of the weather in England. I prefer grey weather. I may move there someday. Shawn (east coast US) > It's boiling in Amsterdam. Too hot to think straight, and it's been like > this for weeks already. As a nice bonus, sunlight is dead on all over my > back the entire afternoon every day. > > But I have a fan, and as soon as I get me a screencap I'll be able to > see what I'm working on too. > > Matt Barton wrote: > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > Ahem... > > > > August. > > > > > > ----- Original Message ----- > > From: > > To: "[JavaScript List]" > > Sent: Monday, August 09, 2004 8:10 PM > > Subject: [Javascript] Creating a division on the fly > > > > > > > >>Is it possible to create a division on the fly by clicking on a button and > >>then start dragging that newly created division within the page ? > >> > >>_______________________________________________ > >>Javascript mailing list > >>Javascript at LaTech.edu > >>https://lists.LaTech.edu/mailman/listinfo/javascript > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > > > > > > > _______________________________________________ > 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 ShawnMilo at runbox.com Tue Aug 10 07:21:41 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 10 Aug 2004 08:21:41 -0400 (EDT) Subject: [Javascript] Open Mozilla or Firefox tabs? Message-ID: I'm pretty sure that this has been answered in the negative in the past -- either here or in some newsgroup I was searching through. But hope spings eternal! I would really like to be able to use JS to make a link which opens a new tab in Mozilla or Firefox when clicked, instead of having only the option to replace the current page or open a new window (IE style). Tabbed browsing is such a convenience to use -- something like this would make it even better. Does someone in the group know the magic words? Shawn From Mark.Roberts at Williams.com Tue Aug 10 07:21:47 2004 From: Mark.Roberts at Williams.com (Roberts, Mark (Tulsa)) Date: Tue, 10 Aug 2004 07:21:47 -0500 Subject: [Javascript] OT: Beverages (was Weather Reports) Message-ID: <57485DA54254874FA9BED6128021374004F2F2AD@wmstutem04.WILLIAMS.COM> Well here in Okla, we are used to just puttin' up our dogs and throwin' back a Miller. The weather here the last couple of months though has everyone really freaked out............Usual high temp is 97-98 with occasional spiking to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. We don't know what is going on here. Everyone is blamin' everyone else, but no one can come up with an answer. Mark Roberts Sr. Systems Analyst -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm Sent: Tuesday, August 10, 2004 7:02 AM To: '[JavaScript List]' Subject: RE: [Javascript] OT: Beverages (was Weather Reports) lol, probably Mountain Dew Amp... -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire Sent: Tuesday, August 10, 2004 8:01 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Beverages (was Weather Reports) maybe its just me but I prefer a cold beer :) ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 12:58 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Honey in HOT Tea, soothes my worn out and tired throat. > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > Sent: Tuesday, August 10, 2004 7:54 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > Alternatively, neither in tea, but a slice of lemon instead. If that floats > your boat. > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:49 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice hot > cup of tea with cream and sugar while it rains. :o) > > Shawn > > > > > Hence the reason why tents exist. :P > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 7:32 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Weather reports > > > > > > you may think that but you would soon change your mind when every bbq you > > are invited to or organise gets rained off. BBQ's using the Oven get very > > boring! > > > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:27 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > > move there someday. > > > > Shawn > > (east coast US) > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > > back the entire afternoon every day. > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > > see what I'm working on too. > > > > > > Matt Barton wrote: > > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > > > > Ahem... > > > > > > > > August. > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: "[JavaScript List]" > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > > and > > > >>then start dragging that newly created division within the page ? > > > >> > > > >>_______________________________________________ > > > >>Javascript mailing list > > > >>Javascript at LaTech.edu > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > >> > > > >>-- > > > >>This email has been verified as Virus free > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > 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 _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From flavio at economisa.com.br Tue Aug 10 07:27:29 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Tue, 10 Aug 2004 09:27:29 -0300 Subject: [Javascript] Creating a division on the fly In-Reply-To: <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop><006801c47e09$4b143f00$7a48a8c0@PaulsLaptop> <029901c47e44$77ec3060$0e859bcf@mustafa> <004401c47eba$cf5186e0$2399a8c0@selima.co.uk> Message-ID: <4118BF31.1070404@economisa.com.br> Matt Barton wrote: >Morning. > > > Morning! >Quick disclaimer: I've tested this in IE6/Win, and although I'm not aware of >any IE specific stuff that I've used, I would want to bet the mortgage on >cross-browser compatibility. One of the more clued up subscribers to the >group can hopefully comment on any heinous IE crimes I've commited ;) > > This /clued up/ guy would be Hakan, but I'll try to fix it: On Mozilla FireFox there are two changes needed: * Your reference to /oSomeObject/ is invalid, so you should define it before using: oSomeObject = document.getElementById("oSomeObject"); (and this line should come after oSomeObject appearing on the HTML, so I moved all the script to the end of the document.) (I think that IE won't allow this, so we should use some other variable name.. like oObject.) * And the /event object/ need to be declared in order to be used on the /fMouseMove/ function: function fMouseMove (event) { (...) } Regards, --- Flavio Gomes flavio at economisa.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: From flavio at economisa.com.br Tue Aug 10 07:50:48 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Tue, 10 Aug 2004 09:50:48 -0300 Subject: [Javascript] Open Mozilla or Firefox tabs? In-Reply-To: References: Message-ID: <4118C4A8.9010400@economisa.com.br> Shawn Milo wrote: >I'm pretty sure that this has been answered in the negative in the past -- either here or in some newsgroup I was searching through. But hope spings eternal! > >I would really like to be able to use JS to make a link which opens a new tab in Mozilla or Firefox when clicked, instead of having only the option to replace the current page or open a new window (IE style). Tabbed browsing is such a convenience to use -- something like this would make it even better. > >Does someone in the group know the magic words? > >Shawn > > Shawn, I searched a bit.. but... T.T could'nt find.. Tough I found that you may middle button click the links, or set in your preferences to always open new windows on tabs. Regards, --- Flavio Gomes flavio at economisa.com.br From ShawnMilo at runbox.com Tue Aug 10 07:55:27 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 10 Aug 2004 08:55:27 -0400 (EDT) Subject: [Javascript] Open Mozilla or Firefox tabs? In-Reply-To: <4118C4A8.9010400@economisa.com.br> References: <4118C4A8.9010400@economisa.com.br> Message-ID: I was afraid of that. I'm already doing the things you mentioned, but I'd like to take it one step further. Thanks for the confirmation, though. I suppose that's something which we'd have to harass the Mozilla foundation about, huh? Shawn > Shawn Milo wrote: > > >I'm pretty sure that this has been answered in the negative in the past -- either here or in some newsgroup I was searching through. But hope spings eternal! > > > >I would really like to be able to use JS to make a link which opens a new tab in Mozilla or Firefox when clicked, instead of having only the option to replace the current page or open a new window (IE style). Tabbed browsing is such a convenience to use -- something like this would make it even better. > > > >Does someone in the group know the magic words? > > > >Shawn > > > > > Shawn, I searched a bit.. but... T.T could'nt find.. > Tough I found that you may middle button click the links, or set in > your preferences to always open new windows on tabs. > > Regards, > > --- > Flavio Gomes > flavio at economisa.com.br > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From hakan at backbase.com Tue Aug 10 08:09:23 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Tue, 10 Aug 2004 15:09:23 +0200 Subject: [Javascript] Open Mozilla or Firefox tabs? In-Reply-To: <4118C4A8.9010400@economisa.com.br> References: <4118C4A8.9010400@economisa.com.br> Message-ID: <4118C903.1030506@backbase.com> > Tough I found that you may middle button click the links, or set in > your preferences to always open new windows on tabs. There is a way to open a new tab through scripting in Mozilla, or at least I would be willing to bet my mortgage on it, my credit history permitted. The Web Developer Toolbar extension for Firefox open new pages in tabs (for validation, among other things) and AFAIK it's all XUL. I don't know and I don't have the time right now to figure out exactly how this can be done, but I'm guessing that rather than specifying target="_tab" or so you would need to first create a new tab (through JavaScript) and then set the location of that tab to your new page. Now, assuming that someone figures this tab-detail out, the only thing left would be to implement it in some degradable manner. Something like this should be executed when the page has finished loading: --- var aLinks = document.getElementsByTagName('a'); for(var j=0; j < aLinks.length; aLinks++) { if(aLinks[j].getAttribute('target') == '_blank') { // replace links that open in a new window // so that they open in new tabs aLinks[j].onclick = function() { var sHref = this.getAttribute('href'); var oTab = new Tab(); // Or whatever... oTab.location = sHref; return false; } } } --- In theory, this will run over all -tags, check if they are targeted to open in a new window and if so, applies a custom onclick event that creates a new tab and sets the location. The function then returns 'false', blocking the link from being fired. If you DO find a method to scriptically create tabs please, please post it here. :) Regards, H From allard-schripsema at procergs.rs.gov.br Tue Aug 10 08:21:19 2004 From: allard-schripsema at procergs.rs.gov.br (Allard Schripsema) Date: Tue, 10 Aug 2004 10:21:19 -0300 Subject: RES: [Javascript] OT: Weather reports In-Reply-To: <00bd01c47ecd$9cea4210$7a48a8c0@PaulsLaptop> Message-ID: Well The winter weather here in the south of Brazil has its charms too: One day its 35 degrees celcius and two days later its 4 degrees! About the bbq, here people use something that is a kind of pan with a hole in the middle (so the heat gets in) and a little grill at about 5 cms from the bottom of the pan. Just put the meat inside and let it cook (on a gas-stove), it tastes quite the same! Allard Porto Alegre - Brasil -----Mensagem original----- De: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]Em nome de Paul McGuire Enviada em: ter?a-feira, 10 de agosto de 2004 08:32 Para: [JavaScript List] Assunto: Re: [Javascript] OT: Weather reports you may think that but you would soon change your mind when every bbq you are invited to or organise gets rained off. BBQ's using the Oven get very boring! ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 12:27 PM Subject: Re: [Javascript] OT: Weather reports I'm jealous -- of the weather in England. I prefer grey weather. I may move there someday. Shawn (east coast US) > It's boiling in Amsterdam. Too hot to think straight, and it's been like > this for weeks already. As a nice bonus, sunlight is dead on all over my > back the entire afternoon every day. > > But I have a fan, and as soon as I get me a screencap I'll be able to > see what I'm working on too. > > Matt Barton wrote: > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > Ahem... > > > > August. > > > > > > ----- Original Message ----- > > From: > > To: "[JavaScript List]" > > Sent: Monday, August 09, 2004 8:10 PM > > Subject: [Javascript] Creating a division on the fly > > > > > > > >>Is it possible to create a division on the fly by clicking on a button and > >>then start dragging that newly created division within the page ? > >> > >>_______________________________________________ > >>Javascript mailing list > >>Javascript at LaTech.edu > >>https://lists.LaTech.edu/mailman/listinfo/javascript > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > > > > > > > _______________________________________________ > 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 From pmcguire at cguk.co.uk Tue Aug 10 09:00:40 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Tue, 10 Aug 2004 15:00:40 +0100 Subject: [Javascript] Script Debugger References: <4118C4A8.9010400@economisa.com.br> <4118C903.1030506@backbase.com> Message-ID: <003401c47ee2$6bd58300$7a48a8c0@PaulsLaptop> On my old development machine if a Javascript error occured I had the choice to load a debugger and it would take me to the error. This no longer happens on my new XP machine and I have been through the settings for IE but cant get this feature to come back. It was really useful how do I get it back? Paul From javascript at mattbarton.org Tue Aug 10 09:01:10 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 15:01:10 +0100 Subject: [Javascript] Script Debugger References: <4118C4A8.9010400@economisa.com.br><4118C903.1030506@backbase.com> <003401c47ee2$6bd58300$7a48a8c0@PaulsLaptop> Message-ID: <016601c47ee2$7f9052d0$2399a8c0@selima.co.uk> I don't know the exact answer, however I have been in your situation, and the solution for me was to install Microsoft Visual Studio 6. I imagine that it's some component of that. Possibly Visual InterDev? Not sure... ----- Original Message ----- From: "Paul McGuire" To: "[JavaScript List]" Sent: Tuesday, August 10, 2004 3:00 PM Subject: [Javascript] Script Debugger > On my old development machine if a Javascript error occured I had the choice > to load a debugger and it would take me to the error. This no longer happens > on my new XP machine and I have been through the settings for IE but cant > get this feature to come back. It was really useful how do I get it back? > > Paul > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From hakan at backbase.com Tue Aug 10 09:07:53 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Tue, 10 Aug 2004 16:07:53 +0200 Subject: [Javascript] Script Debugger In-Reply-To: <016601c47ee2$7f9052d0$2399a8c0@selima.co.uk> References: <4118C4A8.9010400@economisa.com.br><4118C903.1030506@backbase.com> <003401c47ee2$6bd58300$7a48a8c0@PaulsLaptop> <016601c47ee2$7f9052d0$2399a8c0@selima.co.uk> Message-ID: <4118D6B9.70903@backbase.com> There's also a stand alone debugger, I think you can download it from Microsoft (for free!!!) but it's not very good, sometimes I have errors on column 35321, line 63432112549... It features stack trace etc, however, so it's not completely useless. Once again I'm shit out of links. Use Venkman, problem solved. ;) Regards, H Matt Barton wrote: > I don't know the exact answer, however I have been in your situation, and > the solution for me was to install Microsoft Visual Studio 6. I imagine > that it's some component of that. Possibly Visual InterDev? Not sure... > > ----- Original Message ----- > From: "Paul McGuire" > To: "[JavaScript List]" > Sent: Tuesday, August 10, 2004 3:00 PM > Subject: [Javascript] Script Debugger > > > >>On my old development machine if a Javascript error occured I had the > > choice > >>to load a debugger and it would take me to the error. This no longer > > happens > >>on my new XP machine and I have been through the settings for IE but cant >>get this feature to come back. It was really useful how do I get it back? >> >>Paul >> >>_______________________________________________ >>Javascript mailing list >>Javascript at LaTech.edu >>https://lists.LaTech.edu/mailman/listinfo/javascript >> >>-- >>This email has been verified as Virus free >>Virus Protection and more available at http://www.plus.net > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From allard-schripsema at procergs.rs.gov.br Tue Aug 10 09:13:37 2004 From: allard-schripsema at procergs.rs.gov.br (Allard Schripsema) Date: Tue, 10 Aug 2004 11:13:37 -0300 Subject: RES: [Javascript] Script Debugger In-Reply-To: <003401c47ee2$6bd58300$7a48a8c0@PaulsLaptop> Message-ID: you must install it; Controlpanel - add/remove Programs - select windows components check script debugger click next etc.... hope that helped, Allard -----Mensagem original----- De: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]Em nome de Paul McGuire Enviada em: ter?a-feira, 10 de agosto de 2004 11:01 Para: [JavaScript List] Assunto: [Javascript] Script Debugger On my old development machine if a Javascript error occured I had the choice to load a debugger and it would take me to the error. This no longer happens on my new XP machine and I have been through the settings for IE but cant get this feature to come back. It was really useful how do I get it back? Paul _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From LaurentM at london.virgin.net Tue Aug 10 09:26:51 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Tue, 10 Aug 2004 15:26:51 +0100 Subject: [Javascript] Script Debugger Message-ID: <1A847600F409D711B52C0001FAFFF337046F62B0@vnetxu01.london.virgin.net> Hi In internet explorer in there is an option you can set it to disable script debugger Go in Tools>Internet Options> Advanced (tab) in the list off choice you should have one saying "Disable script debugging" uncheck this and restart your browser. Laurent -----Original Message----- From: Allard Schripsema [mailto:allard-schripsema at procergs.rs.gov.br] Sent: 10 August 2004 15:14 To: [JavaScript List] Subject: RES: [Javascript] Script Debugger you must install it; Controlpanel - add/remove Programs - select windows components check script debugger click next etc.... hope that helped, Allard -----Mensagem original----- De: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]Em nome de Paul McGuire Enviada em: ter?a-feira, 10 de agosto de 2004 11:01 Para: [JavaScript List] Assunto: [Javascript] Script Debugger On my old development machine if a Javascript error occured I had the choice to load a debugger and it would take me to the error. This no longer happens on my new XP machine and I have been through the settings for IE but cant get this feature to come back. It was really useful how do I get it back? Paul _______________________________________________ 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 This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From sal.perconte at verizon.net Tue Aug 10 09:46:56 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Tue, 10 Aug 2004 10:46:56 -0400 Subject: [Javascript] Help with this code Message-ID: Hi, can anyone tell me what language the code inside the square brackets belongs too the [if IE] I know what it means, but it's outside the script tags? Thanks, Sal From ShawnMilo at runbox.com Tue Aug 10 09:50:00 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 10 Aug 2004 10:50:00 -0400 (EDT) Subject: [Javascript] Help with this code In-Reply-To: References: Message-ID: This appears to just be comments, so you know what the script is doing. Shawn > Hi, > can anyone tell me what language > the code inside the square brackets > belongs too the [if IE] > I know what it means, but it's outside > the script tags? > > > > > Thanks, > Sal > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From javascript at mattbarton.org Tue Aug 10 09:53:22 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 15:53:22 +0100 Subject: [Javascript] Help with this code References: Message-ID: <01a701c47ee9$c8873380$2399a8c0@selima.co.uk> It looks to me like it might be a formatted comment of the kind used in some kind of templating engine. ----- Original Message ----- From: "Shawn Milo" To: Sent: Tuesday, August 10, 2004 3:50 PM Subject: Re: [Javascript] Help with this code This appears to just be comments, so you know what the script is doing. Shawn > Hi, > can anyone tell me what language > the code inside the square brackets > belongs too the [if IE] > I know what it means, but it's outside > the script tags? > > > > > Thanks, > Sal > > _______________________________________________ > 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 -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net From LaurentM at london.virgin.net Tue Aug 10 09:54:44 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Tue, 10 Aug 2004 15:54:44 +0100 Subject: [Javascript] Help with this code Message-ID: <1A847600F409D711B52C0001FAFFF337046F62B1@vnetxu01.london.virgin.net> Hi When IE meet this piece of comment he will then execute what is inside all the other browser will only understand this as a piece of html commented If I'm correct you can specify the version of IE as well inside like Thanks, Sal _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From rer at datacompusa.com Tue Aug 10 09:55:41 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Tue, 10 Aug 2004 10:55:41 -0400 Subject: [Javascript] Help with this code In-Reply-To: References: Message-ID: <592A4C14-EADD-11D8-A99A-00306572FCC8@datacompusa.com> Sal, On Aug 10, 2004, at 10:46 AM, Sal Perconte wrote: > Hi, > can anyone tell me what language > the code inside the square brackets > belongs too the [if IE] > I know what it means, but it's outside > the script tags? > > > The comments are ie conditional comments. It means that the styles will only be used by ie. Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From javascript at mattbarton.org Tue Aug 10 09:57:26 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 15:57:26 +0100 Subject: [Javascript] Help with this code References: <1A847600F409D711B52C0001FAFFF337046F62B1@vnetxu01.london.virgin.net> Message-ID: <01c701c47eea$5a23d000$2399a8c0@selima.co.uk> Well I never... I never knew that that existed. Since when has that been possible? Anyone know? Matt ----- Original Message ----- From: "Laurent Muchacho" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 3:54 PM Subject: RE: [Javascript] Help with this code > Hi > > When IE meet this piece of comment he will then execute what is inside > > all the other browser will only understand this as a piece of html commented > If I'm correct you can specify the version of IE as well inside like > > Thanks, > Sal > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > > This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From LaurentM at london.virgin.net Tue Aug 10 10:08:40 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Tue, 10 Aug 2004 16:08:40 +0100 Subject: [Javascript] Help with this code Message-ID: <1A847600F409D711B52C0001FAFFF337046F62B2@vnetxu01.london.virgin.net> Hi >From what I remember this as been on since IE5. Laurent -----Original Message----- From: Matt Barton [mailto:javascript at mattbarton.org] Sent: 10 August 2004 15:57 To: [JavaScript List] Subject: Re: [Javascript] Help with this code Well I never... I never knew that that existed. Since when has that been possible? Anyone know? Matt ----- Original Message ----- From: "Laurent Muchacho" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 3:54 PM Subject: RE: [Javascript] Help with this code > Hi > > When IE meet this piece of comment he will then execute what is inside > > all the other browser will only understand this as a piece of html commented > If I'm correct you can specify the version of IE as well inside like > > Thanks, > Sal > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > > This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From hakan at backbase.com Tue Aug 10 10:11:08 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Tue, 10 Aug 2004 17:11:08 +0200 Subject: [Javascript] Help with this code In-Reply-To: <592A4C14-EADD-11D8-A99A-00306572FCC8@datacompusa.com> References: <592A4C14-EADD-11D8-A99A-00306572FCC8@datacompusa.com> Message-ID: <4118E58C.2010403@backbase.com> > The comments are ie conditional comments. It means that the styles will only be used by ie. Microsoft makes me think of Mike Tyson. If you can't beat them, eat them... ^_^ From sal.perconte at verizon.net Tue Aug 10 10:12:34 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Tue, 10 Aug 2004 11:12:34 -0400 Subject: [Javascript] Regarding the [IE] Message-ID: Thank you all I just joined and already I have an answer to my first question posted. and to Matt - I never saw this code either - and wondered why I wasn't seeing it on every page - heck -IE specific styles - seems much easier than using the 'voice' hacks. Still don't even know if it works. Sal From LaurentM at london.virgin.net Tue Aug 10 10:12:51 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Tue, 10 Aug 2004 16:12:51 +0100 Subject: [Javascript] Help with this code Message-ID: <1A847600F409D711B52C0001FAFFF337046F62B3@vnetxu01.london.virgin.net> nice one -----Original Message----- From: Hakan Magnusson (Backbase) [mailto:hakan at backbase.com] Sent: 10 August 2004 16:11 To: [JavaScript List] Subject: Re: [Javascript] Help with this code > The comments are ie conditional comments. It means that the styles will only be used by ie. Microsoft makes me think of Mike Tyson. If you can't beat them, eat them... ^_^ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From hassan at webtuitive.com Tue Aug 10 10:43:47 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Tue, 10 Aug 2004 08:43:47 -0700 Subject: [Javascript] Regarding the [IE] In-Reply-To: References: Message-ID: <4118ED33.5090805@webtuitive.com> Sal Perconte wrote: > and to Matt - I never saw this > code either - and wondered why > I wasn't seeing it on every page - > heck -IE specific styles - seems > much easier than using the 'voice' > hacks. Still don't even know if > it works. Easy enough to try if you've got a Windows machine available :-) Here's a bit more explanation: FWIW! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From sal.perconte at verizon.net Tue Aug 10 10:52:38 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Tue, 10 Aug 2004 11:52:38 -0400 Subject: [Javascript] Regarding the [IE] In-Reply-To: <4118ED33.5090805@webtuitive.com> Message-ID: Hassan, Thanks again. Showing my newbie status. But, I look at a lot of other people's code and really have not seen this in wide use. Is there a reason for this ? Sal -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Hassan Schroeder Sent: Tuesday, August 10, 2004 11:44 AM To: [JavaScript List] Subject: Re: [Javascript] Regarding the [IE] Sal Perconte wrote: > and to Matt - I never saw this > code either - and wondered why > I wasn't seeing it on every page - > heck -IE specific styles - seems > much easier than using the 'voice' > hacks. Still don't even know if > it works. Easy enough to try if you've got a Windows machine available :-) Here's a bit more explanation: FWIW! -- 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/listinf o/javascript From javascript at mattbarton.org Tue Aug 10 11:00:19 2004 From: javascript at mattbarton.org (Matt Barton) Date: Tue, 10 Aug 2004 17:00:19 +0100 Subject: [Javascript] Regarding the [IE] References: Message-ID: <01f901c47ef3$226d5600$2399a8c0@selima.co.uk> I'd guess there's two reasons why you don't see it very often: #1: Some people don't know about it (that was me before today) #2: Some people plain don't like it (that is me from now on) Matt ----- Original Message ----- From: "Sal Perconte" To: "[JavaScript List]" Sent: Tuesday, August 10, 2004 4:52 PM Subject: RE: [Javascript] Regarding the [IE] > Hassan, > Thanks again. Showing my newbie > status. > But, I look at a lot of other people's > code and really have not seen this in > wide use. Is there a reason for this ? > > Sal > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On > Behalf Of Hassan Schroeder > Sent: Tuesday, August 10, 2004 11:44 AM > To: [JavaScript List] > Subject: Re: [Javascript] Regarding the > [IE] > > > Sal Perconte wrote: > > > and to Matt - I never saw this > > code either - and wondered why > > I wasn't seeing it on every page - > > heck -IE specific styles - seems > > much easier than using the 'voice' > > hacks. Still don't even know if > > it works. > > Easy enough to try if you've got a > Windows machine available :-) > > Here's a bit more explanation: > > or/dhtml/overview/ccomment_ovw.asp> > > FWIW! > -- > 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/listinf > o/javascript > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From a1_uchat at yahoo.com Tue Aug 10 11:08:42 2004 From: a1_uchat at yahoo.com (AMIT UCHAT) Date: Tue, 10 Aug 2004 09:08:42 -0700 (PDT) Subject: [Javascript] Script Debugger In-Reply-To: <1A847600F409D711B52C0001FAFFF337046F62B0@vnetxu01.london.virgin.net> Message-ID: <20040810160842.67576.qmail@web52808.mail.yahoo.com> You can also give it a shot to this: Tools -> Internet Options -> Advance -> Under Browsing Category Click on a "Display notification for every script error" checkbox. Its a 5th CheckBox from top of Browsing category. --- Laurent Muchacho wrote: > Hi > > In internet explorer in there is an option you can > set it to disable script > debugger > Go in > Tools>Internet Options> Advanced (tab) > in the list off choice you should have one saying > "Disable script debugging" > uncheck this and restart your browser. > > Laurent > > -----Original Message----- > From: Allard Schripsema > [mailto:allard-schripsema at procergs.rs.gov.br] > Sent: 10 August 2004 15:14 > To: [JavaScript List] > Subject: RES: [Javascript] Script Debugger > > > you must install it; > Controlpanel > - add/remove Programs > - select windows components > check script debugger > click next etc.... > > hope that helped, > > Allard > > -----Mensagem original----- > De: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]Em nome de > Paul McGuire > Enviada em: ter?a-feira, 10 de agosto de 2004 11:01 > Para: [JavaScript List] > Assunto: [Javascript] Script Debugger > > > On my old development machine if a Javascript error > occured I had the choice > to load a debugger and it would take me to the > error. This no longer happens > on my new XP machine and I have been through the > settings for IE but cant > get this feature to come back. It was really useful > how do I get it back? > > Paul > > _______________________________________________ > 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 > > > This E-mail and any files transmitted with it are > confidential and intended solely for the use of the > individual or entity to whom they are addressed. If > you have received this E-mail in error please notify > the system manager. This message contains > confidential information and is intended only for > the individual named. If you are not the named > addressee you should not disseminate, distribute or > copy this E-mail. > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From hassan at webtuitive.com Tue Aug 10 11:16:01 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Tue, 10 Aug 2004 09:16:01 -0700 Subject: [Javascript] Regarding the [IE] In-Reply-To: References: Message-ID: <4118F4C1.9030602@webtuitive.com> Sal Perconte wrote: > But, I look at a lot of other people's > code and really have not seen this in > wide use. Is there a reason for this ? Mmm. That's a good question; personally I can't recall too many situations where that was the solution to a problem :-) I imagine if you were developing in an IE-only intranet environment you might find it more useful. Perhaps someone else has example applications... -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From sal.perconte at verizon.net Tue Aug 10 12:13:08 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Tue, 10 Aug 2004 13:13:08 -0400 Subject: [Javascript] Regarding the [IE] In-Reply-To: <4118F4C1.9030602@webtuitive.com> Message-ID: I found it in a blog -- I hope this fellow doesn't mind but here's the site http://dorward.me.uk/ regards, sal -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Hassan Schroeder Sent: Tuesday, August 10, 2004 12:16 PM To: [JavaScript List] Subject: Re: [Javascript] Regarding the [IE] Sal Perconte wrote: > But, I look at a lot of other people's > code and really have not seen this in > wide use. Is there a reason for this ? Mmm. That's a good question; personally I can't recall too many situations where that was the solution to a problem :-) I imagine if you were developing in an IE-only intranet environment you might find it more useful. Perhaps someone else has example applications... -- 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/listinf o/javascript From rer at datacompusa.com Tue Aug 10 12:59:12 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Tue, 10 Aug 2004 13:59:12 -0400 Subject: [Javascript] Regarding the [IE] In-Reply-To: <4118F4C1.9030602@webtuitive.com> References: <4118F4C1.9030602@webtuitive.com> Message-ID: Hassan & Sal, On Aug 10, 2004, at 12:16 PM, Hassan Schroeder wrote: > Sal Perconte wrote: > >> But, I look at a lot of other people's >> code and really have not seen this in >> wide use. Is there a reason for this ? > > Mmm. That's a good question; personally I can't recall too many > situations where that was the solution to a problem :-) > > I imagine if you were developing in an IE-only intranet environment > you might find it more useful. > > Perhaps someone else has example applications... I've only seen it routinely used to feed different css to ie to get around its many rendering bugs. I used it once to encapsulate a script that only needed to run in ie before printing to get around a printing bug. There are other ways to do an ie browser detect, but the conditional comments are convenient for ie because they are a supported way to target ie that other browsers ignore. I'm guessing it was the mechanism Microsoft intended you to use to make pages better in ie than other browsers. Unfortuantely for Microsoft I only ever see these conditional comments being used to get around ie browser bugs... so much for leading the web :) Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From peter at brunone.com Tue Aug 10 13:07:06 2004 From: peter at brunone.com (Peter Brunone) Date: Tue, 10 Aug 2004 13:07:06 -0500 Subject: [Javascript] Regarding the [IE] In-Reply-To: <4118F4C1.9030602@webtuitive.com> Message-ID: <006901c47f04$dc3787c0$0502a8c0@monkeyhouse> If you're developing an IE-only site, why would you need to detect IE? -----Original Message----- From: javascript-bounces at LaTech.edu On Behalf Of Hassan Schroeder Sal Perconte wrote: > But, I look at a lot of other people's > code and really have not seen this in > wide use. Is there a reason for this ? Mmm. That's a good question; personally I can't recall too many situations where that was the solution to a problem :-) I imagine if you were developing in an IE-only intranet environment you might find it more useful. Perhaps someone else has example applications... -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com From hassan at webtuitive.com Tue Aug 10 13:28:15 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Tue, 10 Aug 2004 11:28:15 -0700 Subject: [Javascript] Regarding the [IE] In-Reply-To: <006901c47f04$dc3787c0$0502a8c0@monkeyhouse> References: <006901c47f04$dc3787c0$0502a8c0@monkeyhouse> Message-ID: <411913BF.6030605@webtuitive.com> Peter Brunone wrote: > If you're developing an IE-only site, why would you need to > detect IE? Conditional comments also offer version detection, for one thing. -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From RPITRE at shawmut.com Tue Aug 10 14:06:28 2004 From: RPITRE at shawmut.com (Pitre, Russell) Date: Tue, 10 Aug 2004 15:06:28 -0400 Subject: [Javascript] Help with function containing array Message-ID: <8BE2F173A6440740934EDD48016EC973AA549B@SDC-MAIL1.shawmut.com> Hello all- I have these functions below. I need to have a "department" object contain an array of "division" objects. I'm not sure how to department[0].divisions with an array of divisions. I'm thinking my problem is how I'm setting "this.divisions" in the department object. var departments = new Array(); var divisions = new Array(); function division (id, name) { this.id = id; this.name = name; } function department(id, name, divisions){ this.id = id; this.name =name; // PROBLEM HERE!!! I think this.divisions = divisions; } // My Accounting Divsions divisions[0] = new division(1, "Accounts Payable"); divisions[1] = new division(2, "Account Recievable"); divisions[2] = new division(3, "Payroll"); // My Account departing containg id, name, and it's divisions departments[0] = new department(1, "Accounting", divisions); -------------- next part -------------- An HTML attachment was scrubbed... URL: From lester at denhaag.org Tue Aug 10 14:43:29 2004 From: lester at denhaag.org (Lester) Date: Tue, 10 Aug 2004 21:43:29 +0200 Subject: [Javascript] Creating a division on the fly In-Reply-To: <029901c47e44$77ec3060$0e859bcf@mustafa> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop> <029901c47e44$77ec3060$0e859bcf@mustafa> Message-ID: <41192561.5070600@denhaag.org> On 08/09/04 21:10, dev at qroute.net wrote: > Is it possible to create a division on the fly by clicking on a button and > then start dragging that newly created division within the page ? This is probably what you're looking for though it doesn't have the button to append the div to the document. But I guess that would be easy enuff once you have a look at the code. Here is the final result: And here is the start of a walkthrough of the whole design: l8R lES -- A browser, which has no other purpose in life than to be a window to the world OUTSIDE the local computer, should never be part of the operating system. /my emphasis/ http://www.denhaag.org Steven J. Vaughan-Nichols :: eWeek 04/07/09 From LaurentM at london.virgin.net Wed Aug 11 03:21:13 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Wed, 11 Aug 2004 09:21:13 +0100 Subject: [Javascript] Help with function containing array Message-ID: <1A847600F409D711B52C0001FAFFF337046F62B6@vnetxu01.london.virgin.net> Hi The solution will be : function division (id, name) { this.id = id; this.name = name; } function department(id, name){ this.id = id; this.name =name; this.divisions = new Array(); } var departments = new Array(); // My Account departing containg id, name, and it's divisions departments[0] = new department(1, "Accounting"); // My Accounting Divsions departments[0].divisions[0] = new division(1, "Accounts Payable"); departments[0].divisions[1] = new division(2, "Account Recievable"); departments[0].divisions[2] = new division(3, "Payroll"); Laurent -----Original Message----- From: Pitre, Russell [mailto:RPITRE at shawmut.com] Sent: 10 August 2004 20:06 To: javascript at LaTech.edu Subject: [Javascript] Help with function containing array Hello all- I have these functions below. I need to have a "department" object contain an array of "division" objects. I'm not sure how to department[0].divisions with an array of divisions. I'm thinking my problem is how I'm setting "this.divisions" in the department object. var departments = new Array(); var divisions = new Array(); function division (id, name) { this.id = id; this.name = name; } function department(id, name, divisions){ this.id = id; this.name =name; // PROBLEM HERE!!! I think this.divisions = divisions; } // My Accounting Divsions divisions[0] = new division(1, "Accounts Payable"); divisions[1] = new division(2, "Account Recievable"); divisions[2] = new division(3, "Payroll"); // My Account departing containg id, name, and it's divisions departments[0] = new department(1, "Accounting", divisions); This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From spindrift at oceanfree.net Wed Aug 11 03:45:47 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Wed, 11 Aug 2004 09:45:47 +0100 Subject: [Javascript] Content Retrieval References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa> <41192561.5070600@denhaag.org> Message-ID: <008901c47f81$14746e60$6994cbc1@ic7g> There is a webpage on the web that has dynamic content. On this page, two text strings always appear in the same place. I would like to retrieve these text strings and place them in a variable on my own page. Any ideas ? Tim in Ireland. From javascript at mattbarton.org Wed Aug 11 03:56:37 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 11 Aug 2004 09:56:37 +0100 Subject: [Javascript] Content Retrieval References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org> <008901c47f81$14746e60$6994cbc1@ic7g> Message-ID: <002301c47f81$1d2c0770$2399a8c0@selima.co.uk> Morning. You could use the xmlhttp activeX control to do this client-side in IE, but whenever I've had to do this before, I've found a server-side approach much more useful (no browser compatibility issues). I have used curl on a *nix platform to get the webpage and then extract the required strings - and that worked perfectly. But for that you'd need a *nix server - I'm not sure what you would do if your server was a windows machine... (perhaps a server-side implementation of xml-http???) Do you have scope for a server-side approach, or is it a client side solution you want? If it's server-side, what is the platform? Matt ----- Original Message ----- From: "Tim Makins" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 9:45 AM Subject: [Javascript] Content Retrieval > There is a webpage on the web that has dynamic content. On this page, two > text strings always appear in the same place. I would like to retrieve these > text strings and place them in a variable on my own page. Any ideas ? > > Tim in Ireland. > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From spindrift at oceanfree.net Wed Aug 11 04:59:26 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Wed, 11 Aug 2004 10:59:26 +0100 Subject: [Javascript] Content Retrieval References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org><008901c47f81$14746e60$6994cbc1@ic7g> <002301c47f81$1d2c0770$2399a8c0@selima.co.uk> Message-ID: <00b801c47f89$e492f5a0$6994cbc1@ic7g> I am hosted with http://www.ipowerweb.com on a Linux machine, with Perl5.8.1, PHP4.3.4 and MySQL4.0.20 (very good company, by the way - I am 100% happy with their service) Please can you explain further about 'curl'. Do you have an example I could see, please ? Tim in Ireland. ----- Original Message ----- From: "Matt Barton" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 9:56 AM Subject: Re: [Javascript] Content Retrieval > Morning. > > You could use the xmlhttp activeX control to do this client-side in IE, but > whenever I've had to do this before, I've found a server-side approach much > more useful (no browser compatibility issues). I have used curl on a *nix > platform to get the webpage and then extract the required strings - and that > worked perfectly. But for that you'd need a *nix server - I'm not sure what > you would do if your server was a windows machine... (perhaps a server-side > implementation of xml-http???) > > Do you have scope for a server-side approach, or is it a client side > solution you want? If it's server-side, what is the platform? > > Matt > > ----- Original Message ----- > From: "Tim Makins" > To: "[JavaScript List]" > Sent: Wednesday, August 11, 2004 9:45 AM > Subject: [Javascript] Content Retrieval > > > > There is a webpage on the web that has dynamic content. On this page, two > > text strings always appear in the same place. I would like to retrieve > these > > text strings and place them in a variable on my own page. Any ideas ? > > > > Tim in Ireland. > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > -- > > This email has been verified as Virus free > > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From javascript at mattbarton.org Wed Aug 11 05:05:54 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 11 Aug 2004 11:05:54 +0100 Subject: OT: cURL (was Re: [Javascript] Content Retrieval) References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org><008901c47f81$14746e60$6994cbc1@ic7g><002301c47f81$1d2c0770$2399a8c0@selima.co.uk> <00b801c47f89$e492f5a0$6994cbc1@ic7g> Message-ID: <003501c47f8a$caefe3f0$2399a8c0@selima.co.uk> Can't provide you with an example I'm afraid, but I can direct you to cURL, and let you know what it does. You might be lucky - it might already be installed on the machine thats hosting your site. The place to learn all about cURL is: http://sourceforge.net/projects/curl/ or http://curl.haxx.se/ It's does far more than just 'fetch a web page', but that is all I have used it for in the past. On the linux command line you can run the curl program and pass a url as an argument - it will return the response of that page to std out. You can, therefore, write a php (for example) script which executes a cURL command and passes the html into a variable. You can then use a nifty regexp to extract the parts you want from the page. Learn more by looking through the links I've included above. There's probably 101 better ways to do this, and I've not worked with php/linux professionally for 12 months now, so haven't seen recent versions which may have better ways to do this, but this is exactly the technique I used some time ago to form part of a professional solution for a UK ISP I worked for. HTH Matt ----- Original Message ----- From: "Tim Makins" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 10:59 AM Subject: Re: [Javascript] Content Retrieval > I am hosted with http://www.ipowerweb.com on a Linux machine, with > Perl5.8.1, PHP4.3.4 and MySQL4.0.20 (very good company, by the way - I am > 100% happy with their service) > > Please can you explain further about 'curl'. Do you have an example I could > see, please ? > > Tim in Ireland. > > ----- Original Message ----- > From: "Matt Barton" > To: "[JavaScript List]" > Sent: Wednesday, August 11, 2004 9:56 AM > Subject: Re: [Javascript] Content Retrieval > > > > Morning. > > > > You could use the xmlhttp activeX control to do this client-side in IE, > but > > whenever I've had to do this before, I've found a server-side approach > much > > more useful (no browser compatibility issues). I have used curl on a *nix > > platform to get the webpage and then extract the required strings - and > that > > worked perfectly. But for that you'd need a *nix server - I'm not sure > what > > you would do if your server was a windows machine... (perhaps a > server-side > > implementation of xml-http???) > > > > Do you have scope for a server-side approach, or is it a client side > > solution you want? If it's server-side, what is the platform? > > > > Matt > > > > ----- Original Message ----- > > From: "Tim Makins" > > To: "[JavaScript List]" > > Sent: Wednesday, August 11, 2004 9:45 AM > > Subject: [Javascript] Content Retrieval > > > > > > > There is a webpage on the web that has dynamic content. On this page, > two > > > text strings always appear in the same place. I would like to retrieve > > these > > > text strings and place them in a variable on my own page. Any ideas ? > > > > > > Tim in Ireland. > > > > > > _______________________________________________ > > > Javascript mailing list > > > Javascript at LaTech.edu > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > -- > > > This email has been verified as Virus free > > > Virus Protection and more available at http://www.plus.net > > > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From rer at datacompusa.com Wed Aug 11 05:55:08 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Wed, 11 Aug 2004 06:55:08 -0400 Subject: OT: cURL (was Re: [Javascript] Content Retrieval) In-Reply-To: <003501c47f8a$caefe3f0$2399a8c0@selima.co.uk> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org><008901c47f81$14746e60$6994cbc1@ic7g><002301c47f81$1d2c0770$2399a8c0@selima.co.uk> <00b801c47f89$e492f5a0$6994cbc1@ic7g> <003501c47f8a$caefe3f0$2399a8c0@selima.co.uk> Message-ID: Tim, On Aug 11, 2004, at 6:05 AM, Matt Barton wrote: > Can't provide you with an example I'm afraid, but I can direct you to > cURL, > and let you know what it does. You might be lucky - it might already > be > installed on the machine thats hosting your site. > If you use php, curl is not necessary. From ScottHam at clientlogic.com Wed Aug 11 06:12:57 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Wed, 11 Aug 2004 07:12:57 -0400 Subject: [Javascript] OT: Beverages (was Weather Reports) Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B84A05@L001N14> Just returned back to this list, realized that I should've gotten hot tea with honey instead of coffee...... *griiin* -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Roberts, Mark (Tulsa) Sent: Tuesday, August 10, 2004 8:22 AM To: [JavaScript List] Subject: RE: [Javascript] OT: Beverages (was Weather Reports) Well here in Okla, we are used to just puttin' up our dogs and throwin' back a Miller. The weather here the last couple of months though has everyone really freaked out............Usual high temp is 97-98 with occasional spiking to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. We don't know what is going on here. Everyone is blamin' everyone else, but no one can come up with an answer. Mark Roberts Sr. Systems Analyst -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm Sent: Tuesday, August 10, 2004 7:02 AM To: '[JavaScript List]' Subject: RE: [Javascript] OT: Beverages (was Weather Reports) lol, probably Mountain Dew Amp... -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire Sent: Tuesday, August 10, 2004 8:01 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Beverages (was Weather Reports) maybe its just me but I prefer a cold beer :) ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Tuesday, August 10, 2004 12:58 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Honey in HOT Tea, soothes my worn out and tired throat. > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > Sent: Tuesday, August 10, 2004 7:54 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > Alternatively, neither in tea, but a slice of lemon instead. If that floats > your boat. > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Tuesday, August 10, 2004 12:49 PM > Subject: Re: [Javascript] OT: Weather reports > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice hot > cup of tea with cream and sugar while it rains. :o) > > Shawn > > > > > Hence the reason why tents exist. :P > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 7:32 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Weather reports > > > > > > you may think that but you would soon change your mind when every bbq you > > are invited to or organise gets rained off. BBQ's using the Oven get very > > boring! > > > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:27 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I may > > move there someday. > > > > Shawn > > (east coast US) > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's been like > > > this for weeks already. As a nice bonus, sunlight is dead on all over my > > > back the entire afternoon every day. > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able to > > > see what I'm working on too. > > > > > > Matt Barton wrote: > > > >>(28 days worth of rain in 18 hours... in July ... I love England.) > > > > > > > > > > > > Ahem... > > > > > > > > August. > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: "[JavaScript List]" > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a button > > and > > > >>then start dragging that newly created division within the page ? > > > >> > > > >>_______________________________________________ > > > >>Javascript mailing list > > > >>Javascript at LaTech.edu > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > >> > > > >>-- > > > >>This email has been verified as Virus free > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > 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 _______________________________________________ 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 javascript at mattbarton.org Wed Aug 11 06:36:18 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 11 Aug 2004 12:36:18 +0100 Subject: [Javascript] OT: Beverages (was Weather Reports) References: <48A8BDD0DC72F3458A713242E3848AAD07B84A05@L001N14> Message-ID: <000901c47f97$6b6fe120$2399a8c0@selima.co.uk> However, if http://www.mydomain.com/index.html contains header redirections or is protected by .htaccess you might have trouble with file_get_contents(). Not so sure about the redirections, it might handle them, but I'm pretty sure that .htaccess authentication is beyond it. cURL will get round both of the above though (as long as you know the correct .htaccess username and password). Matt ----- Original Message ----- From: "Scott Hamm" To: "'[JavaScript List]'" Sent: Wednesday, August 11, 2004 12:12 PM Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > Just returned back to this list, realized that I should've gotten hot tea > with honey instead of coffee...... *griiin* > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Roberts, Mark (Tulsa) > Sent: Tuesday, August 10, 2004 8:22 AM > To: [JavaScript List] > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > Well here in Okla, we are used to just puttin' up our dogs and throwin' > back a Miller. > > The weather here the last couple of months though has everyone really > freaked out............Usual high temp is 97-98 with occasional spiking > to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. > We don't know what is going on here. Everyone is blamin' everyone else, > but no one can come up with an answer. > > Mark Roberts > Sr. Systems Analyst > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm > Sent: Tuesday, August 10, 2004 7:02 AM > To: '[JavaScript List]' > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > lol, probably Mountain Dew Amp... > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > Sent: Tuesday, August 10, 2004 8:01 AM > To: [JavaScript List] > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > maybe its just me but I prefer a cold beer :) > > > ----- Original Message ----- > From: "Scott Hamm" > To: "'[JavaScript List]'" > Sent: Tuesday, August 10, 2004 12:58 PM > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > Honey in HOT Tea, soothes my worn out and tired throat. > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > > Sent: Tuesday, August 10, 2004 7:54 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > > > Alternatively, neither in tea, but a slice of lemon instead. If that > floats > > your boat. > > > > Matt > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Tuesday, August 10, 2004 12:49 PM > > Subject: Re: [Javascript] OT: Weather reports > > > > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice > hot > > cup of tea with cream and sugar while it rains. :o) > > > > Shawn > > > > > > > > > Hence the reason why tents exist. :P > > > > > > -----Original Message----- > > > From: javascript-bounces at LaTech.edu > > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > > Sent: Tuesday, August 10, 2004 7:32 AM > > > To: [JavaScript List] > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > you may think that but you would soon change your mind when every > bbq > you > > > are invited to or organise gets rained off. BBQ's using the Oven get > very > > > boring! > > > > > > > > > ----- Original Message ----- > > > From: "Shawn Milo" > > > To: > > > Sent: Tuesday, August 10, 2004 12:27 PM > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I > may > > > move there someday. > > > > > > Shawn > > > (east coast US) > > > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's > been > like > > > > this for weeks already. As a nice bonus, sunlight is dead on all > over > my > > > > back the entire afternoon every day. > > > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able > to > > > > see what I'm working on too. > > > > > > > > Matt Barton wrote: > > > > >>(28 days worth of rain in 18 hours... in July ... I love > England.) > > > > > > > > > > > > > > > Ahem... > > > > > > > > > > August. > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: > > > > > To: "[JavaScript List]" > > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a > button > > > and > > > > >>then start dragging that newly created division within the page > ? > > > > >> > > > > >>_______________________________________________ > > > > >>Javascript mailing list > > > > >>Javascript at LaTech.edu > > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > > >> > > > > >>-- > > > > >>This email has been verified as Virus free > > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 > > > _______________________________________________ > > > 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 > > > > -- > > This email has been verified as Virus free > > Virus Protection and more available at http://www.plus.net > > > > _______________________________________________ > > 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 > _______________________________________________ > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From javascript at mattbarton.org Wed Aug 11 06:48:02 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 11 Aug 2004 12:48:02 +0100 Subject: [Javascript] OT: Beverages (was Weather Reports) References: <48A8BDD0DC72F3458A713242E3848AAD07B84A05@L001N14> <000901c47f97$6b6fe120$2399a8c0@selima.co.uk> Message-ID: <000701c47f99$0e84bb00$2399a8c0@selima.co.uk> Damn it - replied to the wrong message. Apols. ----- Original Message ----- From: "Matt Barton" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 12:36 PM Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > However, if http://www.mydomain.com/index.html contains header redirections > or is protected by .htaccess you might have trouble with > file_get_contents(). Not so sure about the redirections, it might handle > them, but I'm pretty sure that .htaccess authentication is beyond it. > > cURL will get round both of the above though (as long as you know the > correct .htaccess username and password). > > Matt > > ----- Original Message ----- > From: "Scott Hamm" > To: "'[JavaScript List]'" > Sent: Wednesday, August 11, 2004 12:12 PM > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > Just returned back to this list, realized that I should've gotten hot tea > > with honey instead of coffee...... *griiin* > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Roberts, Mark (Tulsa) > > Sent: Tuesday, August 10, 2004 8:22 AM > > To: [JavaScript List] > > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > > > Well here in Okla, we are used to just puttin' up our dogs and throwin' > > back a Miller. > > > > The weather here the last couple of months though has everyone really > > freaked out............Usual high temp is 97-98 with occasional spiking > > to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. > > We don't know what is going on here. Everyone is blamin' everyone else, > > but no one can come up with an answer. > > > > Mark Roberts > > Sr. Systems Analyst > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm > > Sent: Tuesday, August 10, 2004 7:02 AM > > To: '[JavaScript List]' > > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > lol, probably Mountain Dew Amp... > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 8:01 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > > > > maybe its just me but I prefer a cold beer :) > > > > > > ----- Original Message ----- > > From: "Scott Hamm" > > To: "'[JavaScript List]'" > > Sent: Tuesday, August 10, 2004 12:58 PM > > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > > > > Honey in HOT Tea, soothes my worn out and tired throat. > > > > > > -----Original Message----- > > > From: javascript-bounces at LaTech.edu > > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > > > Sent: Tuesday, August 10, 2004 7:54 AM > > > To: [JavaScript List] > > > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > > > > > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > > > > > Alternatively, neither in tea, but a slice of lemon instead. If that > > floats > > > your boat. > > > > > > Matt > > > > > > ----- Original Message ----- > > > From: "Shawn Milo" > > > To: > > > Sent: Tuesday, August 10, 2004 12:49 PM > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice > > hot > > > cup of tea with cream and sugar while it rains. :o) > > > > > > Shawn > > > > > > > > > > > > > Hence the reason why tents exist. :P > > > > > > > > -----Original Message----- > > > > From: javascript-bounces at LaTech.edu > > > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > > > Sent: Tuesday, August 10, 2004 7:32 AM > > > > To: [JavaScript List] > > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > > > > you may think that but you would soon change your mind when every > > bbq > > you > > > > are invited to or organise gets rained off. BBQ's using the Oven get > > very > > > > boring! > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Shawn Milo" > > > > To: > > > > Sent: Tuesday, August 10, 2004 12:27 PM > > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I > > may > > > > move there someday. > > > > > > > > Shawn > > > > (east coast US) > > > > > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's > > been > > like > > > > > this for weeks already. As a nice bonus, sunlight is dead on all > > over > > my > > > > > back the entire afternoon every day. > > > > > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able > > to > > > > > see what I'm working on too. > > > > > > > > > > Matt Barton wrote: > > > > > >>(28 days worth of rain in 18 hours... in July ... I love > > England.) > > > > > > > > > > > > > > > > > > Ahem... > > > > > > > > > > > > August. > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: > > > > > > To: "[JavaScript List]" > > > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a > > button > > > > and > > > > > >>then start dragging that newly created division within the page > > ? > > > > > >> > > > > > >>_______________________________________________ > > > > > >>Javascript mailing list > > > > > >>Javascript at LaTech.edu > > > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > >> > > > > > >>-- > > > > > >>This email has been verified as Virus free > > > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > _______________________________________________ > > > > 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 > > > > > > -- > > > This email has been verified as Virus free > > > Virus Protection and more available at http://www.plus.net > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > > > -- > > This email has been verified as Virus free > > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From javascript at mattbarton.org Wed Aug 11 06:48:16 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 11 Aug 2004 12:48:16 +0100 Subject: OT: cURL (was Re: [Javascript] Content Retrieval) References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org><008901c47f81$14746e60$6994cbc1@ic7g><002301c47f81$1d2c0770$2399a8c0@selima.co.uk><00b801c47f89$e492f5a0$6994cbc1@ic7g><003501c47f8a$caefe3f0$2399a8c0@selima.co.uk> Message-ID: <000d01c47f99$16fbefb0$2399a8c0@selima.co.uk> However, if http://www.mydomain.com/index.html contains header redirections or is protected by .htaccess you might have trouble with file_get_contents(). Not so sure about the redirections, it might handle them, but I'm pretty sure that .htaccess authentication is beyond it. cURL will get round both of the above though (as long as you know the correct .htaccess username and password). Matt ----- Original Message ----- From: "Roger Roelofs" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 11:55 AM Subject: Re: OT: cURL (was Re: [Javascript] Content Retrieval) > Tim, > > On Aug 11, 2004, at 6:05 AM, Matt Barton wrote: > > > Can't provide you with an example I'm afraid, but I can direct you to > > cURL, > > and let you know what it does. You might be lucky - it might already > > be > > installed on the machine thats hosting your site. > > > > > If you use php, curl is not necessary. > > > $var = file_get_contents("http://www.mydomain.com/index.html"); // puts > whole file in a string var > > // if your php installation is older you can > > $aVar = file("http://www.mydomain.com/index.html"); //puts file into > an array of lines > $var = implode("\n", $aVar); //concatenates > array into string var > > // extracting the required text is left as an exercise for the reader... > > ?> > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From ScottHam at clientlogic.com Wed Aug 11 06:53:55 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Wed, 11 Aug 2004 07:53:55 -0400 Subject: [Javascript] OT: Beverages (was Weather Reports) Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B84A07@L001N14> Get honey, not lemon in your tea. That way you won't close your eyes while you squirm trying to enjoy the tarnishness of it. -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton Sent: Wednesday, August 11, 2004 7:48 AM To: [JavaScript List] Subject: Re: [Javascript] OT: Beverages (was Weather Reports) Damn it - replied to the wrong message. Apols. ----- Original Message ----- From: "Matt Barton" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 12:36 PM Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > However, if http://www.mydomain.com/index.html contains header redirections > or is protected by .htaccess you might have trouble with > file_get_contents(). Not so sure about the redirections, it might handle > them, but I'm pretty sure that .htaccess authentication is beyond it. > > cURL will get round both of the above though (as long as you know the > correct .htaccess username and password). > > Matt > > ----- Original Message ----- > From: "Scott Hamm" > To: "'[JavaScript List]'" > Sent: Wednesday, August 11, 2004 12:12 PM > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > Just returned back to this list, realized that I should've gotten hot tea > > with honey instead of coffee...... *griiin* > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Roberts, Mark (Tulsa) > > Sent: Tuesday, August 10, 2004 8:22 AM > > To: [JavaScript List] > > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > > > Well here in Okla, we are used to just puttin' up our dogs and throwin' > > back a Miller. > > > > The weather here the last couple of months though has everyone really > > freaked out............Usual high temp is 97-98 with occasional spiking > > to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. > > We don't know what is going on here. Everyone is blamin' everyone else, > > but no one can come up with an answer. > > > > Mark Roberts > > Sr. Systems Analyst > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm > > Sent: Tuesday, August 10, 2004 7:02 AM > > To: '[JavaScript List]' > > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > lol, probably Mountain Dew Amp... > > > > -----Original Message----- > > From: javascript-bounces at LaTech.edu > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > Sent: Tuesday, August 10, 2004 8:01 AM > > To: [JavaScript List] > > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > > > > maybe its just me but I prefer a cold beer :) > > > > > > ----- Original Message ----- > > From: "Scott Hamm" > > To: "'[JavaScript List]'" > > Sent: Tuesday, August 10, 2004 12:58 PM > > Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > > > > Honey in HOT Tea, soothes my worn out and tired throat. > > > > > > -----Original Message----- > > > From: javascript-bounces at LaTech.edu > > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > > > Sent: Tuesday, August 10, 2004 7:54 AM > > > To: [JavaScript List] > > > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > > > > > > > Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > > > > > > Alternatively, neither in tea, but a slice of lemon instead. If that > > floats > > > your boat. > > > > > > Matt > > > > > > ----- Original Message ----- > > > From: "Shawn Milo" > > > To: > > > Sent: Tuesday, August 10, 2004 12:49 PM > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > I'm not much of a BBQ person. I prefer reading while enjoying a nice > > hot > > > cup of tea with cream and sugar while it rains. :o) > > > > > > Shawn > > > > > > > > > > > > > Hence the reason why tents exist. :P > > > > > > > > -----Original Message----- > > > > From: javascript-bounces at LaTech.edu > > > > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > > > > Sent: Tuesday, August 10, 2004 7:32 AM > > > > To: [JavaScript List] > > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > > > > you may think that but you would soon change your mind when every > > bbq > > you > > > > are invited to or organise gets rained off. BBQ's using the Oven get > > very > > > > boring! > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Shawn Milo" > > > > To: > > > > Sent: Tuesday, August 10, 2004 12:27 PM > > > > Subject: Re: [Javascript] OT: Weather reports > > > > > > > > > > > > I'm jealous -- of the weather in England. I prefer grey weather. I > > may > > > > move there someday. > > > > > > > > Shawn > > > > (east coast US) > > > > > > > > > It's boiling in Amsterdam. Too hot to think straight, and it's > > been > > like > > > > > this for weeks already. As a nice bonus, sunlight is dead on all > > over > > my > > > > > back the entire afternoon every day. > > > > > > > > > > But I have a fan, and as soon as I get me a screencap I'll be able > > to > > > > > see what I'm working on too. > > > > > > > > > > Matt Barton wrote: > > > > > >>(28 days worth of rain in 18 hours... in July ... I love > > England.) > > > > > > > > > > > > > > > > > > Ahem... > > > > > > > > > > > > August. > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: > > > > > > To: "[JavaScript List]" > > > > > > Sent: Monday, August 09, 2004 8:10 PM > > > > > > Subject: [Javascript] Creating a division on the fly > > > > > > > > > > > > > > > > > > > > > > > >>Is it possible to create a division on the fly by clicking on a > > button > > > > and > > > > > >>then start dragging that newly created division within the page > > ? > > > > > >> > > > > > >>_______________________________________________ > > > > > >>Javascript mailing list > > > > > >>Javascript at LaTech.edu > > > > > >>https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > >> > > > > > >>-- > > > > > >>This email has been verified as Virus free > > > > > >>Virus Protection and more available at http://www.plus.net > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > _______________________________________________ > > > > 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 > > > > > > -- > > > This email has been verified as Virus free > > > Virus Protection and more available at http://www.plus.net > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > > > -- > > This email has been verified as Virus free > > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From javascript at mattbarton.org Wed Aug 11 07:28:08 2004 From: javascript at mattbarton.org (Matt Barton) Date: Wed, 11 Aug 2004 13:28:08 +0100 Subject: [Javascript] Content Retrieval References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org><008901c47f81$14746e60$6994cbc1@ic7g><002301c47f81$1d2c0770$2399a8c0@selima.co.uk><00b801c47f89$e492f5a0$6994cbc1@ic7g><003501c47f8a$caefe3f0$2399a8c0@selima.co.uk> <002301c47f9e$b8c38c40$6994cbc1@ic7g> Message-ID: <004001c47f9e$a88f4b20$2399a8c0@selima.co.uk> You should be OK then: file_get_contents is valid in PHP 4 >= 4.3.0 and PHP 5 accoring to php.net ----- Original Message ----- From: "Tim Makins" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 1:28 PM Subject: Re: [Javascript] Content Retrieval > Oh, that's nice and simple !! I can cope with the extraction OK. > > One question - what do you mean by 'if your php installation is older' ? > (My host uses PHP4.3.4) > > Tim in Ireland. > > ----- Original Message ----- > From: "Roger Roelofs" > To: "[JavaScript List]" > Sent: Wednesday, August 11, 2004 11:55 AM > Subject: Re: OT: cURL (was Re: [Javascript] Content Retrieval) > > > > Tim, > > If you use php, curl is not necessary. > > > > > > > $var = file_get_contents("http://www.mydomain.com/index.html"); // puts > > whole file in a string var > > > > // if your php installation is older you can > > > > $aVar = file("http://www.mydomain.com/index.html"); //puts file into > > an array of lines > > $var = implode("\n", $aVar); //concatenates > > array into string var > > > > // extracting the required text is left as an exercise for the reader... > > > > ?> > > > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From spindrift at oceanfree.net Wed Aug 11 07:28:30 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Wed, 11 Aug 2004 13:28:30 +0100 Subject: [Javascript] Content Retrieval References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org><008901c47f81$14746e60$6994cbc1@ic7g><002301c47f81$1d2c0770$2399a8c0@selima.co.uk><00b801c47f89$e492f5a0$6994cbc1@ic7g><003501c47f8a$caefe3f0$2399a8c0@selima.co.uk> Message-ID: <002301c47f9e$b8c38c40$6994cbc1@ic7g> Oh, that's nice and simple !! I can cope with the extraction OK. One question - what do you mean by 'if your php installation is older' ? (My host uses PHP4.3.4) Tim in Ireland. ----- Original Message ----- From: "Roger Roelofs" To: "[JavaScript List]" Sent: Wednesday, August 11, 2004 11:55 AM Subject: Re: OT: cURL (was Re: [Javascript] Content Retrieval) > Tim, > If you use php, curl is not necessary. > > > $var = file_get_contents("http://www.mydomain.com/index.html"); // puts > whole file in a string var > > // if your php installation is older you can > > $aVar = file("http://www.mydomain.com/index.html"); //puts file into > an array of lines > $var = implode("\n", $aVar); //concatenates > array into string var > > // extracting the required text is left as an exercise for the reader... > > ?> > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From sal.perconte at verizon.net Wed Aug 11 19:09:19 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Wed, 11 Aug 2004 20:09:19 -0400 Subject: [Javascript] History files Message-ID: Does anyone know how to get the MSIE6 history (list of url's) into any other program -- prefer Excel or MSAccess I do a tremendous load of surfing for my consulting and I like to prove to a client how much time is involved in surfing and info gathering -- but a long list of url's would be impressive - I solved it partially with screen shots - not very good Sal From java.script at seacrets.com Thu Aug 12 04:33:20 2004 From: java.script at seacrets.com (Cutter) Date: Thu, 12 Aug 2004 05:33:20 -0400 Subject: [Javascript] OT: Beverages (was Weather Reports) In-Reply-To: <57485DA54254874FA9BED6128021374004F2F2AD@wmstutem04.WILLIAMS.COM> References: <57485DA54254874FA9BED6128021374004F2F2AD@wmstutem04.WILLIAMS.COM> Message-ID: <411B3960.5030701@seacrets.com> Mark, 97-98? My time in OK in August was more like 110-120 (Ft Still - '87, '89-'91). If it's cooled off that bad then this global warming thing really is getting out of hand... Cutter Roberts, Mark (Tulsa) wrote: >Well here in Okla, we are used to just puttin' up our dogs and throwin' >back a Miller. > >The weather here the last couple of months though has everyone really >freaked out............Usual high temp is 97-98 with occasional spiking >to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. >We don't know what is going on here. Everyone is blamin' everyone else, >but no one can come up with an answer. > >Mark Roberts >Sr. Systems Analyst > >-----Original Message----- >From: javascript-bounces at LaTech.edu >[mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm >Sent: Tuesday, August 10, 2004 7:02 AM >To: '[JavaScript List]' >Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > >lol, probably Mountain Dew Amp... > >-----Original Message----- >From: javascript-bounces at LaTech.edu >[mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire >Sent: Tuesday, August 10, 2004 8:01 AM >To: [JavaScript List] >Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > >maybe its just me but I prefer a cold beer :) > > >----- Original Message ----- >From: "Scott Hamm" >To: "'[JavaScript List]'" >Sent: Tuesday, August 10, 2004 12:58 PM >Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > >>Honey in HOT Tea, soothes my worn out and tired throat. >> >>-----Original Message----- >>From: javascript-bounces at LaTech.edu >>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton >>Sent: Tuesday, August 10, 2004 7:54 AM >>To: [JavaScript List] >>Subject: Re: [Javascript] OT: Beverages (was Weather Reports) >> >> >>Cream in coffee, *milk* in tea. Cream in tea makes it too rich. >> >>Alternatively, neither in tea, but a slice of lemon instead. If that >> >> >floats > > >>your boat. >> >>Matt >> >>----- Original Message ----- >>From: "Shawn Milo" >>To: >>Sent: Tuesday, August 10, 2004 12:49 PM >>Subject: Re: [Javascript] OT: Weather reports >> >> >>I'm not much of a BBQ person. I prefer reading while enjoying a nice >> >> >hot > > >>cup of tea with cream and sugar while it rains. :o) >> >>Shawn >> >> >> >> >> >>>Hence the reason why tents exist. :P >>> >>>-----Original Message----- >>>From: javascript-bounces at LaTech.edu >>>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire >>>Sent: Tuesday, August 10, 2004 7:32 AM >>>To: [JavaScript List] >>>Subject: Re: [Javascript] OT: Weather reports >>> >>> >>>you may think that but you would soon change your mind when every >>> >>> >bbq >you > > >>>are invited to or organise gets rained off. BBQ's using the Oven get >>> >>> >very > > >>>boring! >>> >>> >>>----- Original Message ----- >>>From: "Shawn Milo" >>>To: >>>Sent: Tuesday, August 10, 2004 12:27 PM >>>Subject: Re: [Javascript] OT: Weather reports >>> >>> >>>I'm jealous -- of the weather in England. I prefer grey weather. I >>> >>> >may > > >>>move there someday. >>> >>>Shawn >>>(east coast US) >>> >>> >>> >>>>It's boiling in Amsterdam. Too hot to think straight, and it's >>>> >>>> >been >like > > >>>>this for weeks already. As a nice bonus, sunlight is dead on all >>>> >>>> >over >my > > >>>>back the entire afternoon every day. >>>> >>>>But I have a fan, and as soon as I get me a screencap I'll be able >>>> >>>> >to > > >>>>see what I'm working on too. >>>> >>>>Matt Barton wrote: >>>> >>>> >>>>>>(28 days worth of rain in 18 hours... in July ... I love >>>>>> >>>>>> >England.) > > >>>>>Ahem... >>>>> >>>>>August. >>>>> >>>>> >>>>>----- Original Message ----- >>>>>From: >>>>>To: "[JavaScript List]" >>>>>Sent: Monday, August 09, 2004 8:10 PM >>>>>Subject: [Javascript] Creating a division on the fly >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Is it possible to create a division on the fly by clicking on a >>>>>> >>>>>> >button > > >>>and >>> >>> >>>>>>then start dragging that newly created division within the page >>>>>> >>>>>> >? > > >>>>>>_______________________________________________ >>>>>>Javascript mailing list >>>>>>Javascript at LaTech.edu >>>>>>https://lists.LaTech.edu/mailman/listinfo/javascript >>>>>> >>>>>>-- >>>>>>This email has been verified as Virus free >>>>>>Virus Protection and more available at http://www.plus.net >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>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 >>>_______________________________________________ >>>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 >> >>-- >>This email has been verified as Virus free >>Virus Protection and more available at http://www.plus.net >> >>_______________________________________________ >>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 >_______________________________________________ >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 pmcguire at cguk.co.uk Thu Aug 12 04:45:43 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Thu, 12 Aug 2004 10:45:43 +0100 Subject: [Javascript] OT: Beverages (was Weather Reports) References: <57485DA54254874FA9BED6128021374004F2F2AD@wmstutem04.WILLIAMS.COM> <411B3960.5030701@seacrets.com> Message-ID: <004801c48051$22ba7d90$7a48a8c0@PaulsLaptop> It seems like were suffering from Global Cooling? ----- Original Message ----- From: "Cutter" To: "[JavaScript List]" Sent: Thursday, August 12, 2004 10:33 AM Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > Mark, > > 97-98? My time in OK in August was more like 110-120 (Ft Still - '87, > '89-'91). If it's cooled off that bad then this global warming thing > really is getting out of hand... > > Cutter > > Roberts, Mark (Tulsa) wrote: > > >Well here in Okla, we are used to just puttin' up our dogs and throwin' > >back a Miller. > > > >The weather here the last couple of months though has everyone really > >freaked out............Usual high temp is 97-98 with occasional spiking > >to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. > >We don't know what is going on here. Everyone is blamin' everyone else, > >but no one can come up with an answer. > > > >Mark Roberts > >Sr. Systems Analyst > > > >-----Original Message----- > >From: javascript-bounces at LaTech.edu > >[mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm > >Sent: Tuesday, August 10, 2004 7:02 AM > >To: '[JavaScript List]' > >Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > >lol, probably Mountain Dew Amp... > > > >-----Original Message----- > >From: javascript-bounces at LaTech.edu > >[mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > >Sent: Tuesday, August 10, 2004 8:01 AM > >To: [JavaScript List] > >Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > > > >maybe its just me but I prefer a cold beer :) > > > > > >----- Original Message ----- > >From: "Scott Hamm" > >To: "'[JavaScript List]'" > >Sent: Tuesday, August 10, 2004 12:58 PM > >Subject: RE: [Javascript] OT: Beverages (was Weather Reports) > > > > > > > > > >>Honey in HOT Tea, soothes my worn out and tired throat. > >> > >>-----Original Message----- > >>From: javascript-bounces at LaTech.edu > >>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton > >>Sent: Tuesday, August 10, 2004 7:54 AM > >>To: [JavaScript List] > >>Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > >> > >> > >>Cream in coffee, *milk* in tea. Cream in tea makes it too rich. > >> > >>Alternatively, neither in tea, but a slice of lemon instead. If that > >> > >> > >floats > > > > > >>your boat. > >> > >>Matt > >> > >>----- Original Message ----- > >>From: "Shawn Milo" > >>To: > >>Sent: Tuesday, August 10, 2004 12:49 PM > >>Subject: Re: [Javascript] OT: Weather reports > >> > >> > >>I'm not much of a BBQ person. I prefer reading while enjoying a nice > >> > >> > >hot > > > > > >>cup of tea with cream and sugar while it rains. :o) > >> > >>Shawn > >> > >> > >> > >> > >> > >>>Hence the reason why tents exist. :P > >>> > >>>-----Original Message----- > >>>From: javascript-bounces at LaTech.edu > >>>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire > >>>Sent: Tuesday, August 10, 2004 7:32 AM > >>>To: [JavaScript List] > >>>Subject: Re: [Javascript] OT: Weather reports > >>> > >>> > >>>you may think that but you would soon change your mind when every > >>> > >>> > >bbq > >you > > > > > >>>are invited to or organise gets rained off. BBQ's using the Oven get > >>> > >>> > >very > > > > > >>>boring! > >>> > >>> > >>>----- Original Message ----- > >>>From: "Shawn Milo" > >>>To: > >>>Sent: Tuesday, August 10, 2004 12:27 PM > >>>Subject: Re: [Javascript] OT: Weather reports > >>> > >>> > >>>I'm jealous -- of the weather in England. I prefer grey weather. I > >>> > >>> > >may > > > > > >>>move there someday. > >>> > >>>Shawn > >>>(east coast US) > >>> > >>> > >>> > >>>>It's boiling in Amsterdam. Too hot to think straight, and it's > >>>> > >>>> > >been > >like > > > > > >>>>this for weeks already. As a nice bonus, sunlight is dead on all > >>>> > >>>> > >over > >my > > > > > >>>>back the entire afternoon every day. > >>>> > >>>>But I have a fan, and as soon as I get me a screencap I'll be able > >>>> > >>>> > >to > > > > > >>>>see what I'm working on too. > >>>> > >>>>Matt Barton wrote: > >>>> > >>>> > >>>>>>(28 days worth of rain in 18 hours... in July ... I love > >>>>>> > >>>>>> > >England.) > > > > > >>>>>Ahem... > >>>>> > >>>>>August. > >>>>> > >>>>> > >>>>>----- Original Message ----- > >>>>>From: > >>>>>To: "[JavaScript List]" > >>>>>Sent: Monday, August 09, 2004 8:10 PM > >>>>>Subject: [Javascript] Creating a division on the fly > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Is it possible to create a division on the fly by clicking on a > >>>>>> > >>>>>> > >button > > > > > >>>and > >>> > >>> > >>>>>>then start dragging that newly created division within the page > >>>>>> > >>>>>> > >? > > > > > >>>>>>_______________________________________________ > >>>>>>Javascript mailing list > >>>>>>Javascript at LaTech.edu > >>>>>>https://lists.LaTech.edu/mailman/listinfo/javascript > >>>>>> > >>>>>>-- > >>>>>>This email has been verified as Virus free > >>>>>>Virus Protection and more available at http://www.plus.net > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>_______________________________________________ > >>>>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 > >>>_______________________________________________ > >>>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 > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > >> > >>_______________________________________________ > >>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 > >_______________________________________________ > >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 From java.script at seacrets.com Thu Aug 12 04:46:06 2004 From: java.script at seacrets.com (Cutter) Date: Thu, 12 Aug 2004 05:46:06 -0400 Subject: [Javascript] Content Retrieval In-Reply-To: <002301c47f81$1d2c0770$2399a8c0@selima.co.uk> References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org> <008901c47f81$14746e60$6994cbc1@ic7g> <002301c47f81$1d2c0770$2399a8c0@selima.co.uk> Message-ID: <411B3C5E.7020406@seacrets.com> Server-side scripting. You could use CFHTTP (ColdFusion tag) in a CF page you parse on the free version of BlueDragon 6.1 (newatlanta.com). Cutter Matt Barton wrote: >Morning. > >You could use the xmlhttp activeX control to do this client-side in IE, but >whenever I've had to do this before, I've found a server-side approach much >more useful (no browser compatibility issues). I have used curl on a *nix >platform to get the webpage and then extract the required strings - and that >worked perfectly. But for that you'd need a *nix server - I'm not sure what >you would do if your server was a windows machine... (perhaps a server-side >implementation of xml-http???) > >Do you have scope for a server-side approach, or is it a client side >solution you want? If it's server-side, what is the platform? > >Matt > >----- Original Message ----- >From: "Tim Makins" >To: "[JavaScript List]" >Sent: Wednesday, August 11, 2004 9:45 AM >Subject: [Javascript] Content Retrieval > > > > >>There is a webpage on the web that has dynamic content. On this page, two >>text strings always appear in the same place. I would like to retrieve >> >> >these > > >>text strings and place them in a variable on my own page. Any ideas ? >> >>Tim in Ireland. >> >>_______________________________________________ >>Javascript mailing list >>Javascript at LaTech.edu >>https://lists.LaTech.edu/mailman/listinfo/javascript >> >>-- >>This email has been verified as Virus free >>Virus Protection and more available at http://www.plus.net >> >> > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript > > From hakan at backbase.com Thu Aug 12 05:02:19 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Thu, 12 Aug 2004 12:02:19 +0200 Subject: [Javascript] OT: Beverages (was Weather Reports) In-Reply-To: <004801c48051$22ba7d90$7a48a8c0@PaulsLaptop> References: <57485DA54254874FA9BED6128021374004F2F2AD@wmstutem04.WILLIAMS.COM> <411B3960.5030701@seacrets.com> <004801c48051$22ba7d90$7a48a8c0@PaulsLaptop> Message-ID: <411B402B.2040906@backbase.com> I'm going to need a hunters cap with two 80mm fans instead of earpatches if things get much warmer now. Paul McGuire wrote: > It seems like were suffering from Global Cooling? > > ----- Original Message ----- > From: "Cutter" > To: "[JavaScript List]" > Sent: Thursday, August 12, 2004 10:33 AM > Subject: Re: [Javascript] OT: Beverages (was Weather Reports) > > > >>Mark, >> >>97-98? My time in OK in August was more like 110-120 (Ft Still - '87, >>'89-'91). If it's cooled off that bad then this global warming thing >>really is getting out of hand... >> >>Cutter >> >>Roberts, Mark (Tulsa) wrote: >> >> >>>Well here in Okla, we are used to just puttin' up our dogs and throwin' >>>back a Miller. >>> >>>The weather here the last couple of months though has everyone really >>>freaked out............Usual high temp is 97-98 with occasional spiking >>>to 112 - 114 degrees. Todays/tomorrows high is suppose to be around 76. >>>We don't know what is going on here. Everyone is blamin' everyone else, >>>but no one can come up with an answer. >>> >>>Mark Roberts >>>Sr. Systems Analyst >>> >>>-----Original Message----- >>>From: javascript-bounces at LaTech.edu >>>[mailto:javascript-bounces at LaTech.edu] On Behalf Of Scott Hamm >>>Sent: Tuesday, August 10, 2004 7:02 AM >>>To: '[JavaScript List]' >>>Subject: RE: [Javascript] OT: Beverages (was Weather Reports) >>> >>>lol, probably Mountain Dew Amp... >>> >>>-----Original Message----- >>>From: javascript-bounces at LaTech.edu >>>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire >>>Sent: Tuesday, August 10, 2004 8:01 AM >>>To: [JavaScript List] >>>Subject: Re: [Javascript] OT: Beverages (was Weather Reports) >>> >>> >>>maybe its just me but I prefer a cold beer :) >>> >>> >>>----- Original Message ----- >>>From: "Scott Hamm" >>>To: "'[JavaScript List]'" >>>Sent: Tuesday, August 10, 2004 12:58 PM >>>Subject: RE: [Javascript] OT: Beverages (was Weather Reports) >>> >>> >>> >>> >>> >>>>Honey in HOT Tea, soothes my worn out and tired throat. >>>> >>>>-----Original Message----- >>>>From: javascript-bounces at LaTech.edu >>>>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Matt Barton >>>>Sent: Tuesday, August 10, 2004 7:54 AM >>>>To: [JavaScript List] >>>>Subject: Re: [Javascript] OT: Beverages (was Weather Reports) >>>> >>>> >>>>Cream in coffee, *milk* in tea. Cream in tea makes it too rich. >>>> >>>>Alternatively, neither in tea, but a slice of lemon instead. If that >>>> >>>> >>> >>>floats >>> >>> >>> >>>>your boat. >>>> >>>>Matt >>>> >>>>----- Original Message ----- >>>>From: "Shawn Milo" >>>>To: >>>>Sent: Tuesday, August 10, 2004 12:49 PM >>>>Subject: Re: [Javascript] OT: Weather reports >>>> >>>> >>>>I'm not much of a BBQ person. I prefer reading while enjoying a nice >>>> >>>> >>> >>>hot >>> >>> >>> >>>>cup of tea with cream and sugar while it rains. :o) >>>> >>>>Shawn >>>> >>>> >>>> >>>> >>>> >>>> >>>>>Hence the reason why tents exist. :P >>>>> >>>>>-----Original Message----- >>>>>From: javascript-bounces at LaTech.edu >>>>>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Paul McGuire >>>>>Sent: Tuesday, August 10, 2004 7:32 AM >>>>>To: [JavaScript List] >>>>>Subject: Re: [Javascript] OT: Weather reports >>>>> >>>>> >>>>>you may think that but you would soon change your mind when every >>>>> >>>>> >>> >>>bbq >>>you >>> >>> >>> >>>>>are invited to or organise gets rained off. BBQ's using the Oven get >>>>> >>>>> >>> >>>very >>> >>> >>> >>>>>boring! >>>>> >>>>> >>>>>----- Original Message ----- >>>>>From: "Shawn Milo" >>>>>To: >>>>>Sent: Tuesday, August 10, 2004 12:27 PM >>>>>Subject: Re: [Javascript] OT: Weather reports >>>>> >>>>> >>>>>I'm jealous -- of the weather in England. I prefer grey weather. I >>>>> >>>>> >>> >>>may >>> >>> >>> >>>>>move there someday. >>>>> >>>>>Shawn >>>>>(east coast US) >>>>> >>>>> >>>>> >>>>> >>>>>>It's boiling in Amsterdam. Too hot to think straight, and it's >>>>>> >>>>>> >>> >>>been >>>like >>> >>> >>> >>>>>>this for weeks already. As a nice bonus, sunlight is dead on all >>>>>> >>>>>> >>> >>>over >>>my >>> >>> >>> >>>>>>back the entire afternoon every day. >>>>>> >>>>>>But I have a fan, and as soon as I get me a screencap I'll be able >>>>>> >>>>>> >>> >>>to >>> >>> >>> >>>>>>see what I'm working on too. >>>>>> >>>>>>Matt Barton wrote: >>>>>> >>>>>> >>>>>> >>>>>>>>(28 days worth of rain in 18 hours... in July ... I love >>>>>>>> >>>>>>>> >>> >>>England.) >>> >>> >>> >>>>>>>Ahem... >>>>>>> >>>>>>>August. >>>>>>> >>>>>>> >>>>>>>----- Original Message ----- >>>>>>>From: >>>>>>>To: "[JavaScript List]" >>>>>>>Sent: Monday, August 09, 2004 8:10 PM >>>>>>>Subject: [Javascript] Creating a division on the fly >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Is it possible to create a division on the fly by clicking on a >>>>>>>> >>>>>>>> >>> >>>button >>> >>> >>> >>>>>and >>>>> >>>>> >>>>> >>>>>>>>then start dragging that newly created division within the page >>>>>>>> >>>>>>>> >>> >>>? >>> >>> >>> >>>>>>>>_______________________________________________ >>>>>>>>Javascript mailing list >>>>>>>>Javascript at LaTech.edu >>>>>>>>https://lists.LaTech.edu/mailman/listinfo/javascript >>>>>>>> >>>>>>>>-- >>>>>>>>This email has been verified as Virus free >>>>>>>>Virus Protection and more available at http://www.plus.net >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>>_______________________________________________ >>>>>>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 >>>>>_______________________________________________ >>>>>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 >>>> >>>>-- >>>>This email has been verified as Virus free >>>>Virus Protection and more available at http://www.plus.net >>>> >>>>_______________________________________________ >>>>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 >>>_______________________________________________ >>>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 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From spindrift at oceanfree.net Thu Aug 12 05:09:01 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Thu, 12 Aug 2004 11:09:01 +0100 Subject: [Javascript] Content Retrieval References: <4D23F350-E7C4-11D8-ADB1-000A95D76554@telephag.nu><4113F6EF.8090405@economisa.com.br><41140125.5020806@economisa.com.br><003a01c47df1$ef3d5160$7a48a8c0@PaulsLaptop> <006801c47e09$4b143f00$7a48a8c0@PaulsLaptop><029901c47e44$77ec3060$0e859bcf@mustafa><41192561.5070600@denhaag.org> <008901c47f81$14746e60$6994cbc1@ic7g><002301c47f81$1d2c0770$2399a8c0@selima.co.uk> <411B3C5E.7020406@seacrets.com> Message-ID: <001d01c48054$6ae4bc40$4bac02d4@ic7g> Thanks, but I'll try the easy way first. Tim in Ireland. ----- Original Message ----- From: "Cutter" To: "[JavaScript List]" Sent: Thursday, August 12, 2004 10:46 AM Subject: Re: [Javascript] Content Retrieval > Server-side scripting. You could use CFHTTP (ColdFusion tag) in a CF > page you parse on the free version of BlueDragon 6.1 (newatlanta.com). > > Cutter > > Matt Barton wrote: > > >Morning. > > > >You could use the xmlhttp activeX control to do this client-side in IE, but > >whenever I've had to do this before, I've found a server-side approach much > >more useful (no browser compatibility issues). I have used curl on a *nix > >platform to get the webpage and then extract the required strings - and that > >worked perfectly. But for that you'd need a *nix server - I'm not sure what > >you would do if your server was a windows machine... (perhaps a server-side > >implementation of xml-http???) > > > >Do you have scope for a server-side approach, or is it a client side > >solution you want? If it's server-side, what is the platform? > > > >Matt > > > >----- Original Message ----- > >From: "Tim Makins" > >To: "[JavaScript List]" > >Sent: Wednesday, August 11, 2004 9:45 AM > >Subject: [Javascript] Content Retrieval > > > > > > > > > >>There is a webpage on the web that has dynamic content. On this page, two > >>text strings always appear in the same place. I would like to retrieve > >> > >> > >these > > > > > >>text strings and place them in a variable on my own page. Any ideas ? > >> > >>Tim in Ireland. > >> > >>_______________________________________________ > >>Javascript mailing list > >>Javascript at LaTech.edu > >>https://lists.LaTech.edu/mailman/listinfo/javascript > >> > >>-- > >>This email has been verified as Virus free > >>Virus Protection and more available at http://www.plus.net > >> > >> > > > >_______________________________________________ > >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 sal.perconte at verizon.net Thu Aug 12 05:42:41 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Thu, 12 Aug 2004 06:42:41 -0400 Subject: [Javascript] does list maintain a library Message-ID: Hi, I'm new here. Does this list maintain a members' produced library similar to the Wiki section of the CSS-d list? Thanks, Sal From flavio at economisa.com.br Thu Aug 12 07:15:19 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Thu, 12 Aug 2004 09:15:19 -0300 Subject: [Javascript] does list maintain a library In-Reply-To: References: Message-ID: <411B5F57.1040409@economisa.com.br> Sal Perconte escreveu: >Hi, >I'm new here. Does this list maintain a >members' produced library similar to the >Wiki section of the CSS-d list? >Thanks, >Sal > > > Yes. Try https://lists.latech.edu//pipermail/javascript/ this link was found in https://lists.latech.edu/mailman/listinfo/javascript --- Flavio Gomes flavio at economisa.com.br From ShawnMilo at runbox.com Thu Aug 12 09:40:07 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 10:40:07 -0400 (EDT) Subject: [Javascript] Handling child window visibility... Message-ID: I have a form which has a target attribute. This way, when someone clicks the submit button on a page which contains a Java graph applet, a new window opens with a table of statistics based upon the data in the chart. If the window is already open, it will simply refresh. This is fine, but my concern is that if the new window is in the background, users will fail to realize this, click repeatedly, then call me for help. I have thought of two options. The first is (if possible) to check for the existance of the window during onclick and close it. The second is to put JavaScript in the onload of the new window to bring it to the top. Are either of these possible, and are either of these recommended? Any other solutions? I am not creating this window with JavaScript by using window.open() or anything -- just a normal HTML form with target="statWindow" in the declaration. Thanks, Shawn From pmcguire at cguk.co.uk Thu Aug 12 09:46:51 2004 From: pmcguire at cguk.co.uk (Paul McGuire) Date: Thu, 12 Aug 2004 15:46:51 +0100 Subject: [Javascript] Handling child window visibility... References: Message-ID: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> Put the above in the popup window code, it will pop it to the front on most operating systems, on win 2k and XP it flashes the taskbar tab. Paul ----- Original Message ----- From: "Shawn Milo" To: Sent: Thursday, August 12, 2004 3:40 PM Subject: [Javascript] Handling child window visibility... I have a form which has a target attribute. This way, when someone clicks the submit button on a page which contains a Java graph applet, a new window opens with a table of statistics based upon the data in the chart. If the window is already open, it will simply refresh. This is fine, but my concern is that if the new window is in the background, users will fail to realize this, click repeatedly, then call me for help. I have thought of two options. The first is (if possible) to check for the existance of the window during onclick and close it. The second is to put JavaScript in the onload of the new window to bring it to the top. Are either of these possible, and are either of these recommended? Any other solutions? I am not creating this window with JavaScript by using window.open() or anything -- just a normal HTML form with target="statWindow" in the declaration. Thanks, Shawn _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From javascript at mattbarton.org Thu Aug 12 09:52:36 2004 From: javascript at mattbarton.org (Matt Barton) Date: Thu, 12 Aug 2004 15:52:36 +0100 Subject: [Javascript] Handling child window visibility... References: Message-ID: <003f01c4807c$023256d0$2799a8c0@selima.co.uk> The first thing which popped into my head would be to put this into the second page ... Try it - not sure, but it should do the job. Matt ----- Original Message ----- From: "Shawn Milo" To: Sent: Thursday, August 12, 2004 3:40 PM Subject: [Javascript] Handling child window visibility... I have a form which has a target attribute. This way, when someone clicks the submit button on a page which contains a Java graph applet, a new window opens with a table of statistics based upon the data in the chart. If the window is already open, it will simply refresh. This is fine, but my concern is that if the new window is in the background, users will fail to realize this, click repeatedly, then call me for help. I have thought of two options. The first is (if possible) to check for the existance of the window during onclick and close it. The second is to put JavaScript in the onload of the new window to bring it to the top. Are either of these possible, and are either of these recommended? Any other solutions? I am not creating this window with JavaScript by using window.open() or anything -- just a normal HTML form with target="statWindow" in the declaration. Thanks, Shawn _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net From hakan at backbase.com Thu Aug 12 09:53:18 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Thu, 12 Aug 2004 16:53:18 +0200 Subject: [Javascript] Handling child window visibility... In-Reply-To: References: Message-ID: <411B845E.9070702@backbase.com> In the document inside the popup window, add this: Should do the trick. Regards, H Shawn Milo wrote: > I have a form which has a target attribute. This way, > when someone clicks the submit button on a page which > contains a Java graph applet, a new window opens with > a table of statistics based upon the data in the chart. > > If the window is already open, it will simply refresh. > This is fine, but my concern is that if the new window > is in the background, users will fail to realize this, click > repeatedly, then call me for help. > > I have thought of two options. The first is (if possible) > to check for the existance of the window during onclick > and close it. The second is to put JavaScript in the > onload of the new window to bring it to the top. > > Are either of these possible, and are either > of these recommended? Any other solutions? > > I am not creating this window with JavaScript by > using window.open() or anything -- > just a normal HTML form with target="statWindow" > in the declaration. > > Thanks, > Shawn > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From THerman at jerviswebb.com Thu Aug 12 09:58:51 2004 From: THerman at jerviswebb.com (THerman at jerviswebb.com) Date: Thu, 12 Aug 2004 10:58:51 -0400 Subject: [Javascript] Handling child window visibility... Message-ID: <559E52463E8ED311BEA60090279CCE6D01824067@HAEXCHANGE> var xParameters = this.value var xRetValues = window.showModalDialog("/YOUR PATH/YOUR PAGE.???", xParameters(IF NECCASSARY), "dialogHeight: 550px; dialogWidth: 450px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: No; status:No;", xRetValues); -----Original Message----- From: Hakan Magnusson (Backbase) [mailto:hakan at backbase.com] Sent: Thursday, August 12, 2004 10:53 AM To: [JavaScript List] Subject: Re: [Javascript] Handling child window visibility... In the document inside the popup window, add this: Should do the trick. Regards, H Shawn Milo wrote: > I have a form which has a target attribute. This way, > when someone clicks the submit button on a page which > contains a Java graph applet, a new window opens with > a table of statistics based upon the data in the chart. > > If the window is already open, it will simply refresh. > This is fine, but my concern is that if the new window > is in the background, users will fail to realize this, click > repeatedly, then call me for help. > > I have thought of two options. The first is (if possible) > to check for the existance of the window during onclick > and close it. The second is to put JavaScript in the > onload of the new window to bring it to the top. > > Are either of these possible, and are either > of these recommended? Any other solutions? > > I am not creating this window with JavaScript by > using window.open() or anything -- > just a normal HTML form with target="statWindow" > in the declaration. > > Thanks, > Shawn > _______________________________________________ > 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 ShawnMilo at runbox.com Thu Aug 12 10:23:46 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 11:23:46 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, was: Handling child window visibility... In-Reply-To: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> Message-ID: Paul, Mat, and Hakan, Thanks for the advice. The following did the trick: I do not want to force the window to remain on top, so I will not be scripting the onblur event. Follow-up question: Although this works, it does not bring up the window until the page has loaded (obviously), and since the page is running some ASP code and reading from a database, it could take a few seconds. In that time, the person could click the button again, thus re-starting the entire process. So is there a way to, from JavaScript included on the main page, bring that window to the fore? If not, I suppose that I could always disable the button temporarily, and replace the button value with 'Please Wait'. Ideas? T Herman, That is a very useful-looking script. However, I can't use it here, because the new window is being opened by a form submission, not by a JavaScript event. Thank, all! Shawn From javascript at mattbarton.org Thu Aug 12 10:33:17 2004 From: javascript at mattbarton.org (Matt Barton) Date: Thu, 12 Aug 2004 16:33:17 +0100 Subject: [Javascript] Thanks & follow-up, was: Handling child windowvisibility... References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> Message-ID: <005301c48081$b159ded0$2799a8c0@selima.co.uk> Since you're creating the window with form submission, I don't think there's anyway you can reference the resultant window in javascript in the original page. I'd love to be corrected, but to the best of my understanding it won't be possible. Your second suggestion might be feasible though: you could have an onClick event on the submit button which ran a routine which deactivated the button: However, you'd then be left with the question of how to make the button active again... I'm not sure I'd approach the whole thing with a page submission in the first place: it'd be easier to handle if the window was opened via javascript - you then have a scripting relationship between parent and child windows and can manipulate one from the other as you see fit... Not much help I'm afraid ... Matt ----- Original Message ----- From: "Shawn Milo" To: Sent: Thursday, August 12, 2004 4:23 PM Subject: Re: [Javascript] Thanks & follow-up, was: Handling child windowvisibility... Paul, Mat, and Hakan, Thanks for the advice. The following did the trick: I do not want to force the window to remain on top, so I will not be scripting the onblur event. Follow-up question: Although this works, it does not bring up the window until the page has loaded (obviously), and since the page is running some ASP code and reading from a database, it could take a few seconds. In that time, the person could click the button again, thus re-starting the entire process. So is there a way to, from JavaScript included on the main page, bring that window to the fore? If not, I suppose that I could always disable the button temporarily, and replace the button value with 'Please Wait'. Ideas? T Herman, That is a very useful-looking script. However, I can't use it here, because the new window is being opened by a form submission, not by a JavaScript event. Thank, all! Shawn _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net From peter at brunone.com Thu Aug 12 10:34:11 2004 From: peter at brunone.com (Peter Brunone) Date: Thu, 12 Aug 2004 10:34:11 -0500 Subject: [Javascript] OT: Beverages (was Weather Reports) In-Reply-To: <004801c48051$22ba7d90$7a48a8c0@PaulsLaptop> Message-ID: <005201c48081$d105c7d0$0502a8c0@monkeyhouse> Seems like it... Today in Dallas we're supposed to have a high of 85... In MID-AUGUST! Last night we dipped below 65. Unreal. -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Paul McGuire It seems like were suffering from Global Cooling? ----- Original Message ----- From: "Cutter" > Mark, > > 97-98? My time in OK in August was more like 110-120 (Ft Still - '87, > '89-'91). If it's cooled off that bad then this global warming thing > really is getting out of hand... From rer at datacompusa.com Thu Aug 12 10:52:21 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Thu, 12 Aug 2004 11:52:21 -0400 Subject: [Javascript] Thanks & follow-up, was: Handling child windowvisibility... In-Reply-To: <005301c48081$b159ded0$2799a8c0@selima.co.uk> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> Message-ID: <98E3D7CA-EC77-11D8-AD21-00306572FCC8@datacompusa.com> On Aug 12, 2004, at 11:33 AM, Matt Barton wrote: > Since you're creating the window with form submission, I don't think > there's > anyway you can reference the resultant window in javascript in the > original > page. I'd love to be corrected, but to the best of my understanding it > won't be possible. I have used the 'disable the submit button' before and there are some caveats. I have had put the disable code into a function that is called with a short setTimeout() because some browsers wouldn't include the submit button in the form data if the button is diabled before th form is submitted. You could extend this technique to add a second longer setTimeout() to re-enable the button. Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From hakan at backbase.com Thu Aug 12 10:54:33 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Thu, 12 Aug 2004 17:54:33 +0200 Subject: [Javascript] Thanks & follow-up, was: Handling child windowvisibility... In-Reply-To: <005301c48081$b159ded0$2799a8c0@selima.co.uk> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> Message-ID: <411B92B9.4090702@backbase.com> Try finding the window that the form opens through the name you specify with target.
I'd be willing to bet Matts mortgage that this works. Regards, H Matt Barton wrote: > Since you're creating the window with form submission, I don't think there's > anyway you can reference the resultant window in javascript in the original > page. I'd love to be corrected, but to the best of my understanding it > won't be possible. > > Your second suggestion might be feasible though: you could have an onClick > event on the submit button which ran a routine which deactivated the button: > > > onClick="fDisableButton(this)"> > > > > However, you'd then be left with the question of how to make the button > active again... > > I'm not sure I'd approach the whole thing with a page submission in the > first place: it'd be easier to handle if the window was opened via > javascript - you then have a scripting relationship between parent and child > windows and can manipulate one from the other as you see fit... > > Not much help I'm afraid ... > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Thursday, August 12, 2004 4:23 PM > Subject: Re: [Javascript] Thanks & follow-up, was: Handling child > windowvisibility... > > > Paul, Mat, and Hakan, > > Thanks for the advice. The following did the trick: > > > I do not want to force the window to remain on top, > so I will not be scripting the onblur event. > > Follow-up question: Although this works, it does not > bring up the window until the page has loaded (obviously), > and since the page is running some ASP code and reading > from a database, it could take a few seconds. In that time, > the person could click the button again, thus re-starting > the entire process. > > So is there a way to, from JavaScript included on the main > page, bring that window to the fore? If not, I suppose that > I could always disable the button temporarily, and replace > the button value with 'Please Wait'. Ideas? > > T Herman, > > That is a very useful-looking script. However, I can't > use it here, because the new window is being opened > by a form submission, not by a JavaScript event. > > Thank, all! > > Shawn > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From spindrift at oceanfree.net Thu Aug 12 10:55:09 2004 From: spindrift at oceanfree.net (Tim Makins) Date: Thu, 12 Aug 2004 16:55:09 +0100 Subject: [Javascript] Thanks & follow-up, was: Handling child windowvisibility... References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> Message-ID: <00a301c48084$c10846c0$17a0a5c2@ic7g> Instead of loading your code to a popup window (which people hate/disable anyway), why not load it to an iframe on your existing page. Then it will always be visible... Tim in Ireland. > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Thursday, August 12, 2004 4:23 PM > Subject: Re: [Javascript] Thanks & follow-up, was: Handling child > windowvisibility... > > Follow-up question: Although this works, it does not > bring up the window until the page has loaded (obviously), > and since the page is running some ASP code and reading > from a database, it could take a few seconds. In that time, > the person could click the button again, thus re-starting > the entire process. > > So is there a way to, from JavaScript included on the main > page, bring that window to the fore? If not, I suppose that > I could always disable the button temporarily, and replace > the button value with 'Please Wait'. Ideas? From javascript at mattbarton.org Thu Aug 12 10:59:19 2004 From: javascript at mattbarton.org (Matt Barton) Date: Thu, 12 Aug 2004 16:59:19 +0100 Subject: [Javascript] Thanks & follow-up, was: Handling child windowvisibility... References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> <411B92B9.4090702@backbase.com> Message-ID: <005f01c48085$53fc0ed0$2799a8c0@selima.co.uk> > Try finding the window that the form opens through the name you specify > with target. > > Nice solution. > I'd be willing to bet Matts mortgage that this works. LOL! That's very kind of you! Hard up against a deadline atm, so not got luxury of time to try it... if anyone does try it please could they post their findings to the group: I'd love to know if it works. M From hassan at webtuitive.com Thu Aug 12 11:00:27 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Thu, 12 Aug 2004 09:00:27 -0700 Subject: [Javascript] Thanks & follow-up, was: Handling child window visibility... In-Reply-To: References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> Message-ID: <411B941B.402@webtuitive.com> Shawn Milo wrote: > Follow-up question: Although this works, it does not > bring up the window until the page has loaded (obviously), > and since the page is running some ASP code and reading > from a database, it could take a few seconds. In that time, > the person could click the button again, thus re-starting > the entire process. > > So is there a way to, from JavaScript included on the main > page, bring that window to the fore? If not, I suppose that > I could always disable the button temporarily, and replace > the button value with 'Please Wait'. Ideas? Alternatively, you could decouple your popup window from the running background process by using frames or an iframe, so the main part of the window loads immediately, grabs focus, and waits for the DB data (while possibly displaying a "loading..." message). FWIW, -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From javascript at mattbarton.org Thu Aug 12 11:12:36 2004 From: javascript at mattbarton.org (Matt Barton) Date: Thu, 12 Aug 2004 17:12:36 +0100 Subject: [Javascript] Thanks & follow-up, was: Handling child window visibility... References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <411B941B.402@webtuitive.com> Message-ID: <006b01c48087$2ea45b40$2799a8c0@selima.co.uk> From: "Hassan Schroeder" > > Alternatively, you could decouple your popup window from the running > background process by using frames or an iframe, so the main part of > the window loads immediately, grabs focus, and waits for the DB data > (while possibly displaying a "loading..." message). This is probably the method I'd favour if it were my call. You get the benefit of being able to bring the window to the front immediately, but also, with a "Loading..." message you're managing the expectations of your user; In my experience a user is much happier waiting (a short time) for something if they can see a little spinning twiddly saying 'Loading ...'. Matt From javascript at mattbarton.org Thu Aug 12 11:21:30 2004 From: javascript at mattbarton.org (Matt Barton) Date: Thu, 12 Aug 2004 17:21:30 +0100 Subject: [Javascript] Bizarre IE behaviour. Message-ID: <007301c48088$6d088900$2799a8c0@selima.co.uk> This is probably me being fantastically short sighted, but I've noticed behaviour in IE this afternoon which was wholey unexpected, and also plain wrong ("so tell us something new", say the open source fraternity). This is the situation. I have a very simple page: ---------------------------- -------------------- When it loads I would expect to see six consecutive alert boxes containing, in order, the following strings: "09", "06", "2004", "9", "6", "2004". However, in IE6/Win (on two separate machines in my office) the fourth alert box contains "0". Does anyone else see this behaviour? Tell me I'm not going mad ... Oh - I've tested it on Opera (the only other browser I have immediate access to without installing another) and it works exactly as I would expect it to. Matt From LaurentM at london.virgin.net Thu Aug 12 11:30:51 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Thu, 12 Aug 2004 17:30:51 +0100 Subject: [Javascript] Bizarre IE behaviour. Message-ID: <1A847600F409D711B52C0001FAFFF337046F62C2@vnetxu01.london.virgin.net> Hi No you not going mad I got the same behaviour it also behave the same in firefox if you want to convert this value to number then I will recommend to use Number(strDay) Laurent -----Original Message----- From: Matt Barton [mailto:javascript at mattbarton.org] Sent: 12 August 2004 17:22 To: [JavaScript List] Subject: [Javascript] Bizarre IE behaviour. This is probably me being fantastically short sighted, but I've noticed behaviour in IE this afternoon which was wholey unexpected, and also plain wrong ("so tell us something new", say the open source fraternity). This is the situation. I have a very simple page: ---------------------------- -------------------- When it loads I would expect to see six consecutive alert boxes containing, in order, the following strings: "09", "06", "2004", "9", "6", "2004". However, in IE6/Win (on two separate machines in my office) the fourth alert box contains "0". Does anyone else see this behaviour? Tell me I'm not going mad ... Oh - I've tested it on Opera (the only other browser I have immediate access to without installing another) and it works exactly as I would expect it to. Matt _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From allard-schripsema at procergs.rs.gov.br Thu Aug 12 11:48:56 2004 From: allard-schripsema at procergs.rs.gov.br (Allard Schripsema) Date: Thu, 12 Aug 2004 13:48:56 -0300 Subject: [Javascript] Bizarre IE behaviour. In-Reply-To: <1A847600F409D711B52C0001FAFFF337046F62C2@vnetxu01.london.virgin.net> Message-ID: Hi your problem reproduced here replacing var intDay = parseInt (strDay); for var intDay = strDay-1+1; works though.... seems to be a bug, doesn?t it.... -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Laurent Muchacho Sent: Thursday, August 12, 2004 1:31 PM To: '[JavaScript List]' Subject: RE: [Javascript] Bizarre IE behaviour. Hi No you not going mad I got the same behaviour it also behave the same in firefox if you want to convert this value to number then I will recommend to use Number(strDay) Laurent -----Original Message----- From: Matt Barton [mailto:javascript at mattbarton.org] Sent: 12 August 2004 17:22 To: [JavaScript List] Subject: [Javascript] Bizarre IE behaviour. This is probably me being fantastically short sighted, but I've noticed behaviour in IE this afternoon which was wholey unexpected, and also plain wrong ("so tell us something new", say the open source fraternity). This is the situation. I have a very simple page: ---------------------------- -------------------- When it loads I would expect to see six consecutive alert boxes containing, in order, the following strings: "09", "06", "2004", "9", "6", "2004". However, in IE6/Win (on two separate machines in my office) the fourth alert box contains "0". Does anyone else see this behaviour? Tell me I'm not going mad ... Oh - I've tested it on Opera (the only other browser I have immediate access to without installing another) and it works exactly as I would expect it to. Matt _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From ShawnMilo at runbox.com Thu Aug 12 12:06:27 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:06:27 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, In-Reply-To: <005301c48081$b159ded0$2799a8c0@selima.co.uk> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> Message-ID: I'm pretty sure you are right. I've come up with a scheme that I think will do the trick. I'm going to disable the button, then let JS in the *new* window reach into the parent and re-enable the button. I'll post code when it's working. I'm about 80% there, but I haven't quite figured out the syntax to access the form on the parent (window.parent.main.document.forms or something like that). Shawn > Since you're creating the window with form submission, I don't think there's > anyway you can reference the resultant window in javascript in the original > page. I'd love to be corrected, but to the best of my understanding it > won't be possible. > > Your second suggestion might be feasible though: you could have an onClick > event on the submit button which ran a routine which deactivated the button: > > > onClick="fDisableButton(this)"> > > > > However, you'd then be left with the question of how to make the button > active again... > > I'm not sure I'd approach the whole thing with a page submission in the > first place: it'd be easier to handle if the window was opened via > javascript - you then have a scripting relationship between parent and child > windows and can manipulate one from the other as you see fit... > > Not much help I'm afraid ... > > Matt > > ----- Original Message ----- > From: "Shawn Milo" > To: > Sent: Thursday, August 12, 2004 4:23 PM > Subject: Re: [Javascript] Thanks & follow-up, was: Handling child > windowvisibility... > > > Paul, Mat, and Hakan, > > Thanks for the advice. The following did the trick: > > > I do not want to force the window to remain on top, > so I will not be scripting the onblur event. > > Follow-up question: Although this works, it does not > bring up the window until the page has loaded (obviously), > and since the page is running some ASP code and reading > from a database, it could take a few seconds. In that time, > the person could click the button again, thus re-starting > the entire process. > > So is there a way to, from JavaScript included on the main > page, bring that window to the fore? If not, I suppose that > I could always disable the button temporarily, and replace > the button value with 'Please Wait'. Ideas? > > T Herman, > > That is a very useful-looking script. However, I can't > use it here, because the new window is being opened > by a form submission, not by a JavaScript event. > > Thank, all! > > Shawn > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From ShawnMilo at runbox.com Thu Aug 12 12:07:07 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:07:07 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, In-Reply-To: <98E3D7CA-EC77-11D8-AD21-00306572FCC8@datacompusa.com> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> <98E3D7CA-EC77-11D8-AD21-00306572FCC8@datacompusa.com> Message-ID: You are right, and in ASP the button's value would not be passed. Fortunately, however, I am not using the button's value in the child page, so this isn't a problem. Shawn > On Aug 12, 2004, at 11:33 AM, Matt Barton wrote: > > > Since you're creating the window with form submission, I don't think > > there's > > anyway you can reference the resultant window in javascript in the > > original > > page. I'd love to be corrected, but to the best of my understanding it > > won't be possible. > > I have used the 'disable the submit button' before and there are some > caveats. I have had put the disable code into a function that is > called with a short setTimeout() because some browsers wouldn't include > the submit button in the form data if the button is diabled before th > form is submitted. You could extend this technique to add a second > longer setTimeout() to re-enable the button. > > > Roger > ------------------------------------------------------- > Roger Roelofs web www.datacompusa.com > Datacomp Appraisal Services web www.mhvillage.com > 3215 Eaglecrest Drive, NE Email rer at datacompusa.com > Grand Rapids, MI 49525-4593 > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From ShawnMilo at runbox.com Thu Aug 12 12:09:37 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:09:37 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, In-Reply-To: <00a301c48084$c10846c0$17a0a5c2@ic7g> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> <00a301c48084$c10846c0$17a0a5c2@ic7g> Message-ID: I am not using a popup window at all, I'm using a form which has another window as the target. An iframe would not be a good idea because of the quantity of data (up to five html tables of up to 14 lines each with statistical data). This is for an intranet project for work, so I'm not inflicting this on a public audience, anyway. Plus, they are all forced to use IE, so they can't block the popups, even if I was using them, which I wouldn't, because they suck. :o) Shawn > Instead of loading your code to a popup window (which people hate/disable > anyway), why not load it to an iframe on your existing page. Then it will > always be visible... > > Tim in Ireland. > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Thursday, August 12, 2004 4:23 PM > > Subject: Re: [Javascript] Thanks & follow-up, was: Handling child > > windowvisibility... > > > > Follow-up question: Although this works, it does not > > bring up the window until the page has loaded (obviously), > > and since the page is running some ASP code and reading > > from a database, it could take a few seconds. In that time, > > the person could click the button again, thus re-starting > > the entire process. > > > > So is there a way to, from JavaScript included on the main > > page, bring that window to the fore? If not, I suppose that > > I could always disable the button temporarily, and replace > > the button value with 'Please Wait'. Ideas? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From ShawnMilo at runbox.com Thu Aug 12 12:10:17 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:10:17 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, In-Reply-To: <411B92B9.4090702@backbase.com> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> <411B92B9.4090702@backbase.com> Message-ID: This doesn't work -- I've tried it. I would be very glad if you could find syntax which *does* work, and does exactly this. Shawn > Try finding the window that the form opens through the name you specify > with target. > > > > I'd be willing to bet Matts mortgage that this works. > > Regards, > H > > > Matt Barton wrote: > > > Since you're creating the window with form submission, I don't think there's > > anyway you can reference the resultant window in javascript in the original > > page. I'd love to be corrected, but to the best of my understanding it > > won't be possible. > > > > Your second suggestion might be feasible though: you could have an onClick > > event on the submit button which ran a routine which deactivated the button: > > > > > > > onClick="fDisableButton(this)"> > > > > > > > > However, you'd then be left with the question of how to make the button > > active again... > > > > I'm not sure I'd approach the whole thing with a page submission in the > > first place: it'd be easier to handle if the window was opened via > > javascript - you then have a scripting relationship between parent and child > > windows and can manipulate one from the other as you see fit... > > > > Not much help I'm afraid ... > > > > Matt > > > > ----- Original Message ----- > > From: "Shawn Milo" > > To: > > Sent: Thursday, August 12, 2004 4:23 PM > > Subject: Re: [Javascript] Thanks & follow-up, was: Handling child > > windowvisibility... > > > > > > Paul, Mat, and Hakan, > > > > Thanks for the advice. The following did the trick: > > > > > > I do not want to force the window to remain on top, > > so I will not be scripting the onblur event. > > > > Follow-up question: Although this works, it does not > > bring up the window until the page has loaded (obviously), > > and since the page is running some ASP code and reading > > from a database, it could take a few seconds. In that time, > > the person could click the button again, thus re-starting > > the entire process. > > > > So is there a way to, from JavaScript included on the main > > page, bring that window to the fore? If not, I suppose that > > I could always disable the button temporarily, and replace > > the button value with 'Please Wait'. Ideas? > > > > T Herman, > > > > That is a very useful-looking script. However, I can't > > use it here, because the new window is being opened > > by a form submission, not by a JavaScript event. > > > > Thank, all! > > > > Shawn > > > > > > _______________________________________________ > > 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 ShawnMilo at runbox.com Thu Aug 12 12:11:43 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:11:43 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, In-Reply-To: <411B941B.402@webtuitive.com> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <411B941B.402@webtuitive.com> Message-ID: I'm of the "frames are evil" school of thought, and have worked to successfully remove them from our corporate intranet, now that I run it. As for iframes, I have no experience, but I see where one might come in handy for another aspect of this project. Shawn > Shawn Milo wrote: > > > Follow-up question: Although this works, it does not > > bring up the window until the page has loaded (obviously), > > and since the page is running some ASP code and reading > > from a database, it could take a few seconds. In that time, > > the person could click the button again, thus re-starting > > the entire process. > > > > So is there a way to, from JavaScript included on the main > > page, bring that window to the fore? If not, I suppose that > > I could always disable the button temporarily, and replace > > the button value with 'Please Wait'. Ideas? > > Alternatively, you could decouple your popup window from the running > background process by using frames or an iframe, so the main part of > the window loads immediately, grabs focus, and waits for the DB data > (while possibly displaying a "loading..." message). > > FWIW, > -- > 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 ShawnMilo at runbox.com Thu Aug 12 12:27:17 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:27:17 -0400 (EDT) Subject: [Javascript] Answer (maybe) to: Bizarre IE behaviour. In-Reply-To: <007301c48088$6d088900$2799a8c0@selima.co.uk> References: <007301c48088$6d088900$2799a8c0@selima.co.uk> Message-ID: I found this to be really, really interesting. So I did a little experiment: I noticed that it happened not just to the 9, but to the 8, as well. So I tried it up to 20, and got very odd results: parseInt('010') = 8, parseInt('011') = 9, and so on. That gave me a clue. It appears that the leading zero is prompting JS in IE to convert the string as though it were an octal or hex value or something like that. That's as far as I took the research. As a note of interest, I just upgraded my work machine to XP SP2, so I probably have the newest version of IE6 available, and this behaviour is still here. Shawn > This is probably me being fantastically short sighted, but I've noticed > behaviour in IE this afternoon which was wholey unexpected, and also plain > wrong ("so tell us something new", say the open source fraternity). > > This is the situation. I have a very simple page: > > ---------------------------- > > > > > > -------------------- > > When it loads I would expect to see six consecutive alert boxes containing, > in order, the following strings: "09", "06", "2004", "9", "6", "2004". > > However, in IE6/Win (on two separate machines in my office) the fourth alert > box contains "0". > > Does anyone else see this behaviour? Tell me I'm not going mad ... > > Oh - I've tested it on Opera (the only other browser I have immediate access > to without installing another) and it works exactly as I would expect it to. > > Matt > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From hakan at backbase.com Thu Aug 12 12:30:31 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Thu, 12 Aug 2004 19:30:31 +0200 Subject: [Javascript] Bizarre IE behaviour. In-Reply-To: <007301c48088$6d088900$2799a8c0@selima.co.uk> References: <007301c48088$6d088900$2799a8c0@selima.co.uk> Message-ID: <411BA937.6040001@backbase.com> You're not going mad, but unless you specify the radix argument parseInt tries to determine what kind of base you provide it with, and for strings that start with '0' it assumes an octal value. The solution is to specify the radix that parseInt should use (10 in your case, 16 for hexadecimal etc). Here's the code: The behaviour is the same for Mozilla, so I think it's safe to assume that this is how the function is supposed to work according to ECMAScript standards. Regards, H Matt Barton wrote: > This is probably me being fantastically short sighted, but I've noticed > behaviour in IE this afternoon which was wholey unexpected, and also plain > wrong ("so tell us something new", say the open source fraternity). > > This is the situation. I have a very simple page: > > ---------------------------- > > > > > > -------------------- > > When it loads I would expect to see six consecutive alert boxes containing, > in order, the following strings: "09", "06", "2004", "9", "6", "2004". > > However, in IE6/Win (on two separate machines in my office) the fourth alert > box contains "0". > > Does anyone else see this behaviour? Tell me I'm not going mad ... > > Oh - I've tested it on Opera (the only other browser I have immediate access > to without installing another) and it works exactly as I would expect it to. > > Matt > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From hakan at backbase.com Thu Aug 12 12:32:47 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Thu, 12 Aug 2004 19:32:47 +0200 Subject: [Javascript] Thanks & follow-up, In-Reply-To: References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> <00a301c48084$c10846c0$17a0a5c2@ic7g> Message-ID: <411BA9BF.4030401@backbase.com> If you're workplace is running XP and are planning to install SP2 they will have popup blocking in IE. ;) Regards, H Shawn Milo wrote: > I am not using a popup window at all, I'm using a form which has another window as the target. An iframe would not be a good idea because of the quantity of data (up to five html tables of up to 14 lines each with statistical data). > > This is for an intranet project for work, so I'm not inflicting this on a public audience, anyway. Plus, they are all forced to use IE, so they can't block the popups, even if I was using them, which I wouldn't, because they suck. :o) > > Shawn > > >>Instead of loading your code to a popup window (which people hate/disable >>anyway), why not load it to an iframe on your existing page. Then it will >>always be visible... >> >>Tim in Ireland. >> >> >>>----- Original Message ----- >>>From: "Shawn Milo" >>>To: >>>Sent: Thursday, August 12, 2004 4:23 PM >>>Subject: Re: [Javascript] Thanks & follow-up, was: Handling child >>>windowvisibility... >>> >>>Follow-up question: Although this works, it does not >>>bring up the window until the page has loaded (obviously), >>>and since the page is running some ASP code and reading >>>from a database, it could take a few seconds. In that time, >>>the person could click the button again, thus re-starting >>>the entire process. >>> >>>So is there a way to, from JavaScript included on the main >>>page, bring that window to the fore? If not, I suppose that >>>I could always disable the button temporarily, and replace >>>the button value with 'Please Wait'. Ideas? >> >>_______________________________________________ >>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 ShawnMilo at runbox.com Thu Aug 12 12:38:31 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 13:38:31 -0400 (EDT) Subject: [Javascript] Thanks & follow-up, In-Reply-To: <411BA9BF.4030401@backbase.com> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <005301c48081$b159ded0$2799a8c0@selima.co.uk> <00a301c48084$c10846c0$17a0a5c2@ic7g> <411BA9BF.4030401@backbase.com> Message-ID: You know, I typed that e-mail on a machine running XP SP2. ;-) However, the majority of of the company won't be on XP for a while. But either way, doing this the way I am does not trigger the popup blocker. Shawn > If you're workplace is running XP and are planning to install SP2 they > will have popup blocking in IE. ;) > > Regards, > H > > Shawn Milo wrote: > > > I am not using a popup window at all, I'm using a form which has another window as the target. An iframe would not be a good idea because of the quantity of data (up to five html tables of up to 14 lines each with statistical data). > > > > This is for an intranet project for work, so I'm not inflicting this on a public audience, anyway. Plus, they are all forced to use IE, so they can't block the popups, even if I was using them, which I wouldn't, because they suck. :o) > > > > Shawn > > > > > >>Instead of loading your code to a popup window (which people hate/disable > >>anyway), why not load it to an iframe on your existing page. Then it will > >>always be visible... > >> > >>Tim in Ireland. > >> > >> > >>>----- Original Message ----- > >>>From: "Shawn Milo" > >>>To: > >>>Sent: Thursday, August 12, 2004 4:23 PM > >>>Subject: Re: [Javascript] Thanks & follow-up, was: Handling child > >>>windowvisibility... > >>> > >>>Follow-up question: Although this works, it does not > >>>bring up the window until the page has loaded (obviously), > >>>and since the page is running some ASP code and reading > >>>from a database, it could take a few seconds. In that time, > >>>the person could click the button again, thus re-starting > >>>the entire process. > >>> > >>>So is there a way to, from JavaScript included on the main > >>>page, bring that window to the fore? If not, I suppose that > >>>I could always disable the button temporarily, and replace > >>>the button value with 'Please Wait'. Ideas? > >> > >>_______________________________________________ > >>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 > > From trojani2000 at hotmail.com Thu Aug 12 12:53:06 2004 From: trojani2000 at hotmail.com (Troy III Ajnej) Date: Thu, 12 Aug 2004 19:53:06 +0200 Subject: [Javascript] History files Message-ID: Browser history seem to be protected. I have tried this some years ago with ie4 and 5, but no success. My aim was to use the history navigation If the user has allready visited that page so I bypass the relload and server roundtrip loading it directly from the chache. But there should be hacks. I know there is a way to trap the rreferer so you know hwo navigated the user to your page but that's something completely legal, specially for companies that try to protect their prodcts from the crackers and also keep score on site's they pay for publicity. >From: "Sal Perconte" >Reply-To: "[JavaScript List]" >To: "Javascript MailingList" >Subject: [Javascript] History files >Date: Wed, 11 Aug 2004 20:09:19 -0400 > >Does anyone know how to get the >MSIE6 history (list of url's) into >any other program -- prefer Excel >or MSAccess >I do a tremendous load of surfing >for my consulting and I like to >prove to a client how much time >is involved in surfing and info >gathering -- but a long list of >url's would be impressive - >I solved it partially with screen >shots - not very good >Sal > >_______________________________________________ >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 hassan at webtuitive.com Thu Aug 12 13:55:34 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Thu, 12 Aug 2004 11:55:34 -0700 Subject: [Javascript] Thanks & follow-up, In-Reply-To: References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <411B941B.402@webtuitive.com> Message-ID: <411BBD26.1020300@webtuitive.com> Shawn Milo wrote: > I'm of the "frames are evil" school of thought Mmmm. I'd suggest that while frames cause problems when used for a standard content-oriented Web site, use for Web *applications* is another matter entirely. But YMMV. Of course, besides the IFRAME tag, you can also load HTML content into an OBJECT tag, as in which eliminates any frame-type issues you might have :-) FWIW! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From ShawnMilo at runbox.com Thu Aug 12 14:23:51 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Thu, 12 Aug 2004 15:23:51 -0400 (EDT) Subject: [Javascript] code: disable & re-enable button Message-ID: Here it is: In the tag of the main page: onsubmit="this.btnSubmit.disabled = true;" Doing it in the form tag was necessary because doing it in the onclick of the button cancels the form submission, and I didn't want to have to use another function in my .js include file. In the target window of the submitted form: This does the trick. If the window has not been opened yet, it pops up in front. If it's hiding in the background, the button is disabled until it loads, which obscures the main window anyway. Next time they go back to the main page, the button is enabled again. Now, the only problem here is if the second page blows up, due to some error with the database or something. I'll have to put something in there to reset the button after 10 seconds or so. Shawn From flavio at economisa.com.br Thu Aug 12 15:46:54 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Thu, 12 Aug 2004 17:46:54 -0300 Subject: [Javascript] Thanks & follow-up, In-Reply-To: <411BBD26.1020300@webtuitive.com> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <411B941B.402@webtuitive.com> <411BBD26.1020300@webtuitive.com> Message-ID: <411BD73E.30904@economisa.com.br> Hassan Schroeder escreveu: > > type="text/html" data="my-slow-content.html" > height="500px" width="600px" border="1" > standby="just waiting for this to load..."> > > > which eliminates any frame-type issues you might have :-) > > FWIW! Anyone could make it work? Was it supposed to show "just waiting for this to load..." somewhere? --- Flavio Gomes flavio at economisa.com.br From hassan at webtuitive.com Thu Aug 12 16:31:16 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Thu, 12 Aug 2004 14:31:16 -0700 Subject: [Javascript] Thanks & follow-up, In-Reply-To: <411BD73E.30904@economisa.com.br> References: <008b01c4807b$3441d980$7a48a8c0@PaulsLaptop> <411B941B.402@webtuitive.com> <411BBD26.1020300@webtuitive.com> <411BD73E.30904@economisa.com.br> Message-ID: <411BE1A4.4080600@webtuitive.com> Flavio Gomes wrote: >> > type="text/html" data="my-slow-content.html" >> height="500px" width="600px" border="1" >> standby="just waiting for this to load..."> >> > Anyone could make it work? > Was it supposed to show "just waiting for this to load..." somewhere? Per the spec, re' "standby": "This attribute specifies a message that a user agent may render while loading the object's implementation and data." 1) note the "may" -- the UA is not *required* to display it, and 2) it assumes the content isn't immediately available, which may be difficult to simulate in a test environment. -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From javascript at mattbarton.org Fri Aug 13 03:08:10 2004 From: javascript at mattbarton.org (Matt Barton) Date: Fri, 13 Aug 2004 09:08:10 +0100 Subject: [Javascript] Bizarre IE behaviour. References: <007301c48088$6d088900$2799a8c0@selima.co.uk> <411BA937.6040001@backbase.com> Message-ID: <00a101c4810c$ac5c3050$2799a8c0@selima.co.uk> Excellent. Thanks very much Hakan - that had me tearing my hair out. As it happens I got round it by doing: // ------- intDay = strDay / 1; // ------- ... but at least my mind is now at rest. Matt ----- Original Message ----- From: "Hakan Magnusson (Backbase)" To: "[JavaScript List]" Sent: Thursday, August 12, 2004 6:30 PM Subject: Re: [Javascript] Bizarre IE behaviour. > You're not going mad, but unless you specify the radix argument parseInt > tries to determine what kind of base you provide it with, and for > strings that start with '0' it assumes an octal value. The solution is > to specify the radix that parseInt should use (10 in your case, 16 for > hexadecimal etc). Here's the code: > > > > > > > > > The behaviour is the same for Mozilla, so I think it's safe to assume > that this is how the function is supposed to work according to > ECMAScript standards. > > Regards, > H > > > > Matt Barton wrote: > > This is probably me being fantastically short sighted, but I've noticed > > behaviour in IE this afternoon which was wholey unexpected, and also plain > > wrong ("so tell us something new", say the open source fraternity). > > > > This is the situation. I have a very simple page: > > > > ---------------------------- > > > > > > > > > > > > -------------------- > > > > When it loads I would expect to see six consecutive alert boxes containing, > > in order, the following strings: "09", "06", "2004", "9", "6", "2004". > > > > However, in IE6/Win (on two separate machines in my office) the fourth alert > > box contains "0". > > > > Does anyone else see this behaviour? Tell me I'm not going mad ... > > > > Oh - I've tested it on Opera (the only other browser I have immediate access > > to without installing another) and it works exactly as I would expect it to. > > > > Matt > > > > _______________________________________________ > > 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 > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net From sal.perconte at verizon.net Sat Aug 14 16:21:56 2004 From: sal.perconte at verizon.net (Sal Perconte) Date: Sat, 14 Aug 2004 17:21:56 -0400 Subject: [Javascript] blog ? Message-ID: Hi, I have Frontpage 2003. It has a discussion web template that puts each message on its own html page. I'd like to start a blog - what do most people use to program +/or structure the typical implementation of this? Is it a database with mySql or msAccess or ADO.NET -- can someone kindly aim this neophyte in the correct direction. Thank you all, sal From iztok.polanic at amis.net Sun Aug 15 03:24:48 2004 From: iztok.polanic at amis.net (Iztok Polanic) Date: Sun, 15 Aug 2004 10:24:48 +0200 Subject: [Javascript] blog ? In-Reply-To: Message-ID: <20040815082451.E75E0119C5@smtp2.volja.net> Hi! This is off topic but what can you do. I don't use blog but I found one which is quite impressive: http://www.bblog.com/ Bye, Iztok -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Sal Perconte Sent: 14. avgust 2004 23:22 To: Javascript MailingList Subject: [Javascript] blog ? Hi, I have Frontpage 2003. It has a discussion web template that puts each message on its own html page. I'd like to start a blog - what do most people use to program +/or structure the typical implementation of this? Is it a database with mySql or msAccess or ADO.NET -- can someone kindly aim this neophyte in the correct direction. Thank you all, sal _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From flavio at economisa.com.br Sun Aug 15 09:48:18 2004 From: flavio at economisa.com.br (flavio) Date: Sun, 15 Aug 2004 11:48:18 -0300 Subject: [Javascript] blog ? In-Reply-To: References: Message-ID: <1092581298.411f77b204e5f@webmail.economisa.com.br> Yeah, the most common is a template with a database mysql/sqlite. http://www.google.com/search?q=serendipity+weblog Citando Sal Perconte : > Hi, > I have Frontpage 2003. It has > a discussion web template that > puts each message on its own > html page. I'd like to start a > blog - what do most people use > to program +/or structure the > typical implementation of this? > Is it a database with mySql or > msAccess or ADO.NET -- can someone > kindly aim this neophyte in the > correct direction. > > Thank you all, > sal > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > --------------------------------------------------------------------- Mensagem enviada atrav?s do WebMail NetSol (http://www.netsol.psi.br) From richf at ukonline.co.uk Tue Aug 17 04:59:18 2004 From: richf at ukonline.co.uk (richf at ukonline.co.uk) Date: Tue, 17 Aug 2004 10:59:18 +0100 Subject: [Javascript] Form submission problem Message-ID: <1092736758.4121d6f6d8198@webmail.ukonline.net> Hi all, I am using the following code to try and give a text link to submit a form. I am sure I have done this before but it is not working ! Fill in missing information
Any ideas why ? I get a Error: document.errorform.submit is not a function Source File: javascript:document.errorform.submit(); Line: 1 Thanks, Richard ---------------------------------------------- This mail sent through http://www.ukonline.net From LaurentM at london.virgin.net Tue Aug 17 05:16:44 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Tue, 17 Aug 2004 11:16:44 +0100 Subject: [Javascript] Form submission problem Message-ID: <1A847600F409D711B52C0001FAFFF337046F62D9@vnetxu01.london.virgin.net> Hi The error is the input type submit called "submit" If you called your input type submit name="submit" then there will be a conflict when the browser will try to execute the function document.errorform.submit() the browser will then access the input type submit and then return the error you get. document.errorform = reference to your form document.errorform.submit = reference to the input type submit an input type submit is not a function but an object document.errorform.submit() = reference to the function to submit the form Hope this is clear Regards Laurent -----Original Message----- From: richf at ukonline.co.uk [mailto:richf at ukonline.co.uk] Sent: 17 August 2004 10:59 To: javascript at LaTech.edu Subject: [Javascript] Form submission problem Hi all, I am using the following code to try and give a text link to submit a form. I am sure I have done this before but it is not working ! Fill in missing information
Any ideas why ? I get a Error: document.errorform.submit is not a function Source File: javascript:document.errorform.submit(); Line: 1 Thanks, Richard ---------------------------------------------- This mail sent through http://www.ukonline.net _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From ScottHam at clientlogic.com Wed Aug 18 07:41:35 2004 From: ScottHam at clientlogic.com (Scott Hamm) Date: Wed, 18 Aug 2004 08:41:35 -0400 Subject: [Javascript] Scrolling image on header Message-ID: <48A8BDD0DC72F3458A713242E3848AAD07B84A89@L001N14> Using the existing code in my html:
And in CSSHScroller.js: function rollBackground(id, x, y, t) { obj = document.getElementById(id) if (obj.style) { bgPos = obj.style.backgroundPosition.split(' '); X = parseInt(bgPos[0]); Y = parseInt(bgPos[1]); obj.style.backgroundPosition = (X+x)+"px "+(Y+y)+"px"; } setTimeout("rollBackground('"+id+"', "+x+", "+y+", "+t+")", t); } rollBackground('layer0',-5,0,50) I've been trying to figure out a way to change javascript to run scrolling image on h1, h2, h3 and so on like so: Text Or if anyone have better idea, I would love to hear them! If possible use only this in html:
Some Text
Would be appreciated! :) From LaurentM at london.virgin.net Wed Aug 18 08:10:41 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Wed, 18 Aug 2004 14:10:41 +0100 Subject: [JavaScript] Scrolling image on header Message-ID: <1A847600F409D711B52C0001FAFFF337046F62E9@vnetxu01.london.virgin.net> Hi Scott The thing you need to add is the id in the element you want the background to scroll. If you look closely on your first examples with the DIV there is an id called layer0 and after the function rollBackground you do call this same function with the id of the specifique div if you reproduce this logic with any other element this should work. Laurent
Some Text
ps : if you declare your css this way remember that all h5 will have the same background image but only the on with id will then scroll I will recommend you to do this -----Original Message----- From: Scott Hamm [mailto:ScottHam at clientlogic.com] Sent: 18 August 2004 13:42 To: [JavaScript List] (E-mail) Subject: [Javascript] Scrolling image on header Using the existing code in my html:
And in CSSHScroller.js: function rollBackground(id, x, y, t) { obj = document.getElementById(id) if (obj.style) { bgPos = obj.style.backgroundPosition.split(' '); X = parseInt(bgPos[0]); Y = parseInt(bgPos[1]); obj.style.backgroundPosition = (X+x)+"px "+(Y+y)+"px"; } setTimeout("rollBackground('"+id+"', "+x+", "+y+", "+t+")", t); } rollBackground('layer0',-5,0,50) I've been trying to figure out a way to change javascript to run scrolling image on h1, h2, h3 and so on like so: Text Or if anyone have better idea, I would love to hear them! If possible use only this in html:
Some Text
Would be appreciated! :) _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From hakan at backbase.com Wed Aug 18 10:04:25 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Wed, 18 Aug 2004 17:04:25 +0200 Subject: [Javascript] Callback to script-tag from included script? Message-ID: <41236FF9.6050803@backbase.com> When using external scripts, does anybody know of a way to get a reference to the script tag that included the script? -- Example, HTML: -- The file external.js: // Should alert "css/default.css" alert(tagSelf.previousSibling.getAttribute('href')); -- I am not interested in solutions that involve setting variables or running scripts anywhere but inside external.js, the HTML must remain completely clean. Also, it must be a reasonable solid way of doing it in both IE and Mozilla. Regards, H From peter at brunone.com Wed Aug 18 10:30:25 2004 From: peter at brunone.com (Peter Brunone) Date: Wed, 18 Aug 2004 10:30:25 -0500 Subject: [Javascript] Callback to script-tag from included script? In-Reply-To: <41236FF9.6050803@backbase.com> Message-ID: <006101c48538$48e6e210$0502a8c0@monkeyhouse> H, What's the (non-technical) goal here? Are you trying to provide a script that other people can use and have it tell you where it's running? Peter -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Hakan Magnusson (Backbase) When using external scripts, does anybody know of a way to get a reference to the script tag that included the script? -- Example, HTML: -- The file external.js: // Should alert "css/default.css" alert(tagSelf.previousSibling.getAttribute('href')); -- I am not interested in solutions that involve setting variables or running scripts anywhere but inside external.js, the HTML must remain completely clean. Also, it must be a reasonable solid way of doing it in both IE and Mozilla. Regards, H From hakan at backbase.com Wed Aug 18 10:38:34 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Wed, 18 Aug 2004 17:38:34 +0200 Subject: [Javascript] Callback to script-tag from included script? In-Reply-To: <006101c48538$48e6e210$0502a8c0@monkeyhouse> References: <006101c48538$48e6e210$0502a8c0@monkeyhouse> Message-ID: <412377FA.4070702@backbase.com> Hi Peter, The goal is to read attributes from the script tag itself. I am actually free to add (some) attributes (non-html if I wish) to the script tag, but nothing else. > Are you trying to provide a script that other people can use and > have it tell you where it's running? I think you got it head on here. The location of the included script is exactly what I want. ANY property would be even better, but if this can be accomplished, I'm happy for now. I'm thinking about adding an id to the script tag, and then using document.getElementById(), since I think that would work on all targeted browsers. This is a far more ugly looking solution that I had hoped for, but my initial experiments gave me nothing. Regards, H Peter Brunone wrote: > H, > > What's the (non-technical) goal here? > > Are you trying to provide a script that other people can use and > have it tell you where it's running? > > Peter > > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu] On Behalf Of Hakan Magnusson > (Backbase) > > When using external scripts, does anybody know of a way to get a > reference to the script tag that included the script? > > -- Example, HTML: > > > > -- The file external.js: > > // Should alert "css/default.css" > alert(tagSelf.previousSibling.getAttribute('href')); > > -- > > I am not interested in solutions that involve setting variables or > running scripts anywhere but inside external.js, the HTML must remain > completely clean. > > Also, it must be a reasonable solid way of doing it in both IE and > Mozilla. > > Regards, > H > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From rer at datacompusa.com Wed Aug 18 10:56:00 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Wed, 18 Aug 2004 11:56:00 -0400 Subject: [Javascript] Callback to script-tag from included script? In-Reply-To: <412377FA.4070702@backbase.com> References: <006101c48538$48e6e210$0502a8c0@monkeyhouse> <412377FA.4070702@backbase.com> Message-ID: <199685F1-F12F-11D8-B992-00306572FCC8@datacompusa.com> On Aug 18, 2004, at 11:38 AM, Hakan Magnusson (Backbase) wrote: > Hi Peter, > > The goal is to read attributes from the script tag itself. I am > actually free to add (some) attributes (non-html if I wish) to the > script tag, but nothing else. > >> Are you trying to provide a script that other people can use and >> have it tell you where it's running? > > I think you got it head on here. The location of the included script > is exactly what I want. ANY property would be even better, but if this > can be accomplished, I'm happy for now. > > I'm thinking about adding an id to the script tag, Could you use document.location, or are there too many possible values? Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From hakan at backbase.com Wed Aug 18 11:12:45 2004 From: hakan at backbase.com (Hakan Magnusson (Backbase)) Date: Wed, 18 Aug 2004 18:12:45 +0200 Subject: [Javascript] Callback to script-tag from included script? In-Reply-To: <199685F1-F12F-11D8-B992-00306572FCC8@datacompusa.com> References: <006101c48538$48e6e210$0502a8c0@monkeyhouse> <412377FA.4070702@backbase.com> <199685F1-F12F-11D8-B992-00306572FCC8@datacompusa.com> Message-ID: <41237FFD.3050609@backbase.com> Hi Roger, Thanks for the input, but document.location is no good. Because this script file can be included from anywhere in the site structure, it must be able to reference to its "own" location. This also has to be unique for every HTML-file that includes the file, so fixing on a global variable for the (absolute) path, like sMyPath = '/blah/js/external.js', is no good either. If the page is in 'blah/' I need to have 'js/external.js' as the data, and if the page is in 'blah/bluh/' I need to have '../js/external.js' as the data. Wicked, eh? :) Regards, H From paul at novitskisoftware.com Wed Aug 18 11:45:53 2004 From: paul at novitskisoftware.com (Paul Novitski) Date: Wed, 18 Aug 2004 09:45:53 -0700 Subject: [Javascript] Callback to script-tag from included script? In-Reply-To: <41236FF9.6050803@backbase.com> References: <41236FF9.6050803@backbase.com> Message-ID: <6.0.1.1.2.20040818093103.0220ca80@spamarrest.com> At 08:04 AM 8/18/2004, Hakan Magnusson (Backbase) wrote: >When using external scripts, does anybody know of a way to get a reference >to the script tag that included the script? Hakan, IFF you knew the name of the external script, you could of course search the document's script elements looking for your script's name in each href attribute. Unfortunately this would only work if the script hadn't been renamed, and since you're talking about your script being used by other web designers maybe that's no kind of solution at all. - getElementsByTagName("SCRIPT") - search each array member for /external.js^/ - if found, expose all script element attributes Further idea: most of the scripts we write wait to execute until window.onload occurs. If your external script started executing as soon as it was read & incorporated by the browser, presumably the incomplete document would extend only as far as the script tag itself. If that were the case, could your external script examine the last element in the partial document to find its own external script tag? Paul At 08:04 AM 8/18/2004, Hakan Magnusson (Backbase) wrote: >When using external scripts, does anybody know of a way to get a reference >to the script tag that included the script? > >-- Example, HTML: > > > > >-- The file external.js: > >// Should alert "css/default.css" >alert(tagSelf.previousSibling.getAttribute('href')); > >-- > >I am not interested in solutions that involve setting variables or running >scripts anywhere but inside external.js, the HTML must remain completely clean. > >Also, it must be a reasonable solid way of doing it in both IE and Mozilla. > >Regards, >H >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From rer at datacompusa.com Wed Aug 18 11:46:02 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Wed, 18 Aug 2004 12:46:02 -0400 Subject: [Javascript] Callback to script-tag from included script? In-Reply-To: <41237FFD.3050609@backbase.com> References: <006101c48538$48e6e210$0502a8c0@monkeyhouse> <412377FA.4070702@backbase.com> <199685F1-F12F-11D8-B992-00306572FCC8@datacompusa.com> <41237FFD.3050609@backbase.com> Message-ID: <16E81B6A-F136-11D8-B992-00306572FCC8@datacompusa.com> Hakan, On Aug 18, 2004, at 12:12 PM, Hakan Magnusson (Backbase) wrote: > Hi Roger, > > Thanks for the input, but document.location is no good. Because this > script file can be included from anywhere in the site structure, it > must be able to reference to its "own" location. > > This also has to be unique for every HTML-file that includes the file, > so fixing on a global variable for the (absolute) path, like sMyPath = > '/blah/js/external.js', is no good either. > > If the page is in 'blah/' I need to have 'js/external.js' as the data, > and if the page is in 'blah/bluh/' I need to have '../js/external.js' > as the data. > > Wicked, eh? :) I don't have a copy of IE/win handy to test, but this works the same in Mozilla browsers, and in Safari. function getRef2Myself() { var aScripts = document.getElementsByTagName("script"); for ( var i = 0; i < aScripts.length; i++ ) { alert( i + ":" +aScripts[i].getAttribute("src")); // returns text of the attribute alert( i + ":" +aScripts[i].src); // returns full url that the text resolves to } } Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From dev at qroute.net Wed Aug 18 16:10:22 2004 From: dev at qroute.net (dev at qroute.net) Date: Wed, 18 Aug 2004 14:10:22 -0700 Subject: [Javascript] Getting the ip address References: <006101c48538$48e6e210$0502a8c0@monkeyhouse> <412377FA.4070702@backbase.com><199685F1-F12F-11D8-B992-00306572FCC8@datacompusa.com> <41237FFD.3050609@backbase.com> Message-ID: <02ee01c48567$c6192980$0e859bcf@mustafa> Can you get the IP address using Javacript ? location.hostaddress does not seem to work From iztok.polanic at amis.net Wed Aug 18 16:21:53 2004 From: iztok.polanic at amis.net (Iztok Polanic) Date: Wed, 18 Aug 2004 23:21:53 +0200 Subject: [Javascript] Getting the ip address In-Reply-To: <02ee01c48567$c6192980$0e859bcf@mustafa> Message-ID: <20040818212202.5FFAB77482@smtp1.volja.net> Hi! You can try with Java or with SSI. Bye, Iztok -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of dev at qroute.net Sent: 18. avgust 2004 23:10 To: [JavaScript List] Subject: [Javascript] Getting the ip address Can you get the IP address using Javacript ? location.hostaddress does not seem to work _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From dev at qroute.net Wed Aug 18 17:07:40 2004 From: dev at qroute.net (dev at qroute.net) Date: Wed, 18 Aug 2004 15:07:40 -0700 Subject: [Javascript] Getting the ip address References: <20040818212202.5FFAB77482@smtp1.volja.net> Message-ID: <030e01c4856f$c72bb150$0e859bcf@mustafa> I need the client IP not the server IP ? So the info would be different for each user. ----- Original Message ----- From: "Iztok Polanic" To: "'[JavaScript List]'" Sent: Wednesday, August 18, 2004 2:21 PM Subject: RE: [Javascript] Getting the ip address > Hi! > > You can try with Java or with SSI. > > Bye, > > Iztok > -----Original Message----- > From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] > On Behalf Of dev at qroute.net > Sent: 18. avgust 2004 23:10 > To: [JavaScript List] > Subject: [Javascript] Getting the ip address > > Can you get the IP address using Javacript ? > > location.hostaddress does not seem to work > > _______________________________________________ > 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 alejandro at xve.com Wed Aug 18 23:26:20 2004 From: alejandro at xve.com (Alejandro Celery) Date: Thu, 19 Aug 2004 01:26:20 -0300 Subject: [Javascript] Need help with a javascript issue Message-ID: <004201c485a4$b09c98c0$a200a8c0@laloxpprof> Hi, mi name is Alejandro. I can?t get netscape communicator 7.1 to follow a link properly on a certain webpage. IE does so correctly. It is to send text messages to cell phones. I checked the page source and this code i?ve pasted appears in black. Does this mean that this code is not NS compatible? Is there any way to fix this, or the page was designed with only IE in mind? This is my first post to the list, I apologize if i infringe any house rules. Thanks for your time. Saludos (greetings). Alejandro. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rer at datacompusa.com Thu Aug 19 07:29:57 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Thu, 19 Aug 2004 08:29:57 -0400 Subject: [Javascript] Need help with a javascript issue In-Reply-To: <004201c485a4$b09c98c0$a200a8c0@laloxpprof> References: <004201c485a4$b09c98c0$a200a8c0@laloxpprof> Message-ID: <7B7DF6D6-F1DB-11D8-B0D3-00306572FCC8@datacompusa.com> Alejandro, On Aug 19, 2004, at 12:26 AM, Alejandro Celery wrote: > Hi, mi name is Alejandro. > I can?t get netscape communicator 7.1 to follow a link properly on a > certain webpage. IE does so correctly. It is to send text messages to > cell phones. I checked the page source and this code i?ve pasted > appears in black. Does this mean that this code is not NS compatible? > Is there any way to fix this, or the page was designed with only IE in > mind? > This is my first post to the list, I apologize if i infringe any house > rules. Thanks for your time. > ? > Saludos (greetings). > Alejandro. > I don't see a problem with the code you posted. The function 'valvacio' is used in this bit of code, but is not shown. Can you post a url to this page? Debugging is much easier when we can see the whole process. Roger ------------------------------------------------------- Roger Roelofs web www.datacompusa.com Datacomp Appraisal Services web www.mhvillage.com 3215 Eaglecrest Drive, NE Email rer at datacompusa.com Grand Rapids, MI 49525-4593 From mdougherty at pbp.com Thu Aug 19 07:55:52 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Thu, 19 Aug 2004 08:55:52 -0400 Subject: [Javascript] Getting the ip address In-Reply-To: <030e01c4856f$c72bb150$0e859bcf@mustafa> Message-ID: Can you read the client IP server side and embed the value in a hidden field to use in your scripts once the page is rendered? It's so easy to do server-side, if you don't find a client-side solution with minimal effort, i'd recommend the path of least resistance. On Wed, 18 Aug 2004 15:07:40 -0700 wrote: >I need the client IP not the server IP ? So the info would be different for >each user. > >----- Original Message ----- >From: "Iztok Polanic" >To: "'[JavaScript List]'" >Sent: Wednesday, August 18, 2004 2:21 PM >Subject: RE: [Javascript] Getting the ip address > > >> Hi! >> >> You can try with Java or with SSI. >> >> Bye, >> >> Iztok >> -----Original Message----- >> From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] >> On Behalf Of dev at qroute.net >> Sent: 18. avgust 2004 23:10 >> To: [JavaScript List] >> Subject: [Javascript] Getting the ip address >> >> Can you get the IP address using Javacript ? >> >> location.hostaddress does not seem to work >> >> _______________________________________________ >> 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 From CNafziger at sauder.com Thu Aug 19 17:08:37 2004 From: CNafziger at sauder.com (Chris Nafziger) Date: Thu, 19 Aug 2004 18:08:37 -0400 Subject: [Javascript] Print the contents of a variable into the source Message-ID: <622A954DD517D411B20C00508BCF23B018B86AF8@mail.sauder.com> Really need some help on this one... Seemed easy enough at first... nextpage='results.php?kbps=' + kbps; // what can I do here to print the contents of the nextpage variable somewhere in the source? document.location.href=nextpage; Or //nextpage=results.php?kbps=1500 ...is what I need to see so it doesn't show up on the HTML page It's a long story involving SQL running a scheduled stored proc that executes pings, parses the results, summarizes the results, and sticks it in a database, along with this kbps value, retrieved from the source via a command line utility executed by the same stored procedure, so I end up with a table containing a constantly accumulating summary of speed, latency, and routing. I just need to get the contents of that variable into the source, so my parser can pick it up. Changing the other two lines of code, the other pages in the web, et cetera, is not an option. Like I said... Long story. How do I print the contents of a variable into the source? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This e-mail and any files transmitted with it may contain privileged, confidential, or proprietary information which may be protected from disclosure under law, and is intended solely for the use of the individual, group, or entity to whom this e-mail is addressed.? If you are not one of the named recipients, please notify the sender by e-mail and delete this message immediately from your computer.? Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.? Thank you for your assistance. From clancyjones at hotmail.com Thu Aug 19 17:27:00 2004 From: clancyjones at hotmail.com (Clancy Jones) Date: Fri, 20 Aug 2004 10:27:00 +1200 Subject: [Javascript] Convert raw HTML into a string Message-ID: Howdy neighbours, I have a vb script function that I use for converting raw HTML into a string: function convertHTMLToString(paramHTML) dim lvstrHTML lvstrHTML = paramHTML lvstrHTML = replace(lvstrHTML,chr(34),chr(34)&chr(34)) lvstrHTML = replace(lvstrHTML,""",chr(34)&chr(34)) lvstrHTML = replace(lvstrHTML,vbCrLf,chr(34) &" & vbNewLine & _" & vbCrLf & chr(34)) lvstrHTML = chr(34) & lvstrHTML & chr(34) convertHTMLToString = lvstrHTML end function I now want to replicate this function in javascript but am having a few problems. So far I've tried: function convertHTMLToString(paramHTML){ var lvstrHTML lvstrHTML = paramHTML lvstrHTML = lvstrHTML.replace(chr(34),chr(34)+chr(34)) lvstrHTML = lvstrHTML.replace(""",chr(34)+chr(34)) return lvstrHTML } The first "replace" line is causing an "object expected" error. Can someone help out with this? Thanks, Clancy PS: The purpose of this is to provide a "Send this spreadsheet by email" function by grabbing the innerHTML of a DIV which contains dynamic table data, convert the raw HTML into a string and then assign it as the value of a hidden field. The string can then be used as the content for an HTML formatted email message. _________________________________________________________________ Check out news, entertainment and more @ http://xtra.co.nz/broadband From hassan at webtuitive.com Thu Aug 19 18:24:30 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Thu, 19 Aug 2004 16:24:30 -0700 Subject: [Javascript] Convert raw HTML into a string In-Reply-To: References: Message-ID: <412536AE.3050405@webtuitive.com> Clancy Jones wrote: > Howdy neighbours, I have a vb script function that I use for converting > raw HTML into a string: > I now want to replicate this function in javascript but am having a few > problems. Uh, wouldn't escape() and unescape() pretty much take care of it? :-) -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From alejandro at xve.com Thu Aug 19 21:43:29 2004 From: alejandro at xve.com (Alejandro Celery) Date: Thu, 19 Aug 2004 23:43:29 -0300 Subject: [Javascript] Re: Javascript Digest, Vol 18, Issue 20 References: <20040819170008.9D25B30A721@LaTech.edu> Message-ID: <00b701c4865f$8f1e76d0$a200a8c0@laloxpprof> the url is www.cti.com.ar the bad link is to send text messages to a cell phone. What i make out, it?s a routine to validate several conditions about the message being sent, but it seems that NS doesn?t make it out right. At least, when i see the source, it shows black, not colored as anything recognizable. I know zip about javascript, but i know some C and it does look quite similar. Thanks again. Saludos. Alejandro. ------------------------------ Message: 4 Date: Thu, 19 Aug 2004 01:26:20 -0300 From: "Alejandro Celery" Subject: [Javascript] Need help with a javascript issue To: Message-ID: <004201c485a4$b09c98c0$a200a8c0 at laloxpprof> Content-Type: text/plain; charset="iso-8859-1" Hi, mi name is Alejandro. I can?t get netscape communicator 7.1 to follow a link properly on a certain webpage. IE does so correctly. It is to send text messages to cell phones. I checked the page source and this code i?ve pasted appears in black. Does this mean that this code is not NS compatible? Is there any way to fix this, or the page was designed with only IE in mind? This is my first post to the list, I apologize if i infringe any house rules. Thanks for your time. Saludos (greetings). Alejandro. Message: 5 Date: Thu, 19 Aug 2004 08:29:57 -0400 From: Roger Roelofs Subject: Re: [Javascript] Need help with a javascript issue To: "[JavaScript List]" Message-ID: <7B7DF6D6-F1DB-11D8-B0D3-00306572FCC8 at datacompusa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Alejandro, On Aug 19, 2004, at 12:26 AM, Alejandro Celery wrote: > Hi, mi name is Alejandro. > I can?t get netscape communicator 7.1 to follow a link properly on a > certain webpage. IE does so correctly. It is to send text messages to > cell phones. I checked the page source and this code i?ve pasted > appears in black. Does this mean that this code is not NS compatible? > Is there any way to fix this, or the page was designed with only IE in > mind? > This is my first post to the list, I apologize if i infringe any house > rules. Thanks for your time. > From hassan at webtuitive.com Thu Aug 19 23:48:32 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Thu, 19 Aug 2004 21:48:32 -0700 Subject: [Javascript] Re: Javascript Digest, Vol 18, Issue 20 In-Reply-To: <00b701c4865f$8f1e76d0$a200a8c0@laloxpprof> References: <20040819170008.9D25B30A721@LaTech.edu> <00b701c4865f$8f1e76d0$a200a8c0@laloxpprof> Message-ID: <412582A0.90807@webtuitive.com> Alejandro Celery wrote: > the bad link is to send text messages to a cell phone. What i make out, it?s > a routine to validate several conditions about the message being sent, but > it seems that NS doesn?t make it out right. Since I don't know anyone in Argentina to send a test message to :-) perhaps you could tell us the error message Netscape generates? -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From ShawnMilo at runbox.com Fri Aug 20 07:16:31 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Fri, 20 Aug 2004 08:16:31 -0400 (EDT) Subject: [Javascript] Print the contents of a variable into the source In-Reply-To: <622A954DD517D411B20C00508BCF23B018B86AF8@mail.sauder.com> References: <622A954DD517D411B20C00508BCF23B018B86AF8@mail.sauder.com> Message-ID: It seems like you could do something like this with document.write(), depending upon when the script executes. Note that if you do this after the page load completes, it will load a new page, and you will lose the original page. Shawn > Really need some help on this one... Seemed easy enough at first... > > nextpage='results.php?kbps=' + kbps; > // what can I do here to print the contents of the nextpage variable > somewhere in the source? > document.location.href=nextpage; > > > > Or > //nextpage=results.php?kbps=1500 > > ...is what I need to see so it doesn't show up on the HTML page > > It's a long story involving SQL running a scheduled stored proc that > executes pings, parses the results, summarizes the results, and sticks it in > a database, along with this kbps value, retrieved from the source via a > command line utility executed by the same stored procedure, so I end up with > a table containing a constantly accumulating summary of speed, latency, and > routing. > > I just need to get the contents of that variable into the source, so my > parser can pick it up. > > Changing the other two lines of code, the other pages in the web, et cetera, > is not an option. Like I said... Long story. > > How do I print the contents of a variable into the source? > > > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > This e-mail and any files transmitted with it may > contain privileged, confidential, or proprietary information > which may be protected from disclosure under law, and is > intended solely for the use of the individual, group, or entity > to whom this e-mail is addressed. If you are not one of the > named recipients, please notify the sender by e-mail and > delete this message immediately from your computer. Any > other use, retention, dissemination, forwarding, printing, or > copying of this e-mail is strictly prohibited. Thank you for > your assistance. > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From allard-schripsema at procergs.rs.gov.br Fri Aug 20 07:29:52 2004 From: allard-schripsema at procergs.rs.gov.br (Allard Schripsema) Date: Fri, 20 Aug 2004 09:29:52 -0300 Subject: [Javascript] Print the contents of a variable into the source In-Reply-To: <622A954DD517D411B20C00508BCF23B018B86AF8@mail.sauder.com> Message-ID: Hi Chris, I don?t get it. i guess if the variable is known, you can do a document.write, innerText, objectx.value or something like that to show it. But that?s probably not the problem right? To make kbps appear in the source you?d have to use a server side script , and that means kbps is known at the server ( in asp and asp.Net: <%response.write("")%> ) If the kbps is determined using javascript, you cannot do what you want to do at the moment you want. you could consider reloading the same page sending your kbps in the querystring (or form, whatever) and getting it serverside and print it then. hope that helps, Allard Schripsema -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Chris Nafziger Sent: Thursday, August 19, 2004 7:09 PM To: [JavaScript List] Subject: [Javascript] Print the contents of a variable into the source Really need some help on this one... Seemed easy enough at first... nextpage='results.php?kbps=' + kbps; // what can I do here to print the contents of the nextpage variable somewhere in the source? document.location.href=nextpage; Or //nextpage=results.php?kbps=1500 ...is what I need to see so it doesn't show up on the HTML page It's a long story involving SQL running a scheduled stored proc that executes pings, parses the results, summarizes the results, and sticks it in a database, along with this kbps value, retrieved from the source via a command line utility executed by the same stored procedure, so I end up with a table containing a constantly accumulating summary of speed, latency, and routing. I just need to get the contents of that variable into the source, so my parser can pick it up. Changing the other two lines of code, the other pages in the web, et cetera, is not an option. Like I said... Long story. How do I print the contents of a variable into the source? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This e-mail and any files transmitted with it may contain privileged, confidential, or proprietary information which may be protected from disclosure under law, and is intended solely for the use of the individual, group, or entity to whom this e-mail is addressed.? If you are not one of the named recipients, please notify the sender by e-mail and delete this message immediately from your computer.? Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.? Thank you for your assistance. _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From CNafziger at sauder.com Fri Aug 20 08:39:12 2004 From: CNafziger at sauder.com (Chris Nafziger) Date: Fri, 20 Aug 2004 09:39:12 -0400 Subject: [Javascript] Print the contents of a variable into the source Message-ID: <622A954DD517D411B20C00508BCF23B018B86B33@mail.sauder.com> I tried document.write(kbps) already even though I figured it wouldn't put the number into the source. -----Original Message----- From: Shawn Milo [mailto:ShawnMilo at runbox.com] Sent: Friday, August 20, 2004 8:17 AM To: javascript at LaTech.edu Subject: Re: [Javascript] Print the contents of a variable into the source It seems like you could do something like this with document.write(), depending upon when the script executes. Note that if you do this after the page load completes, it will load a new page, and you will lose the original page. Shawn > Really need some help on this one... Seemed easy enough at first... > > nextpage='results.php?kbps=' + kbps; > // what can I do here to print the contents of the nextpage variable > somewhere in the source? > document.location.href=nextpage; > > > > Or > //nextpage=results.php?kbps=1500 > > ...is what I need to see so it doesn't show up on the HTML page > > It's a long story involving SQL running a scheduled stored proc that > executes pings, parses the results, summarizes the results, and sticks > it in a database, along with this kbps value, retrieved from the > source via a command line utility executed by the same stored > procedure, so I end up with a table containing a constantly > accumulating summary of speed, latency, and routing. > > I just need to get the contents of that variable into the source, so > my parser can pick it up. > > Changing the other two lines of code, the other pages in the web, et > cetera, is not an option. Like I said... Long story. > > How do I print the contents of a variable into the source? > > > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > This e-mail and any files transmitted with it may contain privileged, > confidential, or proprietary information which may be protected from > disclosure under law, and is intended solely for the use of the > individual, group, or entity to whom this e-mail is addressed. If you > are not one of the named recipients, please notify the sender by > e-mail and delete this message immediately from your computer. Any > other use, retention, dissemination, forwarding, printing, or copying > of this e-mail is strictly prohibited. Thank you for your assistance. > > _______________________________________________ > 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 CNafziger at sauder.com Fri Aug 20 08:50:10 2004 From: CNafziger at sauder.com (Chris Nafziger) Date: Fri, 20 Aug 2004 09:50:10 -0400 Subject: [Javascript] Print the contents of a variable into the source Message-ID: <622A954DD517D411B20C00508BCF23B018B86B39@mail.sauder.com> Right; that's not the problem... Getting the actual number (Value) to show up somewhere... ANHYWHERE in the source is the problem... Of course you are correct about the ASP; I could do it easily in ASP, but I cannot use it here. I'm looking (probably in vain) for a pure JavaScript solution. I'm thinking perhaps a couple native JS functions could get me to the point that a new variable KBPS789=789 if that's what kbps contains, but you still wouldn't actually see 789 in the source. Anybody else have any ideas? -----Original Message----- From: Allard Schripsema [mailto:allard-schripsema at procergs.rs.gov.br] Sent: Friday, August 20, 2004 8:30 AM To: [JavaScript List] Subject: RE: [Javascript] Print the contents of a variable into the source Hi Chris, I don?t get it. i guess if the variable is known, you can do a document.write, innerText, objectx.value or something like that to show it. But that?s probably not the problem right? To make kbps appear in the source you?d have to use a server side script , and that means kbps is known at the server ( in asp and asp.Net: <%response.write("")%> ) If the kbps is determined using javascript, you cannot do what you want to do at the moment you want. you could consider reloading the same page sending your kbps in the querystring (or form, whatever) and getting it serverside and print it then. hope that helps, Allard Schripsema -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Chris Nafziger Sent: Thursday, August 19, 2004 7:09 PM To: [JavaScript List] Subject: [Javascript] Print the contents of a variable into the source Really need some help on this one... Seemed easy enough at first... nextpage='results.php?kbps=' + kbps; // what can I do here to print the contents of the nextpage variable somewhere in the source? document.location.href=nextpage; Or //nextpage=results.php?kbps=1500 ...is what I need to see so it doesn't show up on the HTML page It's a long story involving SQL running a scheduled stored proc that executes pings, parses the results, summarizes the results, and sticks it in a database, along with this kbps value, retrieved from the source via a command line utility executed by the same stored procedure, so I end up with a table containing a constantly accumulating summary of speed, latency, and routing. I just need to get the contents of that variable into the source, so my parser can pick it up. Changing the other two lines of code, the other pages in the web, et cetera, is not an option. Like I said... Long story. How do I print the contents of a variable into the source? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This e-mail and any files transmitted with it may contain privileged, confidential, or proprietary information which may be protected from disclosure under law, and is intended solely for the use of the individual, group, or entity to whom this e-mail is addressed.? If you are not one of the named recipients, please notify the sender by e-mail and delete this message immediately from your computer.? Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.? Thank you for your assistance. _______________________________________________ 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 CNafziger at sauder.com Fri Aug 20 09:09:13 2004 From: CNafziger at sauder.com (Chris Nafziger) Date: Fri, 20 Aug 2004 10:09:13 -0400 Subject: [Javascript] Print the contents of a variable into the source Message-ID: <622A954DD517D411B20C00508BCF23B018B86B44@mail.sauder.com> Also, as far as your lower bit goes, the command-line utility that grabs the source output can follow server-side redirects, but not client side redirects. -----Original Message----- From: Allard Schripsema [mailto:allard-schripsema at procergs.rs.gov.br] Sent: Friday, August 20, 2004 8:30 AM To: [JavaScript List] Subject: RE: [Javascript] Print the contents of a variable into the source Hi Chris, I don?t get it. i guess if the variable is known, you can do a document.write, innerText, objectx.value or something like that to show it. But that?s probably not the problem right? To make kbps appear in the source you?d have to use a server side script , and that means kbps is known at the server ( in asp and asp.Net: <%response.write("")%> ) If the kbps is determined using javascript, you cannot do what you want to do at the moment you want. you could consider reloading the same page sending your kbps in the querystring (or form, whatever) and getting it serverside and print it then. hope that helps, Allard Schripsema -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Chris Nafziger Sent: Thursday, August 19, 2004 7:09 PM To: [JavaScript List] Subject: [Javascript] Print the contents of a variable into the source Really need some help on this one... Seemed easy enough at first... nextpage='results.php?kbps=' + kbps; // what can I do here to print the contents of the nextpage variable somewhere in the source? document.location.href=nextpage; Or //nextpage=results.php?kbps=1500 ...is what I need to see so it doesn't show up on the HTML page It's a long story involving SQL running a scheduled stored proc that executes pings, parses the results, summarizes the results, and sticks it in a database, along with this kbps value, retrieved from the source via a command line utility executed by the same stored procedure, so I end up with a table containing a constantly accumulating summary of speed, latency, and routing. I just need to get the contents of that variable into the source, so my parser can pick it up. Changing the other two lines of code, the other pages in the web, et cetera, is not an option. Like I said... Long story. How do I print the contents of a variable into the source? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This e-mail and any files transmitted with it may contain privileged, confidential, or proprietary information which may be protected from disclosure under law, and is intended solely for the use of the individual, group, or entity to whom this e-mail is addressed.? If you are not one of the named recipients, please notify the sender by e-mail and delete this message immediately from your computer.? Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.? Thank you for your assistance. _______________________________________________ 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 LaurentM at london.virgin.net Fri Aug 20 09:58:13 2004 From: LaurentM at london.virgin.net (Laurent Muchacho) Date: Fri, 20 Aug 2004 15:58:13 +0100 Subject: [Javascript] Print the contents of a variable into the source Message-ID: <1A847600F409D711B52C0001FAFFF337046F62FC@vnetxu01.london.virgin.net> Hi >From what I get you need to pickup the value from the querystring is that right If that is what you want to do then it's pretty easy this is your url results.php?kbps=1500 in ASP you will use dim myVar : myVar = request.querystring("kbps") response.write myVar in javascript there is no object that let you that but you write your own function QueryString(param){ var loca = document.location.href; if(loca.indexOf('?' + param + '=')>-1 || loca.indexOf('&' + param + '=')>-1){ var qString = loca.split('?'); var keyVal = qString[1].split('&'); for(var i=0;i")%> ) If the kbps is determined using javascript, you cannot do what you want to do at the moment you want. you could consider reloading the same page sending your kbps in the querystring (or form, whatever) and getting it serverside and print it then. hope that helps, Allard Schripsema -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]On Behalf Of Chris Nafziger Sent: Thursday, August 19, 2004 7:09 PM To: [JavaScript List] Subject: [Javascript] Print the contents of a variable into the source Really need some help on this one... Seemed easy enough at first... nextpage='results.php?kbps=' + kbps; // what can I do here to print the contents of the nextpage variable somewhere in the source? document.location.href=nextpage; Or //nextpage=results.php?kbps=1500 ....is what I need to see so it doesn't show up on the HTML page It's a long story involving SQL running a scheduled stored proc that executes pings, parses the results, summarizes the results, and sticks it in a database, along with this kbps value, retrieved from the source via a command line utility executed by the same stored procedure, so I end up with a table containing a constantly accumulating summary of speed, latency, and routing. I just need to get the contents of that variable into the source, so my parser can pick it up. Changing the other two lines of code, the other pages in the web, et cetera, is not an option. Like I said... Long story. How do I print the contents of a variable into the source? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This e-mail and any files transmitted with it may contain privileged, confidential, or proprietary information which may be protected from disclosure under law, and is intended solely for the use of the individual, group, or entity to whom this e-mail is addressed.? If you are not one of the named recipients, please notify the sender by e-mail and delete this message immediately from your computer.? Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.? Thank you for your assistance. _______________________________________________ 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 This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this E-mail in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. From mdougherty at pbp.com Fri Aug 20 10:14:26 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Fri, 20 Aug 2004 11:14:26 -0400 Subject: [Javascript] Print the contents of a variable into the source In-Reply-To: <622A954DD517D411B20C00508BCF23B018B86B39@mail.sauder.com> Message-ID: I don't understand why you want a value in source but not displayed. You say you have a table of metrics in SQL. You want numbers from that table to appear in the source of an html page in the browser. You don't want to (or can't) use a server-side script. If you had a client-side javascript making a call to SQL and getting the value, it would still not be contained in the "source" you would see in the browser (by clicking "view page source") I have a site that renders a menu in javascript - when you view source all you see where the menu is supposed to be is a javascript function call. (even after the menu is rendered and on the screen) What are you going to do with this information if you did manage to get it into the source? I wonder if the ends can be achieved through different means... On Fri, 20 Aug 2004 09:50:10 -0400 Chris Nafziger wrote: >Right; that's not the problem... Getting the actual number (Value) to show >up somewhere... ANHYWHERE in the source is the problem... Of course you are >correct about the ASP; I could do it easily in ASP, but I cannot use it >here. I'm looking (probably in vain) for a pure JavaScript solution. I'm >thinking perhaps a couple native JS functions could get me to the point that >a new variable KBPS789=789 if that's what kbps contains, but you still >wouldn't actually see 789 in the source. Anybody else have any ideas? > >-----Original Message----- >From: Allard Schripsema [mailto:allard-schripsema at procergs.rs.gov.br] >Sent: Friday, August 20, 2004 8:30 AM >To: [JavaScript List] >Subject: RE: [Javascript] Print the contents of a variable into the source > >Hi Chris, >I don?t get it. >i guess if the variable is known, you can do a document.write, innerText, >objectx.value or something like that to show it. >But that?s probably not the problem right? > >To make kbps appear in the source you?d have to use a server side script , >and that means kbps is known at the server ( in asp and asp.Net: ><%response.write("")%> ) > >If the kbps is determined using javascript, you cannot do what you want to >do at the moment you want. >you could consider reloading the same page sending your kbps in the >querystring (or form, whatever) and getting it serverside and print it then. > >hope that helps, > >Allard Schripsema > > > > > >-----Original Message----- >From: javascript-bounces at LaTech.edu >[mailto:javascript-bounces at LaTech.edu]On Behalf Of Chris Nafziger >Sent: Thursday, August 19, 2004 7:09 PM >To: [JavaScript List] >Subject: [Javascript] Print the contents of a variable into the source > > >Really need some help on this one... Seemed easy enough at first... > >nextpage='results.php?kbps=' + kbps; >// what can I do here to print the contents of the nextpage variable >somewhere in the source? >document.location.href=nextpage; > > > >Or >//nextpage=results.php?kbps=1500 > >...is what I need to see so it doesn't show up on the HTML page > >It's a long story involving SQL running a scheduled stored proc that >executes pings, parses the results, summarizes the results, and sticks it in >a database, along with this kbps value, retrieved from the source via a >command line utility executed by the same stored procedure, so I end up with >a table containing a constantly accumulating summary of speed, latency, and >routing. > >I just need to get the contents of that variable into the source, so my >parser can pick it up. > >Changing the other two lines of code, the other pages in the web, et cetera, >is not an option. Like I said... Long story. > >How do I print the contents of a variable into the source? > > > > > >-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > >This e-mail and any files transmitted with it may contain privileged, >confidential, or proprietary information which may be protected from >disclosure under law, and is intended solely for the use of the individual, >group, or entity to whom this e-mail is addressed.? If you are not one of >the named recipients, please notify the sender by e-mail and delete this >message immediately from your computer.? Any other use, retention, >dissemination, forwarding, printing, or copying of this e-mail is strictly >prohibited.? Thank you for your assistance. > >_______________________________________________ >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 From mdougherty at pbp.com Fri Aug 20 10:17:32 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Fri, 20 Aug 2004 11:17:32 -0400 Subject: [Javascript] Convert raw HTML into a string In-Reply-To: Message-ID: i thought javascript's string.replace() function used regexp = lvstrHTML.replace(/"/g,'""') That's about the extend of my regexp understanding. I'm sure if that's the problem, you can get much more help here from the regexp guru(s) On Fri, 20 Aug 2004 10:27:00 +1200 "Clancy Jones" wrote: >Howdy neighbours, I have a vb script function that I use for converting raw HTML into a string: > >function convertHTMLToString(paramHTML) > dim lvstrHTML > lvstrHTML = paramHTML > lvstrHTML = replace(lvstrHTML,chr(34),chr(34)&chr(34)) > lvstrHTML = replace(lvstrHTML,""",chr(34)&chr(34)) > lvstrHTML = replace(lvstrHTML,vbCrLf,chr(34) &" & vbNewLine & _" & vbCrLf & chr(34)) > lvstrHTML = chr(34) & lvstrHTML & chr(34) > convertHTMLToString = lvstrHTML >end function > >I now want to replicate this function in javascript but am having a few problems. So far I've >tried: > >function convertHTMLToString(paramHTML){ > var lvstrHTML > lvstrHTML = paramHTML > lvstrHTML = lvstrHTML.replace(chr(34),chr(34)+chr(34)) > lvstrHTML = lvstrHTML.replace(""",chr(34)+chr(34)) > return lvstrHTML >} > >The first "replace" line is causing an "object expected" error. > >Can someone help out with this? > >Thanks, > >Clancy > >PS: The purpose of this is to provide a "Send this spreadsheet by email" function by grabbing the >innerHTML of a DIV which contains dynamic table data, convert the raw HTML into a string and then >assign it as the value of a hidden field. The string can then be used as the content for an HTML >formatted email message. > >_________________________________________________________________ >Check out news, entertainment and more @ http://xtra.co.nz/broadband > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From flavio at economisa.com.br Fri Aug 20 14:33:16 2004 From: flavio at economisa.com.br (Flavio Gomes) Date: Fri, 20 Aug 2004 16:33:16 -0300 Subject: [Javascript] Print the contents of a variable into the source In-Reply-To: <1A847600F409D711B52C0001FAFFF337046F62FC@vnetxu01.london.virgin.net> References: <1A847600F409D711B52C0001FAFFF337046F62FC@vnetxu01.london.virgin.net> Message-ID: <412651FC.2030908@economisa.com.br> Laurent, check this variable: document.location.search It's use may improve you function. -- Flavio Gomes flavio at economisa.com.br Laurent Muchacho escreveu: >Hi > >>From what I get you need to pickup the value from the querystring is that >right >If that is what you want to do then it's pretty easy >this is your url results.php?kbps=1500 > >in ASP you will use >dim myVar : myVar = request.querystring("kbps") >response.write myVar > >in javascript there is no object that let you that but you write your own > >function QueryString(param){ > var loca = document.location.href; > if(loca.indexOf('?' + param + '=')>-1 || loca.indexOf('&' + param + >'=')>-1){ > var qString = loca.split('?'); > var keyVal = qString[1].split('&'); > for(var i=0;i if(keyVal[i].indexOf(param + '=')==0){ > var val = keyVal[i].split('='); > return val[1]; > } > } > return false; > }else{ > return false; > } >} > >then you can do something like this > >var myVar = QueryString("kbps"); >document.write (myVar) > >there is an examples pages > >http://www.be-lovely.co.uk/querystring/index.html > >Laurent > From innerlab at hotmail.com Sun Aug 22 11:13:28 2004 From: innerlab at hotmail.com (Innerlab) Date: Sun, 22 Aug 2004 12:13:28 -0400 Subject: [Javascript] DOM Screen Object References: <1A847600F409D711B52C0001FAFFF337046F62FC@vnetxu01.london.virgin.net> <412651FC.2030908@economisa.com.br> Message-ID: Hello: How does Netscape handles the Screen Object? I made a dynamic style that is supposed to change values based on the screen width. It works ok in IE. However, this latter value is always returned by Netscape(7.1) as 800 x 600. Any suggestions? Thanks in advance. From hassan at webtuitive.com Sun Aug 22 13:43:16 2004 From: hassan at webtuitive.com (Hassan Schroeder) Date: Sun, 22 Aug 2004 11:43:16 -0700 Subject: [Javascript] DOM Screen Object In-Reply-To: References: <1A847600F409D711B52C0001FAFFF337046F62FC@vnetxu01.london.virgin.net> <412651FC.2030908@economisa.com.br> Message-ID: <4128E944.7010906@webtuitive.com> Innerlab wrote: > How does Netscape handles the Screen Object? just fine :-) > I made a dynamic style that is supposed to change values based on the screen width. It works ok in IE. > However, this latter value is always returned by Netscape(7.1) as 800 x 600. > > Any suggestions? Sure -- provide more information. Are you saying that you're trying this on systems with different resolutions and your code is always returning '800x600'? What exact "value" are you referring to? Hard to say where the error is without seeing the code... -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From alejandro at xve.com Sun Aug 22 21:05:36 2004 From: alejandro at xve.com (Alejandro Celery) Date: Sun, 22 Aug 2004 23:05:36 -0300 Subject: [Javascript] =?iso-8859-1?q?Problem_with_=BFuncompatible_code=3F?= References: <20040820151323.2F85C309212@LaTech.edu> Message-ID: <001301c488b5$f21ecf20$a200a8c0@laloxpprof> Well, the problem i?ve been having, is that Netscape (and Mozilla Firefox, just tried it) doesnt seem to follow on the link. The link calls (i?m guessing here) a validation routine for the text message, it checks for the right amount of character in the destination number, the message, if there is a sender, etc. If you?d like to try it, enter anything in any field, and if you get any sort of error, then it?s just me. BUt i?m thinking something?s off or not compatible with the code. Firefox also has source code highliting, and it also shows black a good chunk of the code, it looks like a function (i know C, not javascript sorry). MSIE works perfectly with it, i?m guessing it was written for MSIE only; but I thought i could do some research. Perhaps bash the designer a little, it seems pretty mediocre to me. Perhaps there is a good reason to do it that way, you tell me. Thanks for your time. Saludos. Alejandro. From rer at datacompusa.com Sun Aug 22 22:47:51 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Sun, 22 Aug 2004 23:47:51 -0400 Subject: =?ISO-8859-1?Q?Re:_[Javascript]_Problem_with_=BFuncompatible_cod?= =?ISO-8859-1?Q?e=3F?= In-Reply-To: <001301c488b5$f21ecf20$a200a8c0@laloxpprof> References: <20040820151323.2F85C309212@LaTech.edu> <001301c488b5$f21ecf20$a200a8c0@laloxpprof> Message-ID: <35137D8C-F4B7-11D8-9E3F-000393B35D62@datacompusa.com> Alejandro, On Aug 22, 2004, at 10:05 PM, Alejandro Celery wrote: > Well, the problem i?ve been having, is that Netscape (and Mozilla > Firefox, > just tried it) doesnt seem to follow on the link. The link calls (i?m > guessing here) a validation routine for the text message, it checks > for the > right amount of character in the destination number, the message, if > there > is a sender, etc. If you?d like to try it, enter anything in any > field, and > if you get any sort of error, then it?s just me. BUt i?m thinking > something?s off or not compatible with the code. Firefox also has > source > code highliting, and it also shows black a good chunk of the code, it > looks > like a function (i know C, not javascript sorry). MSIE works perfectly > with > it, i?m guessing it was written for MSIE only; but I thought i could > do some > research. Perhaps bash the designer a little, it seems pretty mediocre > to > me. Perhaps there is a good reason to do it that way, you tell me. I'm sorry my spanish isn't good enough to be much help, but let me try anyway. When I look at the code, I don't understand why it works in any browser. The form has a submit handler 'validainfotext(this)', but there is no submit button on the form. If I press the enter key while I'm in an input field, the form submits and the validation code runs just fine. In short, move the submit handler to an onclick on the input type image, or replace the image with a submit. The javascript code the page is using could be much improved. it looks like the designer just found code on the web and stuck it in. Roger, Roger Roelofs Datacomp Appraisal Services From kevin.atkins at nwa.com Mon Aug 23 14:55:34 2004 From: kevin.atkins at nwa.com (Atkins, Kevin D) Date: Mon, 23 Aug 2004 14:55:34 -0500 Subject: [Javascript] Dynamic breadcrumbs script Message-ID: I am trying to configure the script to work for my site and I am looking for some help. I think the breadcrumb building code assumes there is an index.html page in each subdirectory? For my site I only have index.html at the root of my site. I have many directories and the main page in each directory is named something other than index.html. In my testing the breadcrumb names get written ok, but the url link is wrong because it is not detecting the page name. Aan example would be \hot-topics\hot-topics.html. It appears to me the code expects \hot-topics\index.html. Is there a way to modify the code to read the page name that is returned and write that into the breadcrumb url and not assume the file is called index.html? I don't understand the code too well, and do not know how to modify it to do what I need. Can you help? Kevin Atkins Sr. Analyst Flight Operations 612-727-6732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at novitskisoftware.com Mon Aug 23 15:22:30 2004 From: paul at novitskisoftware.com (Paul Novitski) Date: Mon, 23 Aug 2004 13:22:30 -0700 Subject: [Javascript] Dynamic breadcrumbs script In-Reply-To: References: Message-ID: <6.0.1.1.2.20040823131956.021dba30@spamarrest.com> Kevin, in order for folks to provide you with meaningful feedback, you'll need to supply us with more details. In this case, provide a link to the html page and the javascript code you're working on. Cheers, Paul At 12:55 PM 8/23/2004, Atkins, Kevin D wrote: >content-class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C4894B.272316A0" > >I am trying to configure the script to work for my site and I am looking >for some help. I think the breadcrumb building code assumes there is an >index.html page in each subdirectory? For my site I only have index.html >at the root of my site. I have many directories and the main page in each >directory is named something other than index.html. In my testing the >breadcrumb names get written ok, but the url link is wrong because it is >not detecting the page name. Aan example would be >\hot-topics\hot-topics.html. It appears to me the code expects >\hot-topics\index.html. Is there a way to modify the code to read the page >name that is returned and write that into the breadcrumb url and not >assume the file is called index.html? I don't understand the code too >well, and do not know how to modify it to do what I need. Can you help? > >Kevin Atkins >Sr. Analyst Flight Operations >612-727-6732 > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From kevin.atkins at nwa.com Tue Aug 24 09:18:04 2004 From: kevin.atkins at nwa.com (Atkins, Kevin D) Date: Tue, 24 Aug 2004 09:18:04 -0500 Subject: [Javascript] Dynamic breadcrumbs script Message-ID: Paul, Thanks for the reply. The script I found and am trying to use comes from your site called Dynamic Breadcrumbs, I am attaching the code I am using. I can also send a few test pages to see how I have added in the javascript code to call the external breadcrumb file. You can't view any of the files on my site because it is a secured Intranet site that only employees are allowed to login into and view. I am hoping you don't need to view the actual pages on my site to help me modify the script? I will try to describe my site and file structure in case this can help to understand the layout and how I think the code is acting. I share a server instance with another department, we both have a separate virtual server to store our files. An example of my area is www.something.com/fop at this level is my index.html page. I changed the var startname in the breadcrumb script to Home. When the breadcrumb code runs it rights out Home > correctly on my index.html page. The url assigned is www.something.com/fop, it does not show index.html in the url link as the page to load. Clicking the Home breadcrumb reloads the index.html page, leading me to think the breadcrumb code thinks every breadcrumb link will have an index.html file in the folders or directories. I created 2 test links on my test index page, the folder structure is /fop/page1 and /fop/page1/page2. When Test page 1 is selected on the index.html page the breadcrumb gets written ok as Home > Page1 > Test Page 1. The breadcrumb url link for Test page1 is written as www.something.com/fop/page1/. If you click the Page1 breadcrumb url it does not reload test page1 called test-page1.html. Instead it displays a file list of all files in the page1 folder. I think because it does not see an index.html page in the page1 folder. What I am trying to get is the breadcrumb url to be written as www.something.com/fop/page1/test-page1.html. The same thing happens for test page 2. Is there a way for the breadcrumbs.js file to actually read the url of the page you are on and write that into the breadcrumb url link and not assume it is index.html? I am sorry if my explanation doesn't make sense, I hope it does? If you can't help because you can't see the files in actual use, that's ok, I will just have to look for another script somewhere. Thanks for your time. Kevin Atkins Sr. Analyst Flight Operations 612-727-6732 -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Paul Novitski Sent: Monday, August 23, 2004 3:23 PM To: [JavaScript List] Subject: Re: [Javascript] Dynamic breadcrumbs script Kevin, in order for folks to provide you with meaningful feedback, you'll need to supply us with more details. In this case, provide a link to the html page and the javascript code you're working on. Cheers, Paul At 12:55 PM 8/23/2004, Atkins, Kevin D wrote: >content-class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C4894B.272316A0" > >I am trying to configure the script to work for my site and I am looking >for some help. I think the breadcrumb building code assumes there is an >index.html page in each subdirectory? For my site I only have index.html >at the root of my site. I have many directories and the main page in each >directory is named something other than index.html. In my testing the >breadcrumb names get written ok, but the url link is wrong because it is >not detecting the page name. Aan example would be >\hot-topics\hot-topics.html. It appears to me the code expects >\hot-topics\index.html. Is there a way to modify the code to read the page >name that is returned and write that into the breadcrumb url and not >assume the file is called index.html? I don't understand the code too >well, and do not know how to modify it to do what I need. Can you help? > >Kevin Atkins >Sr. Analyst Flight Operations >612-727-6732 > >_______________________________________________ >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 Warning from Northwest Airline Antivirus blocked the file breadcrumbs.js. Northwest Airline's e-mail policy does not allow the above file to be delivered as an attachment due to its file type (extension). The attached file was removed from this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at novitskisoftware.com Tue Aug 24 12:10:24 2004 From: paul at novitskisoftware.com (Paul Novitski) Date: Tue, 24 Aug 2004 10:10:24 -0700 Subject: [Javascript] Dynamic breadcrumbs script In-Reply-To: References: Message-ID: <6.0.1.1.2.20040824093948.03dd04d0@spamarrest.com> Kevin, I figured out what you meant by the possessive pronoun "your" in your posting: you were thinking that a script you found in the LaTech JavaScript archives is the collective child of the current listserve membership. Instead, this listserve is a loose collection of individuals each contributing their own bits to the collective soup. Any script contributed by a listserve member is the intellectual child of that member, and may not be known to or understood by other members. Not a critical distinction, but one worth noting for future reference. I suspect that the script you're referring to is the dynamic breadcrumbs script written by Harry Love, as described in https://lists.latech.edu/pipermail/javascript/2002-August/004019.html His script is located at http://healthlinks.washington.edu/scripts/dynacrumbs.js Quickly perusing Harry's script, I see that it creates breadcrumb links in the format Base > node > node > node from the current page's URL. In a quick test, I didn't see the final node (the html file itself) included in the breadcrumb array, regardless of its file name (index.html or dynacrumbs.html). It seems clear that Harry was deliberately omitting that node. The final for/next loop of the script begins this way (where urlL is the number of nodes in the URL): if(urlL>2) { for(x=startPoint+1;xPaul, > >Thanks for the reply. The script I found and am trying to use comes from >your site called Dynamic Breadcrumbs, I am attaching the code I am >using. I can also send a few test pages to see how I have added in the >javascript code to call the external breadcrumb file. > >You can't view any of the files on my site because it is a secured >Intranet site that only employees are allowed to login into and view. I >am hoping you don't need to view the actual pages on my site to help me >modify the script? > >I will try to describe my site and file structure in case this can help >to understand the layout and how I think the code is acting. I share a >server instance with another department, we both have a separate virtual >server to store our files. An example of my area is >www.something.com/fop at this level is my index.html page. > >I changed the var startname in the breadcrumb script to Home. When the >breadcrumb code runs it rights out Home > correctly on my index.html >page. The url assigned is www.something.com/fop, it does not show >index.html in the url link as the page to load. Clicking the Home >breadcrumb reloads the index.html page, leading me to think the >breadcrumb code thinks every breadcrumb link will have an index.html >file in the folders or directories. > >I created 2 test links on my test index page, the folder structure is >/fop/page1 and /fop/page1/page2. When Test page 1 is selected on the >index.html page the breadcrumb gets written ok as Home > Page1 > Test >Page 1. The breadcrumb url link for Test page1 is written as >www.something.com/fop/page1/. If you click the Page1 breadcrumb url it >does not reload test page1 called test-page1.html. Instead it displays a >file list of all files in the page1 folder. I think because it does not >see an index.html page in the page1 folder. > >What I am trying to get is the breadcrumb url to be written as >www.something.com/fop/page1/test-page1.html. The same thing happens for >test page 2. Is there a way for the breadcrumbs.js file to actually read >the url of the page you are on and write that into the breadcrumb url >link and not assume it is index.html? > >I am sorry if my explanation doesn't make sense, I hope it does? If you >can't help because you can't see the files in actual use, that's ok, I >will just have to look for another script somewhere. Thanks for your >time. > >Kevin Atkins >Sr. Analyst Flight Operations >612-727-6732 From mdougherty at pbp.com Wed Aug 25 16:00:42 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Wed, 25 Aug 2004 17:00:42 -0400 Subject: [Javascript] Dynamic breadcrumbs script In-Reply-To: <6.0.1.1.2.20040824093948.03dd04d0@spamarrest.com> Message-ID: using code adapted from: http://www.brainjar.com/dhtml/menubar/demo3.html Mozilla/FireFox: It seems that during the menuInit() stage of mousing over a menu, the menu div becomes momentarily visible despite the display: none; css definition. IE does not appear to have this problem. Can you provide some insight into removing this flicker when the menu is first accessed? From mdougherty at pbp.com Wed Aug 25 16:02:08 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Wed, 25 Aug 2004 17:02:08 -0400 Subject: [Javascript] hidden div, position & display In-Reply-To: Message-ID: Next time i should look at the subject first... (duh) On Wed, 25 Aug 2004 17:00:42 -0400 "Mike Dougherty" wrote: >using code adapted from: http://www.brainjar.com/dhtml/menubar/demo3.html > >Mozilla/FireFox: > It seems that during the menuInit() stage of mousing over a menu, the menu div becomes >momentarily visible despite the display: none; css definition. > >IE does not appear to have this problem. > >Can you provide some insight into removing this flicker when the menu is first accessed? > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript From rer at datacompusa.com Thu Aug 26 21:42:03 2004 From: rer at datacompusa.com (Roger Roelofs) Date: Thu, 26 Aug 2004 22:42:03 -0400 Subject: [Javascript] Re: Javascript Digest, Vol 18, Issue 20 In-Reply-To: <00b701c4865f$8f1e76d0$a200a8c0@laloxpprof> References: <20040819170008.9D25B30A721@LaTech.edu> <00b701c4865f$8f1e76d0$a200a8c0@laloxpprof> Message-ID: Alejandro, On Aug 19, 2004, at 10:43 PM, Alejandro Celery wrote: > the url is > www.cti.com.ar > > the bad link is to send text messages to a cell phone. What i make > out, it?s > a routine to validate several conditions about the message being sent, > but > it seems that NS doesn?t make it out right. At least, when i see the > source, > it shows black, not colored as anything recognizable. I know zip about > javascript, but i know some C and it does look quite similar. It bothered me that the input type="image wasn't working in mozilla, because I've seen it work in mozilla on other sites. I think I finally figured out why. The input is inside an a tag. I'm guessing that Mozilla is sending the click to the a tag rather than to the input. In short, I don't think it is your javascript at all. I think you can just remove the a tag to make the form submit properly. Roger, Roger Roelofs Datacomp Appraisal Services From simeon at simeons.net Fri Aug 27 09:20:40 2004 From: simeon at simeons.net (simeonfosterwillbanks) Date: Fri, 27 Aug 2004 10:20:40 -0400 Subject: [Javascript] using a cookie Message-ID: <1093616440.412f4338c2ee6@secure.thinkhost.com> hello, i am trying to grab some information from a cookie. if i print all cookies via document.write(document.cookie); i only get the first 3 or 4 stored. i know this because i can look at the stored cookies in the internet options. plus, i can print all cookies via php. this is a problem because; i am trying to use this function to get the information of a cookie not printed to the page. the function is returning no information when i use the absent cookie. if i use it in conjunction with a cookie printed to the page via document.write(document.cookie), it will return information. function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } from: http://www.quirksmode.org/js/cookies.html any ideas why i can't grab all my cookies via javascript? thanks, Simeon -- http://www.simeons.net - it's fun From coldfusion.developer at att.net Tue Aug 31 09:49:17 2004 From: coldfusion.developer at att.net (coldfusion.developer at att.net) Date: Tue, 31 Aug 2004 14:49:17 +0000 Subject: [Javascript] Credit card page, processing before it's ready Message-ID: <083120041449.28518.41348FEB0007492200006F6621602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> Hi, I have this Javascript that checks the details of credit card submissions. It does the alert when the error is present, but after I click ok and try to go and fix the error, the page processes to the submission page. I need it to stop and allow the user to fix the error before processing the page. Search for the string document.ThisForm.submit(); which is processing the form at the wrong time. Ahhh! SELECT * FROM custinfo WHERE userID = '#userID#' SELECT * FROM rttpZipCounty WHERE id = #taxcity# m = DatePart('m', now()); y = DatePart('yyyy', now()); d = 01; daysdate2 = dateformat(CreateDate(y, m, d), 'MM/DD/YYYY'); SELECT * FROM daydeal WHERE dealdate = '#daysdate2#' SELECT * FROM shopcart WHERE userID = '#userID#' AND shipdate IS NULL SELECT price FROM rttpinv Where partno = '#partno#' UPDATE shopcart SET cost = #qryGetinv.price# WHERE partno = '#partno#' UPDATE shopcart SET cost = #qryGetDeal.dealprice# WHERE partno = '#partno#' SELECT * FROM shopcart WHERE userID = '#userID#' SELECT shopcart.cartID, shopcart.userID, shopcart.partno, shopcart.ordqty,shopcart.cost, shopcart.orderDate, shopcart.shipDate, shopcart.OrderNumber, rttpInv.shortdesc, rttpInv.price FROM shopcart INNER JOIN rttpInv ON shopcart.partno = rttpInv.partno WHERE (((shopcart.userID)='#userID#') AND ((shopcart.OrderNumber) Is Null)) DELETE FROM shopcart WHERE userID = '#userID#' AND partno='#partno#' SELECT shopcart.cartID,shopcart.Ordernumber, shopcart.userID, shopcart.partno, shopcart.ordqty,shopcart.cost, shopcart.orderDate, shopcart.shipDate, rttpInv.shortdesc, rttpInv.price FROM shopcart INNER JOIN rttpInv ON shopcart.partno = rttpInv.partno WHERE (((shopcart.userID)='#userID#') AND ((shopcart.OrderNumber) Is Null)) DELETE FROM SpecPromos WHERE userID = '#userID#' AND SpecPromoItem ='#partno#' DELETE From shopcart WHERE userID = '#userID#' AND partno='#partno#' UPDATE shopcart SET ordqty = #ordqty# WHERE userID = '#userID#' AND partno='#partno#' SELECT shopcart.cartID,shopcart.Ordernumber, shopcart.userID, shopcart.partno, shopcart.ordqty, shopcart.cost,shopcart.orderDate, shopcart.shipDate, rttpInv.shortdesc, rttpInv.price FROM shopcart INNER JOIN rttpInv ON shopcart.partno = rttpInv.partno WHERE (((shopcart.userID)='#userID#') AND ((shopcart.OrderNumber) Is Null)) SELECT shopcart.cartID,shopcart.Ordernumber, shopcart.userID, shopcart.partno, shopcart.ordqty, shopcart.cost,shopcart.orderDate, shopcart.shipDate, rttpInv.shortdesc, rttpInv.price FROM shopcart INNER JOIN rttpInv ON shopcart.partno = rttpInv.partno WHERE (((shopcart.userID)='#userID#') AND ((shopcart.OrderNumber) Is Null))

 

[There is nothing in your cart]

Select * From rttppalist WHERE pn = '#pncode#'

Check-Out Page

SELECT * FROM SpecPromos WHERE userID = '#userID#' AND usedThisSession =1 SELECT * FROM RttpCouponworking WHERE userID = '#userID#' UPDATE RttpCouponWorking SET apply = #thiscoup# WHERE couponnumber = '#couponnumber#'
  Item Description Quantity Cost Line Total
#partno# #shortdesc# #ordqty#
#dollarformat(cost)# #dollarformat(extprice)#
Item Total #dollarformat(totprice)#

$25.00 Order Minimum Required

$25.00 Order Minimum Required

You have Nothing in your Cart

Sales Tax #dollarformat(0)# #dollarformat(salesTax)#
Order Total #dollarformat(totprice)#
Amount Applied from Gift Certificate #couponnumber# #dollarformat(thiscoup)#
Amount Due #dollarformat(totprice)#

Billing Information

Dealer Name:

Address1:
City:
State:
Zip:
Billing Phone: (Required)
Phone Number is used for Billing & Order Inquiries only.

Billing Information


First Name:
value="#qryGetuserInfo.fname#" >
value="#qryGetuserInfo.fname#"value="#qryGetuserInfo.fname#">
Middle Inital:
value="#qryGetuserInfo.mni#">
Last Name:
value="#qryGetuserInfo.lname#">
 
Address1:
value="#qryGetuserInfo.billadd1#">
Address2:
value="#qryGetuserInfo.billadd2#">
City:
value="#qryGetuserInfo.billcity#">
State:
Zip: value="#qryGetuserInfo.billzip#" >
Email Address: value="#qryGetuserInfo.emailadd#" >
Email used for Order Shipping & Confirmation Notification.
Billing Phone: (Required) value="#qryGetuserInfo.phonecontact#" >
Phone Number is used for Billing & Order Inquiries only.
Shipping Information:

Address1:
City:
State:
Zip:
Ship Location Phone:
Shipping Information
Same as Billing
Shipping Information
Same as Billing

First Name:

Middle Inital:
Last Name:
 
Address1:
Address2:
City:
City:
State:
Zip: Zip:
Ship Location Phone:
Payment Method:
Card Number (NO Spaces or Dashes Please):
Name On Card: Month: Year:
From ShawnMilo at runbox.com Tue Aug 31 10:15:30 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 31 Aug 2004 11:15:30 -0400 (EDT) Subject: [Javascript] Credit card page, processing before it's ready In-Reply-To: <083120041449.28518.41348FEB0007492200006F6621602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> References: <083120041449.28518.41348FEB0007492200006F6621602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> Message-ID: In the
or the submit button, add something like: if (!validationFunction){return false;} Shawn From ShawnMilo at runbox.com Tue Aug 31 10:28:07 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 31 Aug 2004 11:28:07 -0400 (EDT) Subject: [Javascript] Credit card page, processing before it's ready In-Reply-To: References: <083120041449.28518.41348FEB0007492200006F6621602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> Message-ID: Oops, mistake. if (!validationFunction()){return false;} It won't work the way I typed it in my first e-mail. Shawn > In the or the submit button, add something like: > > if (!validationFunction){return false;} > > Shawn > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From coldfusion.developer at att.net Tue Aug 31 10:33:06 2004 From: coldfusion.developer at att.net (coldfusion.developer at att.net) Date: Tue, 31 Aug 2004 15:33:06 +0000 Subject: [Javascript] Credit card page, processing before it's ready Message-ID: <083120041533.12657.41349A310008A8C40000317121602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> I'm using ... So I would want it to look like ... ??? Thank you! Thank you! -------------- Original message from "Shawn Milo" : -------------- > Oops, mistake. > > if (!validationFunction()){return false;} > > It won't work the way I typed it in my first e-mail. > > Shawn > > > In the or the submit button, add something like: > > > > if (!validationFunction){return false;} > > > > Shawn > > _______________________________________________ > > 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 ShawnMilo at runbox.com Tue Aug 31 10:39:50 2004 From: ShawnMilo at runbox.com (Shawn Milo) Date: Tue, 31 Aug 2004 11:39:50 -0400 (EDT) Subject: [Javascript] Credit card page, processing before it's ready In-Reply-To: <083120041533.12657.41349A310008A8C40000317121602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> References: <083120041533.12657.41349A310008A8C40000317121602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> Message-ID: Yep, that's what you should be going for. You even corrected my syntax typo. You are welcome! Slightly off-topic: If you're writing XHTML, it should be: (Lower-case parameter names, and close the tag. Also, an ID is required.) Shawn > I'm using ... > So I would want it to look like ... ??? > > > Thank you! Thank you! From mdougherty at pbp.com Tue Aug 31 13:51:09 2004 From: mdougherty at pbp.com (Mike Dougherty) Date: Tue, 31 Aug 2004 14:51:09 -0400 Subject: [Javascript] Credit card page, processing before it's ready In-Reply-To: <083120041533.12657.41349A310008A8C40000317121602807489D0A9F01040A900A0BD20201079C9A000B04010C@att.net> Message-ID: have validationFunction() return false if you don't want the form to submit (update the returns you're using to "return false") On Tue, 31 Aug 2004 15:33:06 +0000 coldfusion.developer at att.net wrote: >I'm using ... >So I would want it to look like ... ??? > > >Thank you! Thank you! > >-------------- Original message from "Shawn Milo" : -------------- > >> Oops, mistake. >> >> if (!validationFunction()){return false;} >> >> It won't work the way I typed it in my first e-mail. >> >> Shawn >> >> > In the >or the submit button, add something like: >> > >> > if (!validationFunction){return false;} >> > >> > Shawn >> > _______________________________________________ >> > 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