From uplate at attbi.com Thu May 1 08:22:06 2003 From: uplate at attbi.com (uplate at attbi.com) Date: Thu, 01 May 2003 13:22:06 +0000 Subject: [Javascript] wanted-a database script Message-ID: <20030501132208.BFEA0309818@LaTech.edu> Here's a VERY basic way to attempt what you want. It could certainly stand a great deal of modification Filin either of the text boxes or none and press the button. Untitled Document
> I need a javascript script that will take user-entered fields from a HTML > form and use these to build a SQL 'select' statement. The script will > then open and connect to my Microsoft Access table on our site and > displaying the results set, looping throught each one starting at the 1st > one and going until it hits EOF. > > I've searched and searched on the web for just this - a HTML form and a > javascript script. Nothing. So would someone take pity on me and email > to me the code for the HTML form and a javascript to go with it. I can > edit it when I get it. > > Thank you very much. > > Edwin > ak429 at chebucto.ns.ca > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From rdong at cait.org Thu May 1 14:42:00 2003 From: rdong at cait.org (Roland Dong) Date: Thu, 01 May 2003 14:42:00 -0500 Subject: [Javascript] What is the equivalent of document.all in Netscape? In-Reply-To: <20030501132208.BFEA0309818@LaTech.edu> Message-ID: Hi, I have the following javascript but it only works in IE. The problem is document.all.gradeTaught. It does not works in Netscape. What is the equivalent code for Netscape? var gtChecked=''; var gtAll=document.all.gradeTaught; for(var i=0; i Roland, If you're trying to access a form field (checkbox in this case), you should go through the form collection like this: var gtAll=document.formName.gradeTaught; where formName is the name of the form that contains the checkboxes you're trying to analyze. Regards, Peter ---------- Original Message ---------------------------------- From: Roland Dong >Hi, I have the following javascript but it only works in IE. The problem is >document.all.gradeTaught. It does not works in Netscape. What is the >equivalent code for Netscape? > > var gtChecked=''; > var gtAll=document.all.gradeTaught; > for(var i=0; i { if (gtAll[i].checked) > { gtChecked=gtChecked+gtAll[i].value+"/"; > document.regForm.gradeTaughts.value=gtChecked; > } > } > >Thanks a lot, > >Roland From tstone at cityofhbg.com Fri May 2 10:09:16 2003 From: tstone at cityofhbg.com (Stone, Timothy) Date: Fri, 2 May 2003 11:09:16 -0400 Subject: [Javascript] proper use of 'void' and WCAG/Section 508 ? Message-ID: <434B92F12CE7CB44999CA6ADB8DF4149512675@airbus.mdt.com> Greetings... I'm cleaning up a number of pages to better meet WCAG/508/Bobby. The gist of my question is how to state onkeypress when I don't use it, but need it to meet Bobby AAA standards. So let me explain... Specifically, I use an script called "OpenImage" (edited to meet HTML 4.01 Trans and WCAG/508). OpenImage generates a dynamic document and opens a window. This method eliminates the need to create "container pages." Further, to make the links that call OpenImage Section 508/WCAG, I provide fault tolerance when JavaScript is disabled. example of a link: My Foo Note: The target is defined in the OpenImage script. The event "onclick" specifically returns false to make the link fault tolerant as noted above. More information on this accessibility guideline is found here [http://www.cs.tut.fi/~jkorpela/forms/javascript.html#window] Now, WCAG specifies that event handlers should not require the use of a mouse. onclick is invoked by a mousedown event, and while not appearing to be documented, by pressing enter on the keyboard when focused on an A element. My dilemma is the WCAG guideline... onclick must be accompanied by a onkeypress event handler "if you must use 'device-dependent attributes, provide redundant input mechanisms (i.e. specify two handlers for the same element, both of which have the same code associated with them' Well, aside from the bile welling up inside me at the thought of repeating code, I conceded and edited the link as follows: My Foo Syntactically, is this a correct use the onkeypress event handler? ... onkeypress="" ... ... onkeypress="void" ... ... onkeypress="return false;" ... or other? Can I call onclick in onkeypress (onkeypress="onclick")? I've never seen it done nor documented. Essentially I don't need the onkeypress handler, but I'm also trying to meet Bobby AAA (bobby.watchfire.com) requirements. By the literal interpretation I believe I could state that I'm meeting WCAG 1.0 but Bobby is a recognized "label" for accessibility. Thank in advance! Tim -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * "Censorship always defeats its own purpose, * for it creates in the end the kind of society * that is incapable of exercising real discretion." * --Henry Steele Commager, Historian */ From liorean at f2o.org Fri May 2 10:40:04 2003 From: liorean at f2o.org (liorean) Date: Fri, 02 May 2003 17:40:04 +0200 Subject: [Javascript] proper use of 'void' and WCAG/Section 508 ? In-Reply-To: <434B92F12CE7CB44999CA6ADB8DF4149512675@airbus.mdt.com> References: <434B92F12CE7CB44999CA6ADB8DF4149512675@airbus.mdt.com> Message-ID: <3EB29154.7030108@f2o.org> Stone, Timothy wrote: > Greetings... > I'm cleaning up a number of pages to better meet WCAG/508/Bobby. The gist of my question is how to state onkeypress when I don't use it, but need it to meet Bobby AAA standards. So let me explain... > The event "onclick" specifically returns false to make the link fault tolerant as noted above. More information on this accessibility guideline is found here [http://www.cs.tut.fi/~jkorpela/forms/javascript.html#window] > Now, WCAG specifies that event handlers should not require the use of a mouse. > onclick is invoked by a mousedown event, and while not appearing to be documented, by pressing enter on the keyboard when focused on an A element. My dilemma is the WCAG guideline... > onclick must be accompanied by a onkeypress event handler "if you must use 'device-dependent attributes, provide redundant input mechanisms (i.e. specify two handlers for the same element, both of which have the same code associated with them' > Syntactically, is this a correct use the onkeypress event handler? > ... onkeypress="" ... > ... onkeypress="void" ... > ... onkeypress="return false;" ... > or other? Can I call onclick in onkeypress (onkeypress="onclick")? I've never seen it done nor documented. > Essentially I don't need the onkeypress handler, but I'm also trying to meet Bobby AAA (bobby.watchfire.com) requirements. By the literal interpretation I believe I could state that I'm meeting WCAG 1.0 but Bobby is a recognized "label" for accessibility. onkeypress="whatever" where whatever is a legal JavaScript. If you use "return false;" you cancel the event, if you do nothing or return true, it fires. You can also use "return this.onclick();" if you wish to connect it to the onclick handler. One thing else: the click event isn't a purely mouse event in any browser - it's the event of activating the default action of the element. That means onclick on a button is equal to the fictious onpress, and onclick on a link is equal to either the fictios onmouseclick or the onkeypress if the key pressed happend to be enter (and in some browsers also space). They would also be equal to the fictious onactivate if the user has a CLI or VCI (Voice Control) and wants to "open" the link or "press" the button. Besides, the onkeypress event isn't a [DOM3 Events] key event - only keyup and keydown are. -- liorean ViewStyles, ViewScripts, ToggleStyles and GraphicsInfo bookmarklets and Theme Switcher, Cookies Handler scripts: From tstone at cityofhbg.com Fri May 2 10:52:18 2003 From: tstone at cityofhbg.com (Stone, Timothy) Date: Fri, 2 May 2003 11:52:18 -0400 Subject: [Javascript] proper use of 'void' and WCAG/Section 508 ? [CLOSED] Message-ID: <434B92F12CE7CB44999CA6ADB8DF4149197D2C@airbus.mdt.com> ... snip ... >> Can I call onclick in onkeypress > onkeypress="whatever" where whatever is a legal JavaScript. If you use > "return false;" you cancel the event, if you do nothing or > return true, > it fires. You can also use "return this.onclick();" if you wish to > connect it to the onclick handler. > ... snip ... liorean, Thanks for the quick response and details. It looks to me that the best answer to the question is to state: ... onkeypress="return this.onclick();" ... the simplicity of the solution escaped me. It meets the WCAG guidelines precisely. Thanks again! Tim From dlovering at gazos.com Sat May 3 01:51:55 2003 From: dlovering at gazos.com (David T. Lovering) Date: Fri, 02 May 2003 23:51:55 -0700 Subject: [Javascript] Suppressing wrap Message-ID: <3EB366C5.1B6BCECA@gazos.com> I'm trying to build rows in tables dynamicly using JavaScript, and am having some problems mapping the various 'in-line' parameters for into comparable structures which can be used with innerHTML or something comparable. Of particular concern is "nowrap". In the good old days it was feasible to have an HTML construct like this is a line which is very probably longer than the normal field space I've tried the obvious CSS equivalent as follows: var myTd = createElement("TD"); myTd.style = "wrap: 'off'"; ... and it basicly nukes the whole row containing the equivalent Anybody have some ideas? The justification and wrap of text is critical in this application, as it will be visible on a number of public kiosks. -- Dave Lovering From hassan at webtuitive.com Sat May 3 10:57:26 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Sat, 03 May 2003 08:57:26 -0700 Subject: [Javascript] Suppressing wrap In-Reply-To: <3EB366C5.1B6BCECA@gazos.com> References: <3EB366C5.1B6BCECA@gazos.com> Message-ID: <3EB3E6E6.2020207@webtuitive.com> David T. Lovering wrote: > Of particular concern is "nowrap". > I've tried the obvious CSS equivalent as follows: > > var myTd = createElement("TD"); > myTd.style = "wrap: 'off'"; er, I'd think this would be more obvious: myTd.style.whiteSpace = "nowrap"; // and it works :-) HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From dlovering at gazos.com Sat May 3 12:06:50 2003 From: dlovering at gazos.com (David T. Lovering) Date: Sat, 03 May 2003 10:06:50 -0700 Subject: [Javascript] Suppressing wrap References: <3EB366C5.1B6BCECA@gazos.com> <3EB3E6E6.2020207@webtuitive.com> Message-ID: <3EB3F71B.F35EBCAC@gazos.com> Indeed it does. I'd tried using the full style declaration myTd.style.whitespace = "nowrap"; in one of my earlier test permutations, but obviously the case of "Space" is critical (as are most of the CSS attributes). My mistake. Thanks for the tip! -- Dave Lovering Hassan Schroeder wrote: > > David T. Lovering wrote: > > > Of particular concern is "nowrap". > > > I've tried the obvious CSS equivalent as follows: > > > > var myTd = createElement("TD"); > > myTd.style = "wrap: 'off'"; > > er, I'd think this would be more obvious: > > myTd.style.whiteSpace = "nowrap"; > > // and it works :-) > > HTH! > -- > Hassan Schroeder ----------------------------- hassan at webtuitive.com > Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com > > dream. code. > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From freshflavour at chello.se Sat May 3 16:41:27 2003 From: freshflavour at chello.se (LJ) Date: Sat, 03 May 2003 23:41:27 +0200 Subject: [Javascript] Opening an URL through a form Message-ID: <5.2.0.9.0.20030503231540.009f5800@pop.chello.se> Can anyone offer me help on how to make the following? I'd like to create a HTML form where the word entered in a text field will be added to the following url that will be opened on submit http://www.google.com/search?hl=sv&ie=UTF-8&oe=UTF-8&q= I.e., if you enter "hello" in the text field submitting the form will open the url http://www.google.com/search?hl=sv&ie=UTF-8&oe=UTF-8&q=hello Regards, L Johansson From hassan at webtuitive.com Sat May 3 17:09:37 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Sat, 03 May 2003 15:09:37 -0700 Subject: [Javascript] Opening an URL through a form In-Reply-To: <5.2.0.9.0.20030503231540.009f5800@pop.chello.se> References: <5.2.0.9.0.20030503231540.009f5800@pop.chello.se> Message-ID: <3EB43E21.5010004@webtuitive.com> LJ wrote: > I'd like to create a HTML form where the word entered in a text field > will be added to the following url that will be opened on submit > http://www.google.com/search?hl=sv&ie=UTF-8&oe=UTF-8&q= > > I.e., if you enter "hello" in the text field submitting the form will > open the url http://www.google.com/search?hl=sv&ie=UTF-8&oe=UTF-8&q=hello You're in luck -- that's the way browsers work; a 'GET' request has all form name/value pairs appended as a 'query string' :-)
In other words, the above form will do exactly what you describe. HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From tstone at cityofhbg.com Mon May 5 08:56:37 2003 From: tstone at cityofhbg.com (Stone, Timothy) Date: Mon, 5 May 2003 09:56:37 -0400 Subject: [Javascript] Opening an URL through a form Message-ID: <434B92F12CE7CB44999CA6ADB8DF4149197D2D@airbus.mdt.com> > LJ wrote: > > > I'd like to create a HTML form where the word entered in a > text field > > will be added to the following url that will be opened on submit > > http://www.google.com/search?hl=sv&ie=UTF-8&oe=UTF-8&q= > > > > I.e., if you enter "hello" in the text field submitting the > form will > > open the url > http://www.google.com/search?hl=sv&ie=UTF-8&oe=UTF-8&q=hello > > You're in luck -- that's the way browsers work; a 'GET' request > has all form name/value pairs appended as a 'query string' :-) > >
> > > > > >
> > In other words, the above form will do exactly what you describe. LJ, Are you expecting single term, or one word, searches? Consider however that, both in practice and expectation, your users are likely going to type multiple word phrases! Further enhance your form by validating your search input. If you must force *single word* queries use String.split( delimiter ) to get the first term and pass it to Google. ### in the document head ### ### form element: note the onsubmit event handler ###
This will correct your user queries, thus meeting your expectations for the form. Javascript excels in client side validation of form data before submission to server-side applications. But since Javascript can be disabled by the savvy, yet paranoid, user make sure that your server-side application revalidates the input. In this case you do not have complete control of the server-side application. If javascript is disabled, multiple word queries will be passed unvalidated to Google, defeating your intended purpose of the form. HTH, Tim From rdong at cait.org Tue May 6 08:43:10 2003 From: rdong at cait.org (Roland Dong) Date: Tue, 06 May 2003 08:43:10 -0500 Subject: [Javascript] What is the equivalent of document.all in Netscape? In-Reply-To: <200305011607.AA1595736360@brunone.com> Message-ID: Thanks a lot, I got it. Should do what you suggested! Thanks for your help! Roland On 5/1/03 3:07 PM, "Peter Brunone" wrote: > Roland, > > If you're trying to access a form field (checkbox in this case), you should > go through the form collection like this: > > var gtAll=document.formName.gradeTaught; > > where formName is the name of the form that contains the checkboxes you're > trying to analyze. > > Regards, > > Peter > > ---------- Original Message ---------------------------------- > From: Roland Dong > >> Hi, I have the following javascript but it only works in IE. The problem is >> document.all.gradeTaught. It does not works in Netscape. What is the >> equivalent code for Netscape? >> >> var gtChecked=''; >> var gtAll=document.all.gradeTaught; >> for(var i=0; i> { if (gtAll[i].checked) >> { gtChecked=gtChecked+gtAll[i].value+"/"; >> document.regForm.gradeTaughts.value=gtChecked; >> } >> } >> >> Thanks a lot, >> >> Roland > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript -- From christ at saeweb.com Wed May 7 13:21:49 2003 From: christ at saeweb.com (Chris Tifer) Date: Wed, 7 May 2003 14:21:49 -0400 Subject: [Javascript] Test References: <002801c314c4$11cc40d0$267110ac@roadrunner> Message-ID: <016901c314c5$8711cf30$f10110ac@saweb.lcl> Or better yet: ====================== if(objMailList.responses.length > 0){ alert("Yes") } ----- Original Message ----- From: Terry To: javascript at LaTech.edu Sent: Wednesday, May 07, 2003 2:11 PM Subject: [Javascript] Test Is this list still alive? I have not received any emails in a long while. ~ Terry 757 581-5981 AIM/Yahoo: lv2bounce ------------------------------------------------------------------------------ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael_dougherty at pbp.com Wed May 7 15:42:07 2003 From: michael_dougherty at pbp.com (Michael Dougherty) Date: Wed, 7 May 2003 16:42:07 -0400 Subject: [Javascript] Test In-Reply-To: Message-ID: <001801c314d9$208dab80$1702010a@IT23> I recently upgraded to a new PC/mail client - the last message I sent was rejected I wonder if this one will be rejected also? -----Original Message----- From: javascript at LaTech.edu [mailto:javascript at LaTech.edu] Sent: Wednesday, May 07, 2003 1:22 PM To: javascript at latech.edu Subject: Re: [Javascript] Test Importance: Low Or better yet: ====================== if(objMailList.responses.length > 0){ alert("Yes") } ----- Original Message ----- From: Terry To: javascript at LaTech.edu Sent: Wednesday, May 07, 2003 2:11 PM Subject: [Javascript] Test Is this list still alive? I have not received any emails in a long while. ~ Terry 757 581-5981 AIM/Yahoo: lv2bounce ------------------------------------------------------------------------ ------ _______________________________________________ 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 christ at saeweb.com Wed May 7 15:47:26 2003 From: christ at saeweb.com (Chris Tifer) Date: Wed, 7 May 2003 16:47:26 -0400 Subject: [Javascript] Test References: <001801c314d9$208dab80$1702010a@IT23> Message-ID: <003e01c314d9$dec86680$f10110ac@saweb.lcl> I wonder if it will be too... Let's hope Michael :-) ----- Original Message ----- From: "Michael Dougherty" To: Sent: Wednesday, May 07, 2003 4:42 PM Subject: RE: [Javascript] Test > I recently upgraded to a new PC/mail client - the last message I sent > was rejected > > I wonder if this one will be rejected also? > > -----Original Message----- > From: javascript at LaTech.edu [mailto:javascript at LaTech.edu] > Sent: Wednesday, May 07, 2003 1:22 PM > To: javascript at latech.edu > Subject: Re: [Javascript] Test > Importance: Low > > > Or better yet: > ====================== > > if(objMailList.responses.length > 0){ > alert("Yes") > } > ----- Original Message ----- > From: Terry > To: javascript at LaTech.edu > Sent: Wednesday, May 07, 2003 2:11 PM > Subject: [Javascript] Test > > > Is this list still alive? I have not received any emails in a long > while. > > ~ Terry > 757 581-5981 > AIM/Yahoo: lv2bounce > > > > > ------------------------------------------------------------------------ > ------ > > > _______________________________________________ > 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 merchant at LATECH.EDU Wed May 7 16:09:38 2003 From: merchant at LATECH.EDU (David Merchant) Date: Wed, 07 May 2003 16:09:38 -0500 Subject: [Javascript] Test In-Reply-To: <016901c314c5$8711cf30$f10110ac@saweb.lcl> References: <002801c314c4$11cc40d0$267110ac@roadrunner> Message-ID: <5.1.0.14.2.20030507160737.028a3e28@mail.latech.edu> At 02:21 PM 5/7/2003 -0400, you wrote: >Or better yet: >====================== > >if(objMailList.responses.length > 0){ > alert("Yes") >} :-) Maybe with all the bad weather, floodings and tornadoes and such, many U.S. folk are not thinking about JavaScripting right now. I'm having problems getting email out and I know of several folk personally who have lost power due to thunderstorms, flooding or tornadoes. TTFN, David Director of Integrated Technology CATALyST Louisiana Tech University Carson Taylor Hall, Rm. 130 Adams Street (PO Box 3179) Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From tsimmons at employmentlawadvisors.com Wed May 7 16:45:39 2003 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Wed, 7 May 2003 16:45:39 -0500 Subject: [Javascript] Test References: <001801c314d9$208dab80$1702010a@IT23> Message-ID: <006b01c314e2$00a8e920$8b7ba8c0@sndmgr122> I'm getting all of these messages, and I think I got several yesterday as well. Tommy Simmons Employment Law Advisory Network www.employmentlawadvisors.com ----- Original Message ----- From: "Michael Dougherty" To: Sent: Wednesday, May 07, 2003 3:42 PM Subject: RE: [Javascript] Test > I recently upgraded to a new PC/mail client - the last message I sent > was rejected > > I wonder if this one will be rejected also? > > -----Original Message----- > From: javascript at LaTech.edu [mailto:javascript at LaTech.edu] > Sent: Wednesday, May 07, 2003 1:22 PM > To: javascript at latech.edu > Subject: Re: [Javascript] Test > Importance: Low > > Or better yet: > ====================== > > if(objMailList.responses.length > 0){ > alert("Yes") > } > ----- Original Message ----- > From: Terry > To: javascript at LaTech.edu > Sent: Wednesday, May 07, 2003 2:11 PM > Subject: [Javascript] Test > > > Is this list still alive? I have not received any emails in a long > while. > > ~ Terry > 757 581-5981 > AIM/Yahoo: lv2bounce From costea.dan at ssi-schaefer.ro Thu May 8 02:27:58 2003 From: costea.dan at ssi-schaefer.ro (Dan Costea) Date: Thu, 8 May 2003 10:27:58 +0300 Subject: [Javascript] increaseing GDI Objects Message-ID: <00cd01c31533$5aa0aa20$dfdea8c0@pcdco> Hi, I have a big intranet application, with allot of js. It works only on IE (we use IE6.0). I observed (with task manager) that if I have "n" GDI objects, I open a window and then close it, then I have about n+20 DGI objects. This problem cause the freeze of the IE after a while (few hours) of using the application (the GDI objects are limited and the application permanently increase them). Any ideas why is this happening? How can I control this from js or what could I do wrong? A little more info about the application: for webserver I use jakarta-tomcat-4.0.3, with jdk1.3-ibm. -------------- next part -------------- An HTML attachment was scrubbed... URL: From adagilson at cpqam.fiocruz.br Tue May 13 15:28:00 2003 From: adagilson at cpqam.fiocruz.br (Adagilson Batista Bispo da Silva) Date: Tue, 13 May 2003 17:28:00 -0300 Subject: [Javascript] pcworld or pcmag - which one do you prefer? References: <018101c31982$220a7760$b2811b42@oemcomputer> Message-ID: <3EC15550.5040900@cpqam.fiocruz.br> Hello friends i need your opinion to subscribe to one of these two magazines about computing: pc world or pc magazine. which one do you prefer? why? thanks for any help dan morgan escreveu: >As far as I'm concerned PCMag does nothing for me but show a lot of >advertising and those that advertise in that Mag suddenly turnout to be >"Best Buys" > >Good Luck... > >Dan > > > >-----Original Message----- >From: Windows Home/SOHO [mailto:WIN-HOME at PEACH.EASE.LSOFT.COM] On Behalf >Of Adagilson Batista Bispo da Silva >Sent: Monday, May 12, 2003 9:42 AM >To: WIN-HOME at PEACH.EASE.LSOFT.COM >Subject: pcworld or pcmag - which one do you prefer? > > >I'm to go to subscribe to a magazine in the new digital format of Zinio >Reader and I don't know if PCmag is in fact better than PCworld. I just >know PCmag. Whith one has more subscribers? Which one do you prefer? >thanks for your help a. > > > -- Adagilson Batista Bispo da Silva Bibliotec?rio FIOCRUZ-Centro de Pesquisa Aggeu Magalh?es Fone 81 3302-6524 From charlie_chan at cox-internet.com Wed May 14 11:58:28 2003 From: charlie_chan at cox-internet.com (charlie_chan) Date: Wed, 14 May 2003 11:58:28 -0500 Subject: [Javascript] pcworld or pcmag - which one do you prefer? References: <018101c31982$220a7760$b2811b42@oemcomputer> <3EC15550.5040900@cpqam.fiocruz.br> Message-ID: <001501c31a3a$0a9f6730$cb29e942@halstrom> PC World for general computer related articles and CPU for hardcore computer types. PC Magazine is more than a computer magazine and it does have a lot of advertising. I describe MP Mag as to everyday in the nature of its articles. Its more like Popular Science with a compute related slant to its nature and meant for the financially well healed.. ----- Original Message ----- From: "Adagilson Batista Bispo da Silva" To: Cc: ; Sent: Tuesday, May 13, 2003 3:28 PM Subject: [Javascript] pcworld or pcmag - which one do you prefer? Hello friends i need your opinion to subscribe to one of these two magazines about computing: pc world or pc magazine. which one do you prefer? why? thanks for any help dan morgan escreveu: >As far as I'm concerned PCMag does nothing for me but show a lot of >advertising and those that advertise in that Mag suddenly turnout to be >"Best Buys" > >Good Luck... > >Dan > > > >-----Original Message----- >From: Windows Home/SOHO [mailto:WIN-HOME at PEACH.EASE.LSOFT.COM] On Behalf >Of Adagilson Batista Bispo da Silva >Sent: Monday, May 12, 2003 9:42 AM >To: WIN-HOME at PEACH.EASE.LSOFT.COM >Subject: pcworld or pcmag - which one do you prefer? > > >I'm to go to subscribe to a magazine in the new digital format of Zinio >Reader and I don't know if PCmag is in fact better than PCworld. I just >know PCmag. Whith one has more subscribers? Which one do you prefer? >thanks for your help a. > > > -- Adagilson Batista Bispo da Silva Bibliotec?rio FIOCRUZ-Centro de Pesquisa Aggeu Magalh?es Fone 81 3302-6524 _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From javascript at theblades-family.com Wed May 14 12:58:55 2003 From: javascript at theblades-family.com (Cutter (JavaScript List)) Date: Wed, 14 May 2003 13:58:55 -0400 Subject: [Javascript] increaseing GDI Objects In-Reply-To: <00cd01c31533$5aa0aa20$dfdea8c0@pcdco> References: <00cd01c31533$5aa0aa20$dfdea8c0@pcdco> Message-ID: <3EC283DF.3090404@theblades-family.com> Dan, I can't be positive but since your app is running "allot of js" then the server and jdk are moot points if it is a js issue since js is a client side scripting language. I don't know much (if anything) about GDI objects, but since you mentioned which jdk you were using it makes me wonder if you are also using Java in your application. If so, could the GDI objects be formed by the Java? I only bring this up to clarify and to assist in pinpointing what may be the true culprit within your app. Cutter Dan Costea wrote: > Hi, > > I have a big intranet application, with allot of js. It works only on > IE (we use IE6.0). > I observed (with task manager) that if I have "n" GDI objects, I open > a window and then close it, then I have about n+20 DGI objects. This > problem cause the freeze of the IE after a while (few hours) of using > the application (the GDI objects are limited and the application > permanently increase them). > > Any ideas why is this happening? How can I control this from js or > what could I do wrong? > > A little more info about the application: > for webserver I use jakarta-tomcat-4.0.3, with jdk1.3-ibm. > >------------------------------------------------------------------------ > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript > > From spindrift at oceanfree.net Wed May 14 13:43:40 2003 From: spindrift at oceanfree.net (Tim Makins) Date: Wed, 14 May 2003 19:43:40 +0100 Subject: [Javascript] Encrypting JavaScript References: <000c01c2e7ee$8a9839e0$0300a8c0@jaime><014b01c30648$a92cbfc0$b6a3cad5@host> <3EA13F25.2040400@aflyingstart.net> Message-ID: <00a701c31a48$bf5cbfc0$23a5cad5@host> Has anyone tried using this ? Opinions ? Effectiveness ? Problems ? http://www.stickysauce.com/misctools/js-encrypt/index.html Tim in Ireland. From michael_dougherty at pbp.com Wed May 14 15:25:29 2003 From: michael_dougherty at pbp.com (Michael Dougherty) Date: Wed, 14 May 2003 16:25:29 -0400 Subject: [Javascript] Encrypting JavaScript In-Reply-To: Message-ID: <001501c31a56$f93055f0$1702010a@IT23> Considering that: x = 1 Becomes: var V1AQAPKRV="z'02'1F'023"; V1Avjgnglevj=""; V1Aqapkrv="";var V02amfg3; V02amfg3=V1AQAPKRV.length;for (i=0;i Message-ID: <00bd01c31a8d$45ff0e40$0be8adcb@k1n8i8> I'm sure there are good reasons for trying to encrypt or hide client side code....or else, we are saying Jscript can never be used for a commercial application !? But lets face it, any snippet of your client side code, can be easily duplicated by any experienced code writer.....without even seeing the source..... Its the application in total that you would want to protect I would think, and because this would normally be a combination of client and server side script, a developer might be hard pressed to copy the entire application for their own use.......I dont know if reverse engineering is the term, but by the time they got it working for themselves, and were able to maintain it, they would have been better off doing it from scratch! Andrew Gibson > Considering that: > x = 1 > > Becomes: > var V1AQAPKRV="z'02'1F'023"; V1Avjgnglevj=""; V1Aqapkrv="";var V02amfg3; > V02amfg3=V1AQAPKRV.length;for (i=0;i V1Avjgnglevj+=String.fromCharCode(V1AQAPKRV.charCodeAt(i)^2) } > V1Aqapkrv=unescape(V1Avjgnglevj);document.write(V1Aqapkrv); > > It seems to me to just be an ugly mess. I wouldn't call that > "encrypted" because someone could interpret it the same way the > javascript processor would - ie: it's not "secure" > > It does make it more difficult for the causally curious to see what > you're doing. That's probably why it's called the javascript obfuscator > rather than the javascript encryptor. > From costea.dan at ssi-schaefer.ro Wed May 14 23:58:24 2003 From: costea.dan at ssi-schaefer.ro (Dan Costea) Date: Thu, 15 May 2003 07:58:24 +0300 Subject: [Javascript] increaseing GDI Objects References: <00cd01c31533$5aa0aa20$dfdea8c0@pcdco> <3EC283DF.3090404@theblades-family.com> Message-ID: <001a01c31a9e$9d8e9cf0$dfdea8c0@pcdco> Hi Cutter, Yes, I use java and jsp, but on the server side. The problem I described is on the client side. The server side of the application is running on 2 computers (one for the webserver: Tomcat and java, and one for the database server: Oracle). The problem is on client side (more than 50 computers) that are accessing the application. Here, on the clients computers is the problem I described and here is "arriving" just HTML and js code. > Dan, > > I can't be positive but since your app is running "allot of js" then the > server and jdk are moot points if it is a js issue since js is a client > side scripting language. I don't know much (if anything) about GDI > objects, but since you mentioned which jdk you were using it makes me > wonder if you are also using Java in your application. If so, could the > GDI objects be formed by the Java? I only bring this up to clarify and > to assist in pinpointing what may be the true culprit within your app. > > Cutter > > Dan Costea wrote: > > > Hi, > > > > I have a big intranet application, with allot of js. It works only on > > IE (we use IE6.0). > > I observed (with task manager) that if I have "n" GDI objects, I open > > a window and then close it, then I have about n+20 DGI objects. This > > problem cause the freeze of the IE after a while (few hours) of using > > the application (the GDI objects are limited and the application > > permanently increase them). > > > > Any ideas why is this happening? How can I control this from js or > > what could I do wrong? > > > > A little more info about the application: > > for webserver I use jakarta-tomcat-4.0.3, with jdk1.3-ibm. > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >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 Murugan.Selvaraj at geind.ge.com Thu May 15 00:15:19 2003 From: Murugan.Selvaraj at geind.ge.com (Selvaraj, Murugan (Indsys)) Date: Thu, 15 May 2003 10:45:19 +0530 Subject: [Javascript] How do i get the name of the form in JavaScript Message-ID: <05C613689F01D611AC820002A54177C005A8892C@GIAHYDMSX2.SGE.INDSYS.GE.COM> Hi I have a form with specific name.I want to get the name of the form using javascript.How do i get that.Help would be appreciated. Regards Murugan "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system." From walter at torres.ws Thu May 15 01:06:48 2003 From: walter at torres.ws (Walter Torres) Date: Thu, 15 May 2003 01:06:48 -0500 Subject: [Javascript] How do i get the name of the form in JavaScript In-Reply-To: <05C613689F01D611AC820002A54177C005A8892C@GIAHYDMSX2.SGE.INDSYS.GE.COM> Message-ID: assuming you have only 1 form in your document... var strFormName = document.forms[0].name; walter > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu]On Behalf Of Selvaraj, Murugan > (Indsys) > Sent: Thursday, May 15, 2003 12:15 AM > To: javascript at LaTech.edu > Subject: [Javascript] How do i get the name of the form in JavaScript > > > Hi > > I have a form with specific name.I want to get the name of the form using > javascript.How do i get that.Help would be appreciated. > > Regards > Murugan > > > "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE > ADDRESSEE and may contain confidential and privileged information. > If the reader of this message is not the intended recipient, > you are notified that any dissemination, distribution or copy of this > communication is strictly Prohibited. > If you have received this message by error, please notify us > immediately, return the original mail to the sender and delete the > message from your system." > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From Murugan.Selvaraj at geind.ge.com Thu May 15 04:12:28 2003 From: Murugan.Selvaraj at geind.ge.com (Selvaraj, Murugan (Indsys)) Date: Thu, 15 May 2003 14:42:28 +0530 Subject: [Javascript] How to stop the progress bar in IE from running. Message-ID: <05C613689F01D611AC820002A54177C005AA7968@GIAHYDMSX2.SGE.INDSYS.GE.COM> Hi In my application we have a jsp page with pagination control at the bottom of the page. When clicking on next button in the pagination control, it calls the JavaScript and retrieves next 10 data from the DB and displays in the same page.When it retrieves the next 10 data , the progress bar is keep on running even if the page is downloaded completely. How do i stop the progress bar from running once the page is download successful. Help would be appreciated. Regards Murugan "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system." From andyg at ihug.co.nz Thu May 15 06:22:28 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Thu, 15 May 2003 23:22:28 +1200 Subject: [Javascript] How to stop the progress bar in IE from running. References: <05C613689F01D611AC820002A54177C005AA7968@GIAHYDMSX2.SGE.INDSYS.GE.COM> Message-ID: <004601c31ad4$4641eb60$dfe7adcb@k1n8i8> the only way I found was to simulate a click on an empty link in your page....if you click yourself somewhere on the page, you will see it stops. Subject: [Javascript] How to stop the progress bar in IE from running. > Hi > > In my application we have a jsp page with pagination control at the bottom > of the page. When clicking on next button in the pagination control, it > calls the JavaScript and retrieves next 10 data from the DB and displays in > the same page.When it retrieves the next 10 data , the progress bar is keep > on running even if the page is downloaded completely. How do i stop the > progress bar from running once the page is download successful. > > Help would be appreciated. > > Regards > Murugan > > > > "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE > ADDRESSEE and may contain confidential and privileged information. > If the reader of this message is not the intended recipient, > you are notified that any dissemination, distribution or copy of this > communication is strictly Prohibited. > If you have received this message by error, please notify us > immediately, return the original mail to the sender and delete the > message from your system." > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > From dlovering at gazos.com Thu May 15 08:17:45 2003 From: dlovering at gazos.com (David T. Lovering) Date: Thu, 15 May 2003 06:17:45 -0700 Subject: [Javascript] frameborder object issues References: <05C613689F01D611AC820002A54177C005AA7968@GIAHYDMSX2.SGE.INDSYS.GE.COM> <004601c31ad4$4641eb60$dfe7adcb@k1n8i8> Message-ID: <3EC39375.5A28659E@gazos.com> I have two frames in a side-by-side arrangement. I'd like to detect when the cursor is over the middle boundary in order to (1) change the mid-bar color, (2) change the cursor to a drag-hand, and (3) revert back to the normal state once the drag event has completed. The exterior frame boundaries (outer right, left, top, bottom, and corners) all work as advertised -- but the interior frame boundaries don't seem to autodetect cursor position in quite the same way. The boundary geometry WILL alter during the drag event (in other words, the boundary isn't locked), but the cursor icon doesn't change as it should. Please limit all suggestions to "pure" JavaScript -- I'm alergic to ASP and other semi-proprietary language implementations. [More flame mail sure to follow...] -- Dave Lovering From javascript at theblades-family.com Thu May 15 10:40:08 2003 From: javascript at theblades-family.com (Cutter (JavaScript List)) Date: Thu, 15 May 2003 11:40:08 -0400 Subject: [Javascript] Encrypting JavaScript In-Reply-To: <00bd01c31a8d$45ff0e40$0be8adcb@k1n8i8> References: <001501c31a56$f93055f0$1702010a@IT23> <00bd01c31a8d$45ff0e40$0be8adcb@k1n8i8> Message-ID: <3EC3B4D8.7090600@theblades-family.com> If one uses ColdFusion for a server-side scripting language then you can encrypt the entire .cfm document (which I also use for external .js docs by naming them .cfm and calling them from the script tag.) The truly wanting will still find a way to decrypt, but it's worth a try. Steve Blades Seacrets Andrew Gibson wrote: >I'm sure there are good reasons for trying to encrypt or hide client side >code....or else, we are saying Jscript can never be used for a commercial >application !? > >But lets face it, any snippet of your client side code, can be easily >duplicated by any experienced code writer.....without even seeing the >source..... > >Its the application in total that you would want to protect I would think, >and because this would normally be a combination of client and server side >script, a developer might be hard pressed to copy the entire application for >their own use.......I dont know if reverse engineering is the term, but by >the time they got it working for themselves, and were able to maintain it, >they would have been better off doing it from scratch! > >Andrew Gibson > > > > >>Considering that: >>x = 1 >> >>Becomes: >>var V1AQAPKRV="z'02'1F'023"; V1Avjgnglevj=""; V1Aqapkrv="";var V02amfg3; >>V02amfg3=V1AQAPKRV.length;for (i=0;i>V1Avjgnglevj+=String.fromCharCode(V1AQAPKRV.charCodeAt(i)^2) } >>V1Aqapkrv=unescape(V1Avjgnglevj);document.write(V1Aqapkrv); >> >> It seems to me to just be an ugly mess. I wouldn't call that >>"encrypted" because someone could interpret it the same way the >>javascript processor would - ie: it's not "secure" >> >> It does make it more difficult for the causally curious to see what >>you're doing. That's probably why it's called the javascript obfuscator >>rather than the javascript encryptor. >> >> >> > > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript > > From spindrift at oceanfree.net Thu May 15 12:52:37 2003 From: spindrift at oceanfree.net (Tim Makins) Date: Thu, 15 May 2003 18:52:37 +0100 Subject: [Javascript] Encrypting JavaScript References: <001501c31a56$f93055f0$1702010a@IT23><00bd01c31a8d$45ff0e40$0be8adcb@k1n8i8> <3EC3B4D8.7090600@theblades-family.com> Message-ID: <008501c31b0a$c7e67ce0$11a2cad5@host> Thanks for all the comments on encryption. In my case, I'm doing a lot of quite complicated real-time geometrical calculations to do with maps, based on current cursor position and displaying a number of results on the status bar, so I don't want anyone else to use it on their maps. Of course any knowledgeable programmer can duplicate the code, as has been mentioned, but there's so much going on it would take them a while, and I don't particularly want to make it any easier. By the way, I see that the following: self.status = "blah_de_blah_de_blah"; doesn't work with Mozilla. What does ? Tim in Ireland. ----- Original Message ----- From: "Cutter (JavaScript List)" To: "[JavaScript List]" Sent: 15 May 2003 16:40 Subject: Re: [Javascript] Encrypting JavaScript > If one uses ColdFusion for a server-side scripting language then you can > encrypt the entire .cfm document (which I also use for external .js docs > by naming them .cfm and calling them from the script tag.) The truly > wanting will still find a way to decrypt, but it's worth a try. > > Steve Blades > Seacrets > > Andrew Gibson wrote: > > >I'm sure there are good reasons for trying to encrypt or hide client side > >code....or else, we are saying Jscript can never be used for a commercial > >application !? > > > >But lets face it, any snippet of your client side code, can be easily > >duplicated by any experienced code writer.....without even seeing the > >source..... > > > >Its the application in total that you would want to protect I would think, > >and because this would normally be a combination of client and server side > >script, a developer might be hard pressed to copy the entire application for > >their own use.......I dont know if reverse engineering is the term, but by > >the time they got it working for themselves, and were able to maintain it, > >they would have been better off doing it from scratch! > > > >Andrew Gibson > > > > > > > > > >>Considering that: > >>x = 1 > >> > >>Becomes: > >>var V1AQAPKRV="z'02'1F'023"; V1Avjgnglevj=""; V1Aqapkrv="";var V02amfg3; > >>V02amfg3=V1AQAPKRV.length;for (i=0;i >>V1Avjgnglevj+=String.fromCharCode(V1AQAPKRV.charCodeAt(i)^2) } > >>V1Aqapkrv=unescape(V1Avjgnglevj);document.write(V1Aqapkrv); > >> > >> It seems to me to just be an ugly mess. I wouldn't call that > >>"encrypted" because someone could interpret it the same way the > >>javascript processor would - ie: it's not "secure" > >> > >> It does make it more difficult for the causally curious to see what > >>you're doing. That's probably why it's called the javascript obfuscator > >>rather than the javascript encryptor. > >> > >> > >> > > > > > > > >_______________________________________________ > >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 andyg at ihug.co.nz Thu May 15 15:12:34 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Fri, 16 May 2003 08:12:34 +1200 Subject: [Javascript] Encrypting JavaScript References: <001501c31a56$f93055f0$1702010a@IT23><00bd01c31a8d$45ff0e40$0be8adcb@k1n8i8> <3EC3B4D8.7090600@theblades-family.com> Message-ID: <002d01c31b1e$5391aa90$61e7adcb@k1n8i8> The other point of course, is that for someone clever, they may only want to hack into and/or steal pages that ARE encrypted! Someone one time did mention you could do something with session variables, but no doubt there is some way around it. Something like this I think it was: In main page <% session("canRead")="yes" %> <% session("canRead")="no" %> then in the script page src1.asp <% if session("canRead")="no" then response.end end if %> // rest of jscript here I'm all in favour of open source code, but I agree open source application is a bit different! You could follow a few guidelines maybe? 1. Dont keep scripts in separate libraries, eg