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
>
>
>>
>>
> Hi Everyone,
>
> Has anyone got a neat workaround for a 'Yes/ No' message box in
> Javascript?
> Some code would be really great
>
> thanks
>
>
> Bill Marriott
> Analyst/Programmer
> Information Technology
> NSW Agriculture
> Orange
>
> Ph. 02 6391 3657
> Fax. 02 6391 3290
>
>
> This message is intended for the addressee named and may contain
> confidential information. If you are not the intended recipient or
> received it in error, please delete the message and notify sender. Views
> expressed are those of the individual sender and are not necessarily the
views of their organisation.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From uplate at attbi.com Wed May 21 19:30:07 2003
From: uplate at attbi.com (uplate at attbi.com)
Date: Thu, 22 May 2003 00:30:07 +0000
Subject: [Javascript] RE: YES/NO Message box
Message-ID: <20030522003009.28D17308C4B@LaTech.edu>
Here's a little example that could be tweaked but works sufficiently as it is
The Main Document opens the yesno_popup.htm file which in turn calls the
"whichChoice" function in the Main document. You could certainly use gifs
instead of buttons on the popup. Good luck, I hope it helps.
here is the main document:
------------------------------------------------------------------------------
My Main Document
-------------------------------------------------------------------------------
Here Is The popup document I named yesno_popup.htm:
Untitled Document
> Hi Everyone,
>
> Has anyone got a neat workaround for a 'Yes/ No' message box in
> Javascript?
> Some code would be really great
>
> thanks
>
>
> Bill Marriott
> Analyst/Programmer
> Information Technology
> NSW Agriculture
> Orange
>
> Ph. 02 6391 3657
> Fax. 02 6391 3290
>
>
> This message is intended for the addressee named and may contain
> confidential information. If you are not the intended recipient or
> received it in error, please delete the message and notify sender. Views
> expressed are those of the individual sender and are not necessarily the
views of their organisation.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From hypersdc at cox.net Thu May 22 22:36:41 2003
From: hypersdc at cox.net (hypersdc at cox.net)
Date: Thu, 22 May 2003 20:36:41 -0700
Subject: [Javascript] variable undefined problem
Message-ID: <00d701c320dc$86396c30$6401a8c0@CILaptop1>
I'm having problems with a variable undefined error.
I'm grabbing a set of variables from a file (.js file). I'm cycling through
the variables with a while statement. The problem I'm having is the last
variable is getting an undefined. How can I fix the code so this doesn't
happen.
//Start Code:
var i = 0;
var itemCheck = item0;
while(window.itemCheck)
{
document.write("" + itemCheck + " " );
i++;
x = "item" + i;
itemCheck =eval(x);
if (typeof eval(x) == 'undefined')
alert('2 Undefined');
else
alert('2 okay');
itemCheck =eval(x);
}
//End code
//js content
var item0 = "name 1";
var item1 = "name 2";
//end js file content
Thanks in advance
From hypersdc at cox.net Fri May 23 11:47:55 2003
From: hypersdc at cox.net (hypersdc at cox.net)
Date: Fri, 23 May 2003 09:47:55 -0700
Subject: [Javascript] variable undefined problem
References: <00d701c320dc$86396c30$6401a8c0@CILaptop1>
<3ECF3703.2030204@aflyingstart.net>
Message-ID: <00a401c3214b$0fa60c30$6401a8c0@CILaptop1>
Ok. But how should I fix that. Any recommendations?
I'm trying to get the variable values from the external file without knowing
how many items are in the list.
Thanks
----- Original Message -----
From: "Rodney Myers"
To: "[JavaScript List]"
Sent: Saturday, May 24, 2003 2:10 AM
Subject: Re: [Javascript] variable undefined problem
> Hello,
>
> As the while loop starts with a valid itemCheck variable it should cycle
> until the last valid variable.
> But inside the loop you have
>
> x = "item" + i;
> itemCheck =eval(x);
>
>
> if itemN was the last valid item, and so permitted entry to the loop
> the N+1 is guaranteed to be undefined.
>
> hth
>
> Rodney
>
>
> hypersdc at cox.net wrote:
>
> >I'm having problems with a variable undefined error.
> >
> >I'm grabbing a set of variables from a file (.js file). I'm cycling
through
> >the variables with a while statement. The problem I'm having is the last
> >variable is getting an undefined. How can I fix the code so this doesn't
> >happen.
> >
> >//Start Code:
> >
> >var i = 0;
> >var itemCheck = item0;
> >while(window.itemCheck)
> >{
> >
> > document.write("" + itemCheck + " " );
> >
> > i++;
> >x = "item" + i;
> >itemCheck =eval(x);
> >
> >if (typeof eval(x) == 'undefined')
> > alert('2 Undefined');
> >else
> > alert('2 okay');
> >itemCheck =eval(x);
> >
> >
> >}
> >
> >
> >//End code
> >
> >//js content
> >var item0 = "name 1";
> >var item1 = "name 2";
> >
> >//end js file content
> >
> >Thanks in advance
> >
> >_______________________________________________
> >Javascript mailing list
> >Javascript at LaTech.edu
> >https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> >
> >
>
> --
>
> PS. I now have resale rights for Mike Chen's
> BizAutomator. If you have to answer routine
> email queries from your sites or mailings then
> you will find this simple-to-use program invaluable.
> http://www.BizAutomator.co.uk
>
>
>
>
>
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From rodney at aflyingstart.net Sat May 24 04:10:27 2003
From: rodney at aflyingstart.net (Rodney Myers)
Date: Sat, 24 May 2003 10:10:27 +0100
Subject: [Javascript] variable undefined problem
References: <00d701c320dc$86396c30$6401a8c0@CILaptop1>
Message-ID: <3ECF3703.2030204@aflyingstart.net>
Hello,
As the while loop starts with a valid itemCheck variable it should cycle
until the last valid variable.
But inside the loop you have
x = "item" + i;
itemCheck =eval(x);
if itemN was the last valid item, and so permitted entry to the loop
the N+1 is guaranteed to be undefined.
hth
Rodney
hypersdc at cox.net wrote:
>I'm having problems with a variable undefined error.
>
>I'm grabbing a set of variables from a file (.js file). I'm cycling through
>the variables with a while statement. The problem I'm having is the last
>variable is getting an undefined. How can I fix the code so this doesn't
>happen.
>
>//Start Code:
>
>var i = 0;
>var itemCheck = item0;
>while(window.itemCheck)
>{
>
> document.write("" + itemCheck + " " );
>
> i++;
>x = "item" + i;
>itemCheck =eval(x);
>
>if (typeof eval(x) == 'undefined')
> alert('2 Undefined');
>else
> alert('2 okay');
>itemCheck =eval(x);
>
>
>}
>
>
>//End code
>
>//js content
>var item0 = "name 1";
>var item1 = "name 2";
>
>//end js file content
>
>Thanks in advance
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>
--
PS. I now have resale rights for Mike Chen's
BizAutomator. If you have to answer routine
email queries from your sites or mailings then
you will find this simple-to-use program invaluable.
http://www.BizAutomator.co.uk
From walter at torres.ws Sat May 24 15:10:40 2003
From: walter at torres.ws (Walter Torres)
Date: Sat, 24 May 2003 15:10:40 -0500
Subject: [Javascript] variable undefined problem
In-Reply-To: <00a401c3214b$0fa60c30$6401a8c0@CILaptop1>
Message-ID:
sure, increament *after* you get the item needed.
You are doing it *before*
This means you will *never* get 'item0' and you will always ask for ONE past
the end.
walter
> -----Original Message-----
> From: javascript-bounces at LaTech.edu
> [mailto:javascript-bounces at LaTech.edu]On Behalf Of hypersdc at cox.net
> Sent: Friday, May 23, 2003 11:48 AM
> To: [JavaScript List]
> Subject: Re: [Javascript] variable undefined problem
>
>
> Ok. But how should I fix that. Any recommendations?
> I'm trying to get the variable values from the external file
> without knowing
> how many items are in the list.
>
> Thanks
> ----- Original Message -----
> From: "Rodney Myers"
> To: "[JavaScript List]"
> Sent: Saturday, May 24, 2003 2:10 AM
> Subject: Re: [Javascript] variable undefined problem
>
>
> > Hello,
> >
> > As the while loop starts with a valid itemCheck variable it should cycle
> > until the last valid variable.
> > But inside the loop you have
> >
> > x = "item" + i;
> > itemCheck =eval(x);
> >
> >
> > if itemN was the last valid item, and so permitted entry to the loop
> > the N+1 is guaranteed to be undefined.
> >
> > hth
> >
> > Rodney
> >
> >
> > hypersdc at cox.net wrote:
> >
> > >I'm having problems with a variable undefined error.
> > >
> > >I'm grabbing a set of variables from a file (.js file). I'm cycling
> through
> > >the variables with a while statement. The problem I'm having
> is the last
> > >variable is getting an undefined. How can I fix the code so
> this doesn't
> > >happen.
> > >
> > >//Start Code:
> > >
> > >var i = 0;
> > >var itemCheck = item0;
> > >while(window.itemCheck)
> > >{
> > >
> > > document.write("" + itemCheck +
> " " );
> > >
> > > i++;
> > >x = "item" + i;
> > >itemCheck =eval(x);
> > >
> > >if (typeof eval(x) == 'undefined')
> > > alert('2 Undefined');
> > >else
> > > alert('2 okay');
> > >itemCheck =eval(x);
> > >
> > >
> > >}
> > >
> > >
> > >//End code
> > >
> > >//js content
> > >var item0 = "name 1";
> > >var item1 = "name 2";
> > >
> > >//end js file content
> > >
> > >Thanks in advance
> > >
> > >_______________________________________________
> > >Javascript mailing list
> > >Javascript at LaTech.edu
> > >https://lists.LaTech.edu/mailman/listinfo/javascript
> > >
> > >
> > >
> >
> > --
> >
> > PS. I now have resale rights for Mike Chen's
> > BizAutomator. If you have to answer routine
> > email queries from your sites or mailings then
> > you will find this simple-to-use program invaluable.
> > http://www.BizAutomator.co.uk
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > 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 Mon May 26 14:58:43 2003
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Mon, 26 May 2003 21:58:43 +0200
Subject: [Javascript] how to find the time taken for loading a page
Message-ID:
There is no standard procedure of this kind that I know of; -But you could
build something like this:
(a plain example)
...
(...the rest of the document goes here...)
Regards!
>From: "Jagannayakam"
>Reply-To: "[JavaScript List]"
>To:
>Subject: [Javascript] how to find the time taken for loading a page
>Date: Fri, 16 May 2003 11:27:56 +0530
>
>Hi ,
>
>How to find the time taken for a page to get loaded in the browser.
>
>Regards,
>Jagan.
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
From hypersdc at cox.net Wed May 28 00:31:10 2003
From: hypersdc at cox.net (hypersdc at cox.net)
Date: Tue, 27 May 2003 22:31:10 -0700
Subject: [Javascript] variable undefined problem
References:
Message-ID: <008d01c324da$58c26070$6401a8c0@CILaptop1>
I still have the increment and variable undefined problem.
Here is my latest revision of the code:
var i = 0;
var itemCheck = item0;
while(window.itemCheck)
{
x = "item" + i;
itemCheck =eval(x);
document.write("" + itemCheck + " " );
i++;
}
Any help would be appreciated as this one is driving me crazy.
The .js file that I'm getting the variables from has 2 items in it currently.
var item0 = "files/file1.html";
var item1 = "files/file2.html";
Later it will have an unknown amount (that's why I need the while statement).
Thanks in advance,
hyper
----- Original Message -----
From: Walter Torres
To: [JavaScript List]
Sent: Saturday, May 24, 2003 1:10 PM
Subject: RE: [Javascript] variable undefined problem
sure, increament *after* you get the item needed.
You are doing it *before*
This means you will *never* get 'item0' and you will always ask for ONE past
the end.
walter
> -----Original Message-----
> From: javascript-bounces at LaTech.edu
> [mailto:javascript-bounces at LaTech.edu]On Behalf Of hypersdc at cox.net
> Sent: Friday, May 23, 2003 11:48 AM
> To: [JavaScript List]
> Subject: Re: [Javascript] variable undefined problem
>
>
> Ok. But how should I fix that. Any recommendations?
> I'm trying to get the variable values from the external file
> without knowing
> how many items are in the list.
>
> Thanks
> ----- Original Message -----
> From: "Rodney Myers"
> To: "[JavaScript List]"
> Sent: Saturday, May 24, 2003 2:10 AM
> Subject: Re: [Javascript] variable undefined problem
>
>
> > Hello,
> >
> > As the while loop starts with a valid itemCheck variable it should cycle
> > until the last valid variable.
> > But inside the loop you have
> >
> > x = "item" + i;
> > itemCheck =eval(x);
> >
> >
> > if itemN was the last valid item, and so permitted entry to the loop
> > the N+1 is guaranteed to be undefined.
> >
> > hth
> >
> > Rodney
> >
> >
> > hypersdc at cox.net wrote:
> >
> > >I'm having problems with a variable undefined error.
> > >
> > >I'm grabbing a set of variables from a file (.js file). I'm cycling
> through
> > >the variables with a while statement. The problem I'm having
> is the last
> > >variable is getting an undefined. How can I fix the code so
> this doesn't
> > >happen.
> > >
> > >//Start Code:
> > >
> > >var i = 0;
> > >var itemCheck = item0;
> > >while(window.itemCheck)
> > >{
> > >
> > > document.write("" + itemCheck +
> " " );
> > >
> > > i++;
> > >x = "item" + i;
> > >itemCheck =eval(x);
> > >
> > >if (typeof eval(x) == 'undefined')
> > > alert('2 Undefined');
> > >else
> > > alert('2 okay');
> > >itemCheck =eval(x);
> > >
> > >
> > >}
> > >
> > >
> > >//End code
> > >
> > >//js content
> > >var item0 = "name 1";
> > >var item1 = "name 2";
> > >
> > >//end js file content
> > >
> > >Thanks in advance
> > >
> > >_______________________________________________
> > >Javascript mailing list
> > >Javascript at LaTech.edu
> > >https://lists.LaTech.edu/mailman/listinfo/javascript
> > >
> > >
> > >
> >
> > --
> >
> > PS. I now have resale rights for Mike Chen's
> > BizAutomator. If you have to answer routine
> > email queries from your sites or mailings then
> > you will find this simple-to-use program invaluable.
> > http://www.BizAutomator.co.uk
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From hypersdc at cox.net Wed May 28 11:26:26 2003
From: hypersdc at cox.net (hypersdc at cox.net)
Date: Wed, 28 May 2003 09:26:26 -0700
Subject: [Javascript] variable undefined problem
References: <3206D8FDDF2F2541A7715A825228937706A1E836@hq2.pcmail.ingr.com>
Message-ID: <00fc01c32535$e3125630$6401a8c0@CILaptop1>
Yes. (Each itemX is a variable that is a string defined in an external js file,
right?)
Here is the contents of the .js
var item0 = "files/N_80.html";
var item1 = "files/test.html";
Thanks,
Hyper
----- Original Message -----
From: Mckinney, Lori K
To: [JavaScript List]
Sent: Thursday, May 29, 2003 8:28 AM
Subject: RE: [Javascript] variable undefined problem
Each itemX is a variable that is a string defined in an external js file,
right?
-----Original Message-----
From: Michael Dougherty [mailto:michael_dougherty at pbp.com]
Sent: Thursday, May 29, 2003 10:27 AM
To: javascript at LaTech.edu
Subject: RE: [Javascript] variable undefined problem
Is itemN supposed to be an object? No context is supplied to know where
to be looking for it.
"Variable undefined" because there was no earlier "var item0 ="
statement. If you are looking for a form object named item0, then you
need syntax like: var ItemValue = eval("document.form["myForm"].item" +
I + ".value")
-----Original Message-----
From: javascript at LaTech.edu [mailto:javascript at LaTech.edu]
Sent: Thursday, May 29, 2003 8:16 AM
To: javascript at latech.edu
Subject: RE: [Javascript] variable undefined problem
Importance: Low
How about using something like this? I changed itemCheck to be a
boolean
flag. If you didn't have an item0, that would have raised an error.
var i = 0;
var itemCheck = true;
while(window.itemCheck)
{
x = "item" + i;
try {
itemCheck =eval(x);
document.write("" + itemCheck + " "
);
i++;
}
catch (e) {
itemCheck = false;
}
}
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lkmckinn at ingr.com Thu May 29 08:15:31 2003
From: lkmckinn at ingr.com (Mckinney, Lori K)
Date: Thu, 29 May 2003 08:15:31 -0500
Subject: [Javascript] variable undefined problem
Message-ID: <3206D8FDDF2F2541A7715A8252289377069F45EC@hq2.pcmail.ingr.com>
How about using something like this? I changed itemCheck to be a boolean
flag. If you didn't have an item0, that would have raised an error.
var i = 0;
var itemCheck = true;
while(window.itemCheck)
{
x = "item" + i;
try {
itemCheck =eval(x);
document.write("" + itemCheck + " " );
i++;
}
catch (e) {
itemCheck = false;
}
}
-----Original Message-----
From: hypersdc at cox.net [mailto:hypersdc at cox.net]
Sent: Wednesday, May 28, 2003 12:31 AM
To: [JavaScript List]
Subject: Re: [Javascript] variable undefined problem
I still have the increment and variable undefined problem.
Here is my latest revision of the code:
var i = 0;
var itemCheck = item0;
while(window.itemCheck)
{
x = "item" + i;
itemCheck =eval(x);
document.write("" + itemCheck + " " );
i++;
}
Any help would be appreciated as this one is driving me crazy.
The .js file that I'm getting the variables from has 2 items in it
currently.
var item0 = "files/file1.html";
var item1 = "files/file2.html";
Later it will have an unknown amount (that's why I need the while
statement).
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From michael_dougherty at pbp.com Thu May 29 10:27:02 2003
From: michael_dougherty at pbp.com (Michael Dougherty)
Date: Thu, 29 May 2003 11:27:02 -0400
Subject: [Javascript] variable undefined problem
In-Reply-To:
Message-ID: <000c01c325f6$c5208090$1702010a@IT23>
Is itemN supposed to be an object? No context is supplied to know where
to be looking for it.
"Variable undefined" because there was no earlier "var item0 ="
statement. If you are looking for a form object named item0, then you
need syntax like: var ItemValue = eval("document.form["myForm"].item" +
I + ".value")
-----Original Message-----
From: javascript at LaTech.edu [mailto:javascript at LaTech.edu]
Sent: Thursday, May 29, 2003 8:16 AM
To: javascript at latech.edu
Subject: RE: [Javascript] variable undefined problem
Importance: Low
How about using something like this? I changed itemCheck to be a
boolean
flag. If you didn't have an item0, that would have raised an error.
var i = 0;
var itemCheck = true;
while(window.itemCheck)
{
x = "item" + i;
try {
itemCheck =eval(x);
document.write("" + itemCheck + " "
);
i++;
}
catch (e) {
itemCheck = false;
}
}
From lkmckinn at ingr.com Thu May 29 10:28:47 2003
From: lkmckinn at ingr.com (Mckinney, Lori K)
Date: Thu, 29 May 2003 10:28:47 -0500
Subject: [Javascript] variable undefined problem
Message-ID: <3206D8FDDF2F2541A7715A825228937706A1E836@hq2.pcmail.ingr.com>
Each itemX is a variable that is a string defined in an external js file,
right?
-----Original Message-----
From: Michael Dougherty [mailto:michael_dougherty at pbp.com]
Sent: Thursday, May 29, 2003 10:27 AM
To: javascript at LaTech.edu
Subject: RE: [Javascript] variable undefined problem
Is itemN supposed to be an object? No context is supplied to know where
to be looking for it.
"Variable undefined" because there was no earlier "var item0 ="
statement. If you are looking for a form object named item0, then you
need syntax like: var ItemValue = eval("document.form["myForm"].item" +
I + ".value")
-----Original Message-----
From: javascript at LaTech.edu [mailto:javascript at LaTech.edu]
Sent: Thursday, May 29, 2003 8:16 AM
To: javascript at latech.edu
Subject: RE: [Javascript] variable undefined problem
Importance: Low
How about using something like this? I changed itemCheck to be a
boolean
flag. If you didn't have an item0, that would have raised an error.
var i = 0;
var itemCheck = true;
while(window.itemCheck)
{
x = "item" + i;
try {
itemCheck =eval(x);
document.write("" + itemCheck + " "
);
i++;
}
catch (e) {
itemCheck = false;
}
}
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
From michael_dougherty at pbp.com Thu May 29 10:41:42 2003
From: michael_dougherty at pbp.com (Michael Dougherty)
Date: Thu, 29 May 2003 11:41:42 -0400
Subject: [Javascript] variable undefined problem
In-Reply-To:
Message-ID: <000d01c325f8$d1a5d890$1702010a@IT23>
Sorry, I only looked at the code snippet of the email I replied to
-----Original Message-----
From: javascript at LaTech.edu [mailto:javascript at LaTech.edu]
Sent: Thursday, May 29, 2003 10:29 AM
To: javascript at latech.edu
Subject: RE: [Javascript] variable undefined problem
Importance: Low
Each itemX is a variable that is a string defined in an external js
file,
right?
-----Original Message-----
From: Michael Dougherty [mailto:michael_dougherty at pbp.com]
Sent: Thursday, May 29, 2003 10:27 AM
To: javascript at LaTech.edu
Subject: RE: [Javascript] variable undefined problem
Is itemN supposed to be an object? No context is supplied to know where
to be looking for it.
"Variable undefined" because there was no earlier "var item0 ="
statement. If you are looking for a form object named item0, then you
need syntax like: var ItemValue = eval("document.form["myForm"].item" +
I + ".value")
-----Original Message-----
From: javascript at LaTech.edu [mailto:javascript at LaTech.edu]
Sent: Thursday, May 29, 2003 8:16 AM
To: javascript at latech.edu
Subject: RE: [Javascript] variable undefined problem
Importance: Low
How about using something like this? I changed itemCheck to be a
boolean
flag. If you didn't have an item0, that would have raised an error.
var i = 0;
var itemCheck = true;
while(window.itemCheck)
{
x = "item" + i;
try {
itemCheck =eval(x);
document.write("" + itemCheck + " "
);
i++;
}
catch (e) {
itemCheck = false;
}
}
_______________________________________________
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 May 29 12:25:35 2003
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Thu, 29 May 2003 19:25:35 +0200
Subject: [Javascript] Re: Javascript Weird
Message-ID:
Is it possible that you've deleted one or all of this lines:
...
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PERSERVESTATE = 0
HIGHLIGHT = 1
BUILDALL=0
...
because the line "USEFRAMES = 0" is telling the script explicitly not to use
frames. Set it to:"1" (true)
>From: Alan Roberto Romaniuc
>Reply-To: "[JavaScript List]"
>To: "[JavaScript List]"
>Subject: Re: [Javascript] Re: Javascript Weird
>Date: Tue, 20 May 2003 15:46:46 -0300
>
>
>Hi again...
>
> Really weird, but I deleted some white lines and it start worked... I
>will try backtrack it.... but is freak (mozilla and explorer work now)
>
> I am tryi
>
>Peter Brunone wrote:
>
>> Your question is a good one, and I'd like to hear how the developer of
>>Treeview answers it. Sometimes a web application uses frames within
>>itself, and assumes that its own parent frame is the "top" frame... and
>>when you contain it within another frame, it gets confused because of the
>>way it refers to some function. For example, my PortaChat application
>>at http://aspalliance.com/peterbrunone/chatroom.asp throws errors when you
>>run it inside a frame. You can fix this by changing some of the frame
>>references in the code, because PortaChat makes basic assumptions about
>>where it is located in the window hierarchy. Perhaps this treeview app
>>works the same way.
>> Let us know what you find out, and if you can't get a fix from those
>>guys, come back and we'll study it some more.
>>
>>Cheers,
>>
>>Peter
>>
>>---------- Original Message ----------------------------------
>>From: Alan Roberto Romaniuc
>>
>>
>>>Ok, i will do it, but only one question more:
>>> If the page without frames finds the function, what the hell a page
>>>with framnes doesn do that?
>>>
>>>Thanks.
>>>
>>>Peter Brunone wrote:
>>>
>>>
>>>
>>>> Does the treeview application use frames within itself? It sounds
>>>>like it expects a certain frame as the top and if you contain it in
>>>>another frame, it may not work. I would also advise you to check the
>>>>FAQ section on treeview.net as well as contacting the developer to see
>>>>if this is a common problem (especially since you have the purchased
>>>>version).
>>>>
>>>>---------- Original Message ----------------------------------
>>>>From: Alan Roberto Romaniuc
>>>>
>>>>
>>_______________________________________________
>>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
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
From andyg at ihug.co.nz Thu May 29 18:30:57 2003
From: andyg at ihug.co.nz (Andrew Gibson)
Date: Fri, 30 May 2003 11:30:57 +1200
Subject: [Javascript] Download time
References: <3206D8FDDF2F2541A7715A8252289377069F45EC@hq2.pcmail.ingr.com>
Message-ID: <005501c3263a$5c047320$e3e6adcb@k1n8i8>
Not really a Javascript problem, though in some ways it is.
I have a reasonably large DHTML application, around 120kb on the page,
mostly taken up with Javascript code. What are some ideas to speed the
download of the page?
Im using .net, so even with all the jscript cached on the server, the time
to load is still around 15-20 secs, too long I think.
I've looked at compression, which looks to cut the time to 20% which is
great, but are there any other techniques, besides effiicent coding !
And does the size of the page represent a problem if I get lots of
downloads?
Cheers
Andrew Gibson
From carl at carladler.org Sat May 31 09:32:55 2003
From: carl at carladler.org (Carl Adler)
Date: Sat, 31 May 2003 10:32:55 -0400
Subject: [Javascript] VisualBasic.net
Message-ID:
I keep hearing a rumor that Microsoft IE is planning to drop JavaScript in
favor of VisualBasic.net. Anyone come across any "definitive" information on
this?
Carl
From carl at carladler.org Sat May 31 11:56:57 2003
From: carl at carladler.org (Carl Adler)
Date: Sat, 31 May 2003 12:56:57 -0400
Subject: [Javascript] Javascript 1.5
In-Reply-To:
Message-ID:
I have been off the List for awhile so if this is repetitious of previous
posts I apologize.
On Mac OS9
Netscape 7 (Iassume also 6) supports JavaScript 1.5.
Mozilla 1.2 supports JavaScript 1.5.
AOL 5 does not it.
On Mac OSX
Safari does not support it.
Netscape 7.0 supports it.
Mozilla supports it.
OmniWeb 4.2 does not support it.
On X-Windows running on OSX
Mozilla supports JavaScript 1.5
Konqueror does not support it.
On Windows
IE 6 supports JavaScript 1.5
Netscape 6.2 support it.
Netscape 7 supports it.
AOL 7 supports it.
If you can add to this list I would appreciate it if you would let me know.
Carl
From charlie_chan at cox-internet.com Sat May 31 12:52:27 2003
From: charlie_chan at cox-internet.com (charlie_chan)
Date: Sat, 31 May 2003 12:52:27 -0500
Subject: [Javascript] Download time
References: <3206D8FDDF2F2541A7715A8252289377069F45EC@hq2.pcmail.ingr.com>
<005501c3263a$5c047320$e3e6adcb@k1n8i8>
Message-ID: <000e01c3279d$6619a010$cb29e942@halstrom>
This is not an answer to your question. It is about .NET . I am coming
close to believing the .NET
is a resource hog and a drag on performance. This opinion is based on what
I have been reading
not as a user. What does your experience with .NET indicate?
----- Original Message -----
From: "Andrew Gibson"
To: "[JavaScript List]"
Sent: Thursday, May 29, 2003 6:30 PM
Subject: [Javascript] Download time
> Not really a Javascript problem, though in some ways it is.
>
> I have a reasonably large DHTML application, around 120kb on the page,
> mostly taken up with Javascript code. What are some ideas to speed the
> download of the page?
>
> Im using .net, so even with all the jscript cached on the server, the time
> to load is still around 15-20 secs, too long I think.
>
> I've looked at compression, which looks to cut the time to 20% which is
> great, but are there any other techniques, besides effiicent coding !
>
> And does the size of the page represent a problem if I get lots of
> downloads?
>
> Cheers
> Andrew Gibson
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
From peter at brunone.com Sat May 31 15:02:36 2003
From: peter at brunone.com (Peter Brunone)
Date: Sat, 31 May 2003 15:02:36 -0500
Subject: [Javascript] Download time
In-Reply-To: <000e01c3279d$6619a010$cb29e942@halstrom>
Message-ID:
Charlie,
.NET has nothing to do with slow access times for web pages, unless of
course you're doing inefficient coding. The framework does require more
resources than running without it, but this is true of anything you install
on your machine.
Andrew,
If you have a large DHTML application, chances are that the browser is
taking a long time to render it (120kB is a lot for one page, especially if
that doesn't include images). As for server caching, that's not really
going to speed up client-side performance unless your page has to physically
obtain the Javascript from a database or somehow create it from an algorithm
that you've created.
As with any web application, of course page size will affect the speed of
multiple downloads; the more people download it, the more bandwidth you need
for your server. Maybe I'm not correctly understanding the question...
Let me reiterate that browser rendering is probably your biggest concern at
this point. I don't know exactly how to optimize it -- especially without
seeing the code -- but I highly suggest you approach the problem from that
angle. That said, I don't know how fast your client or server internet
connection is, so you might check into that too :)
I hope this has been of some help...
Cheers,
Peter
|-----Original Message-----
|From: javascript-bounces at LaTech.edu
|
|This is not an answer to your question. It is about .NET . I am coming
|close to believing the .NET
|is a resource hog and a drag on performance. This opinion is based on what
|I have been reading
|not as a user. What does your experience with .NET indicate?
|
|----- Original Message -----
|From: "Andrew Gibson"
|
|> Not really a Javascript problem, though in some ways it is.
|>
|> I have a reasonably large DHTML application, around 120kb on the page,
|> mostly taken up with Javascript code. What are some ideas to speed the
|> download of the page?
|>
|> Im using .net, so even with all the jscript cached on the
|server, the time
|> to load is still around 15-20 secs, too long I think.
|>
|> I've looked at compression, which looks to cut the time to 20% which is
|> great, but are there any other techniques, besides effiicent coding !
|>
|> And does the size of the page represent a problem if I get lots of
|> downloads?
|>
|> Cheers
|> Andrew Gibson
From peter at brunone.com Sat May 31 15:17:37 2003
From: peter at brunone.com (Peter Brunone)
Date: Sat, 31 May 2003 15:17:37 -0500
Subject: [Javascript] VisualBasic.net
In-Reply-To:
Message-ID:
Carl,
If they did that, they'd have to require the .NET framework on every
computer. Now, I'm sure that's a goal of theirs (especially with Longhorn
et al on the horizon), but it doesn't make any sense -- to me, anyway --
that they would drop JScript (their own version of Javascript) when it's so
integrally involved in so many areas. Besides, it's a scripting language,
whereas VB.NET is a compiled language. It's like saying they'd drop Notepad
in favor of Office... the two just don't compare.
Basically, I wouldn't bother worrying about the future of Javascript
anytime soon.
Cheers,
Peter
|-----Original Message-----
|From: javascript-bounces at LaTech.edu
|
|I keep hearing a rumor that Microsoft IE is planning to drop JavaScript in
|favor of VisualBasic.net. Anyone come across any "definitive"
|information on
|this?
|
|Carl
|