From alan.easton at unn.ac.uk Fri Nov 1 06:12:10 2002
From: alan.easton at unn.ac.uk (Alan Easton)
Date: Fri, 1 Nov 2002 12:12:10 -0000
Subject: [Javascript] RE: styles
Message-ID: <8CB72D8EAD84D411B3D600508BCF7B6C04A516DF@colorado.unn.ac.uk>
Hi,
Using a stylesheet similar to:
But beware, I think it only works in IE5.5 and above..... ;o)
Alan...
-----Original Message-----
From: Tripp, Candace L [mailto:TrippCL at state.gov]
Sent: 31 October 2002 20:32
To: javascript at LaTech.edu
Subject: OT: styles
How do I color my scroll bars using styles?
TIA
From TrippCL at state.gov Fri Nov 1 07:44:20 2002
From: TrippCL at state.gov (Tripp, Candace L)
Date: Fri, 1 Nov 2002 08:44:20 -0500
Subject: [Javascript] RE: styles
Message-ID: <31EAD63EF127D311A7C500E0290A222D018B3748@imsioopssntsd.irm.state.gov>
Thank you
-----Original Message-----
From: Alan Easton [mailto:alan.easton at unn.ac.uk]
Sent: Friday, November 01, 2002 6:13 AM
To: 'javascript at LaTech.edu'
Subject: [Javascript] RE: styles
Hi,
Using a stylesheet similar to:
But beware, I think it only works in IE5.5 and above..... ;o)
Alan...
-----Original Message-----
From: Tripp, Candace L [mailto:TrippCL at state.gov]
Sent: 31 October 2002 20:32
To: javascript at LaTech.edu
Subject: OT: styles
How do I color my scroll bars using styles?
TIA
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2060 bytes
Desc: not available
URL:
From alfwro at wp.pl Sat Nov 2 22:38:54 2002
From: alfwro at wp.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Sun, 03 Nov 2002 05:38:54 +0100
Subject: [Javascript] html in html display
Message-ID: <3DC4B66E.5907.B013ED@localhost>
Hi all javascript'ers
Well it's 5 AM and I still can't find the solution. Please
help.
Question:
I have a html document and in this document I need to
display another html doc. How to do this ???
I try document.open(url="doc.html"); but it won't work
my e-mail: alfwro at wp.pl please send directly
Thank U in advance
From peter at brunone.com Sat Nov 2 23:28:28 2002
From: peter at brunone.com (Peter Brunone)
Date: Sat, 2 Nov 2002 23:28:28 -0600
Subject: [Javascript] html in html display
In-Reply-To: <3DC4B66E.5907.B013ED@localhost>
Message-ID:
The simplest, most crude way would be to split your page up into several
frames, and just put the document into one particular frame.
If you're using Internet Explorer 4.0 and greater, you can use an iframe...
or -- still in IE -- if the page is being served from the local machine
(instead of a remote web server), you can use client scripting to access the
FileSystemObject and document.write it.
If these do not apply, then you'll need to use a server-side scripting
engine (CGI/PERL, ASP, PHP, Cold Fusion, or something) to open up the file
and insert it into the page before sending it to the browser.
In short, you're probably not going to get this to work the way you want
with just client-side JavaScript. If you let us know what kind of server
you have, we can tell you which server-side languages you might use, but
that is not really the subject of this list.
Regards,
Peter
|-----Original Message-----
|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
|Behalf Of Andrzej Wroblewski
|
|Hi all javascript'ers
|Well it's 5 AM and I still can't find the solution. Please
|help.
|Question:
|I have a html document and in this document I need to
|display another html doc. How to do this ???
|I try document.open(url="doc.html"); but it won't work
|
|my e-mail: alfwro at wp.pl please send directly
|
|Thank U in advance
From alfwro at wp.pl Sun Nov 3 06:32:39 2002
From: alfwro at wp.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Sun, 03 Nov 2002 13:32:39 +0100
Subject: [Javascript] html in html display
Message-ID: <3DC52577.7153.2C2C13@localhost>
Well - I'm affraid I using public acces server with no server-side
scripting.
I intend(ed ?) to create a page where user can choose the lay-out of
the page. Let's say I have 3 different lay-outs and the raw text as a
html and now it would be nice to put it all together.
I know the simplest way is to divide page into a several frames but I
don't like the way the scrollbar is display in a frame.
Thanks for your fast answer
Andrzej
On 2 Nov 2002 at 23:28, Peter Brunone wrote:
>
> The simplest, most crude way would be to split your page up into several
> frames, and just put the document into one particular frame.
>
> If you're using Internet Explorer 4.0 and greater, you can use an iframe...
> or -- still in IE -- if the page is being served from the local machine
> (instead of a remote web server), you can use client scripting to access the
> FileSystemObject and document.write it.
>
> If these do not apply, then you'll need to use a server-side scripting
> engine (CGI/PERL, ASP, PHP, Cold Fusion, or something) to open up the file
> and insert it into the page before sending it to the browser.
>
> In short, you're probably not going to get this to work the way you want
> with just client-side JavaScript. If you let us know what kind of server
> you have, we can tell you which server-side languages you might use, but
> that is not really the subject of this list.
>
> Regards,
>
> Peter
>
> |-----Original Message-----
> |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
> |Behalf Of Andrzej Wroblewski
> |
> |Hi all javascript'ers
> |Well it's 5 AM and I still can't find the solution. Please
> |help.
> |Question:
> |I have a html document and in this document I need to
> |display another html doc. How to do this ???
> |I try document.open(url="doc.html"); but it won't work
> |
> |my e-mail: alfwro at wp.pl please send directly
> |
> |Thank U in advance
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
From trojani2000 at hotmail.com Sun Nov 3 18:36:25 2002
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Mon, 04 Nov 2002 00:36:25 +0000
Subject: [Javascript] html in html display
Message-ID:
An HTML attachment was scrubbed...
URL:
From ab at bjerrenet.dk Tue Nov 5 10:42:29 2002
From: ab at bjerrenet.dk (Allan Bjerre)
Date: Tue, 5 Nov 2002 17:42:29 +0100
Subject: [Javascript] local_app
Message-ID: <000801c284ea$5d523ec0$0301a8c0@blackice>
Hi there..
I saw your question about running a local app. from html or asp.
I am looking for answer on the exact same question.
Have you resolved the problem yet?
Thanks in advance.
Allan Bjerre
ab at bjerrenet.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mrapaport at blueskyprojects.com Tue Nov 5 23:39:02 2002
From: mrapaport at blueskyprojects.com (mrapaport)
Date: Tue, 5 Nov 2002 21:39:02 -0800
Subject: [Javascript] JavaScript upload bar
Message-ID:
Hi I read of your inquiry here:
https://lists.latech.edu/pipermail/javascript/2002-March/003134.html and
wanted to know if you found a solution.
I have ASP.Net pages that I would like to add a pop-up upload progress
bar to...
Thanks,
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From merchant at LATECH.EDU Wed Nov 6 14:46:19 2002
From: merchant at LATECH.EDU (David Merchant)
Date: Wed, 06 Nov 2002 14:46:19 -0600
Subject: [Javascript] JavaScript List Unsubscirbe, Subscribe & Posting Info.
Message-ID: <5.1.0.14.2.20021106144558.02a614b0@mail.latech.edu>
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present I
cannot manually unsubscribe anyone who joined via Yahoo Groups or eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with
the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My Groups
page.
I CANNOT manually unsubscribe you if you subscribed to the list via eGroups
or Yahoo Groups. I have complained _repeatedly_ about this to the folks at
Yahoo Groups, but to no avail. I can only manually unsubscribe those who
joined via https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
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 Esther_Strom at hmco.com Wed Nov 6 14:48:15 2002
From: Esther_Strom at hmco.com (Esther_Strom at hmco.com)
Date: Wed, 6 Nov 2002 14:48:15 -0600
Subject: [Javascript] newbie question
Message-ID:
I'm guessing that with this line:
If (document.openp2.total.value != 'STAFF1FT');
you are wanting to make sure the value of the total field is not equal to
the value of the STAFF1FT field. To do this, you need to reference that
field's value, not its name:
If (document.openp2.total.value != document.openp2.STAFF1FT.value);
|------------------------------|
| E S T H E R S T R O M, CLPP |
| Notes Application Development|
| McDougal Littell |
| 909 Davis Street |
| Evanston, IL 60201 USA |
| w: 847.424.3209 |
| e: esther_strom at hmco.com |
|------------------------------|
Cheryl Kirkpatrick
tate.sc.us> cc:
Sent by: Subject: [Javascript] newbie question
javascript-admin at L
aTech.edu
11/06/2002 02:53
PM
Please respond to
javascript
I am trying to use Javascript to verify the addition in an online form.
My boss wants the user to supply the sum of several numbers and than
have the form verify the sum. I am trying to get a simple version
working before I plug it in my form. The addition works fine but I can't
get the If then statement to work.
Can you tell me what I am doing wrong?
function add() {
A = document.openp2.ALA1FT.value
B = document.openp2.MLS1FT.value
A = Number(A)
B = Number(B)
C = (A + B)
document.openp2.total.value = C
}
function verify() {
If (document.openp2.total.value != 'STAFF1FT');
alert ("Check your addition");
}
Thank you in advance!
--
Cheryl Kirkpatrick
Web Administrator/
Information Technology Librarian
South Carolina State Library
http://www.state.sc.us/scsl/
Telephone: 803.734.5831
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
From cheryl at leo.scsl.state.sc.us Wed Nov 6 14:53:58 2002
From: cheryl at leo.scsl.state.sc.us (Cheryl Kirkpatrick)
Date: Wed, 06 Nov 2002 15:53:58 -0500
Subject: [Javascript] newbie question
Message-ID: <3DC98165.5F7B9E9F@leo.scsl.state.sc.us>
I am trying to use Javascript to verify the addition in an online form.
My boss wants the user to supply the sum of several numbers and than
have the form verify the sum. I am trying to get a simple version
working before I plug it in my form. The addition works fine but I can't
get the If then statement to work.
Can you tell me what I am doing wrong?
function add() {
A = document.openp2.ALA1FT.value
B = document.openp2.MLS1FT.value
A = Number(A)
B = Number(B)
C = (A + B)
document.openp2.total.value = C
}
function verify() {
If (document.openp2.total.value != 'STAFF1FT');
alert ("Check your addition");
}
Thank you in advance!
--
Cheryl Kirkpatrick
Web Administrator/
Information Technology Librarian
South Carolina State Library
http://www.state.sc.us/scsl/
Telephone: 803.734.5831
From javascript at theblades-family.com Wed Nov 6 16:04:00 2002
From: javascript at theblades-family.com (Cutter (javascript list))
Date: Wed, 06 Nov 2002 17:04:00 -0500
Subject: [Javascript] Re: newbie question
In-Reply-To: <3DC98165.5F7B9E9F@leo.scsl.state.sc.us>
References: <3DC98165.5F7B9E9F@leo.scsl.state.sc.us>
Message-ID: <20021106220400.25749.qmail@vpop.dmv.com>
Cheryl,
What type of field is total? If it is a text field then it should work, but
if it is a select then you must reference the value very differently.
Cutter
Falcon Knives
Cheryl Kirkpatrick writes:
> I am trying to use Javascript to verify the addition in an online form.
> My boss wants the user to supply the sum of several numbers and than
> have the form verify the sum. I am trying to get a simple version
> working before I plug it in my form. The addition works fine but I can't
> get the If then statement to work.
>
> Can you tell me what I am doing wrong?
>
>
> function add() {
> A = document.openp2.ALA1FT.value
> B = document.openp2.MLS1FT.value
> A = Number(A)
> B = Number(B)
> C = (A + B)
> document.openp2.total.value = C
>
> }
> function verify() {
> If (document.openp2.total.value != 'STAFF1FT');
> alert ("Check your addition");
> }
>
>
>
>
>
>
>
>
>
> Thank you in advance!
> --
> Cheryl Kirkpatrick
> Web Administrator/
> Information Technology Librarian
> South Carolina State Library
> http://www.state.sc.us/scsl/
> Telephone: 803.734.5831
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From wallylaw at yahoo.com Wed Nov 6 22:36:17 2002
From: wallylaw at yahoo.com (wallylaw at yahoo.com)
Date: Wed, 6 Nov 2002 20:36:17 -0800 (PST)
Subject: [Javascript] newbie question
In-Reply-To: <3DC98165.5F7B9E9F@leo.scsl.state.sc.us>
Message-ID: <20021107043617.23624.qmail@web11503.mail.yahoo.com>
Cheryl,
You've probably already gotten some solutions (I can't check my e-mail
via my regular account), but in case you haven't heard back on this,
this should work for you:
< script language="JavaScript" > < !--
function add() {
A = openp2.ALA1FT.value;
B = openp2.MLS1FT.value;
openp2.total.value = (A + B);
verify();
}
function verify() {
if (openp2.total.value != openp2.STAFF1FT.value) {
alert ("Check your addition.");
}
}
/ /-- > < /script>
The last line in your form code should omit the call to "verify()",
since that is taken care of by the call to "add()":
< input type=button name= b1 value="Submit data" onClick = add(); >
HTH,
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
--- Cheryl Kirkpatrick wrote:
> I am trying to use Javascript to verify the addition in an online
> form.
> My boss wants the user to supply the sum of several numbers and than
> have the form verify the sum. I am trying to get a simple version
> working before I plug it in my form. The addition works fine but I
> can't
> get the If then statement to work.
>
> Can you tell me what I am doing wrong?
>
>
> function add() {
> A = document.openp2.ALA1FT.value
> B = document.openp2.MLS1FT.value
> A = Number(A)
> B = Number(B)
> C = (A + B)
> document.openp2.total.value = C
>
> }
> function verify() {
> If (document.openp2.total.value != 'STAFF1FT');
> alert ("Check your addition");
> }
>
>
>
>
>
>
>
>
>
> Thank you in advance!
> --
> Cheryl Kirkpatrick
> Web Administrator/
> Information Technology Librarian
> South Carolina State Library
> http://www.state.sc.us/scsl/
> Telephone: 803.734.5831
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
From hobbes_tiger at gmx.de Thu Nov 7 03:36:54 2002
From: hobbes_tiger at gmx.de (Michael Ledig)
Date: Thu, 07 Nov 2002 10:36:54 +0100
Subject: [Javascript] newbie question
Message-ID: <3DCA3436.2090603@gmx.de>
Hello Cheryl,
Cheryl Kirkpatrick schrieb:
>
...
> }
> function verify() {
> If (document.openp2.total.value != 'STAFF1FT');
> alert ("Check your addition");
> }
The problem with your if-statement is the ";".
If you place it at the end - after the condition - JavaScript finishes
the if-statement and the alert-statement is always(!) executed.
So you should write it this way:
if (document.openp2.total.value != 'STAFF1FT')
alert ("Check your addition");
You should also take a look at the other hints - they can also help you ;-))
HTH and greetings from Germany
Mike.
--
Training und Projekte
http://www.gidel.de
From javascript at theblades-family.com Thu Nov 7 07:47:40 2002
From: javascript at theblades-family.com (Cutter (javascript list))
Date: Thu, 07 Nov 2002 08:47:40 -0500
Subject: [Javascript] Re: newbie question
In-Reply-To: <3DCA3436.2090603@gmx.de>
References: <3DCA3436.2090603@gmx.de>
Message-ID: <20021107134740.13959.qmail@vpop.dmv.com>
Good catch Mike. I never even saw the semicolon at the end of the condition
statement...
Cutter
Falcon Knives
Michael Ledig writes:
> Hello Cheryl,
>
> Cheryl Kirkpatrick schrieb:
> >
> ...
>
> > }
> > function verify() {
> > If (document.openp2.total.value != 'STAFF1FT');
> > alert ("Check your addition");
> > }
>
> The problem with your if-statement is the ";".
> If you place it at the end - after the condition - JavaScript finishes
> the if-statement and the alert-statement is always(!) executed.
>
> So you should write it this way:
>
> if (document.openp2.total.value != 'STAFF1FT')
> alert ("Check your addition");
>
> You should also take a look at the other hints - they can also help you
> ;-))
>
> HTH and greetings from Germany
> Mike.
>
> --
> Training und Projekte
> http://www.gidel.de
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From merchant at LATECH.EDU Thu Nov 7 11:53:29 2002
From: merchant at LATECH.EDU (David Merchant)
Date: Thu, 07 Nov 2002 11:53:29 -0600
Subject: [Javascript] JavaScript List Unsubscirbe, Subscribe & Posting
Info.
Message-ID: <5.1.0.14.2.20021107115312.02a90320@mail.latech.edu>
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present I
cannot manually unsubscribe anyone who joined via Yahoo Groups or eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with
the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My Groups
page.
*** I CANNOT manually unsubscribe you if you subscribed to the list via
eGroups or Yahoo Groups. ***
I have complained _repeatedly_ about this to the folks at Yahoo Groups, but
to no avail. I can only manually unsubscribe those who joined via
https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
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 merchant at LATECH.EDU Thu Nov 7 12:05:18 2002
From: merchant at LATECH.EDU (David Merchant)
Date: Thu, 07 Nov 2002 12:05:18 -0600
Subject: [Javascript] JavaScript List Unsubscirbe, Subscribe & Posting Info.
Message-ID: <5.1.0.14.2.20021107120502.02a82ec0@mail.latech.edu>
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present I
cannot manually unsubscribe anyone who joined via Yahoo Groups or eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with
the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My Groups
page.
*** I CANNOT manually unsubscribe you if you subscribed to the list via
eGroups or Yahoo Groups. ***
I have complained _repeatedly_ about this to the folks at Yahoo Groups, but
to no avail. I can only manually unsubscribe those who joined via
https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
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 HSenior at twii.net Thu Nov 7 12:48:10 2002
From: HSenior at twii.net (Senior, Henry (TWIi London))
Date: Thu, 7 Nov 2002 18:48:10 -0000
Subject: [Javascript] newbie question
Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC04338614@lon.webmail.twii.net>
javascript is case sensitive, and 'if' is all lowercase. This will stop your
verify function from working.
function verify() {
If (document.openp2.total.value != 'STAFF1FT');
alert ("Check your addition");
}
you don't put a semicolon after if conditions
only after commands.
this is wrong:
If (document.openp2.total.value != 'STAFF1FT');
should be:
if (document.openp2.total.value != 'STAFF1FT')
also do you want the value of document.openp2.total to be a string
'STAFF1FT'
do you mean:
if(document.openp2.total.value != document.openp2.STAFF1FT.value)
ie the value of form element STAFF1FT
-----Original Message-----
From: javascript-request at LaTech.edu
[mailto:javascript-request at LaTech.edu]
Sent: 07 November 2002 18:01
To: javascript at LaTech.edu
Subject: Javascript digest, Vol 1 #801 - 9 msgs
Send Javascript mailing list submissions to
javascript at LaTech.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
javascript-request at LaTech.edu
You can reach the person managing the list at
javascript-admin at LaTech.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."
Today's Topics:
1. newbie question (Cheryl Kirkpatrick)
2. JavaScript List Unsubscirbe, Subscribe & Posting Info. (David
Merchant)
3. Re: newbie question (Esther_Strom at hmco.com)
4. Re: newbie question (Cutter (javascript list))
5. Re: newbie question (wallylaw at yahoo.com)
6. Re: newbie question (Michael Ledig)
7. Re: newbie question (Cutter (javascript list))
8. JavaScript List Unsubscirbe, Subscribe & Posting
Info. (David Merchant)
--__--__--
Message: 1
Date: Wed, 06 Nov 2002 15:53:58 -0500
From: Cheryl Kirkpatrick
Organization: South Carolina State Library
To: javascript list
Subject: [Javascript] newbie question
Reply-To: javascript at LaTech.edu
I am trying to use Javascript to verify the addition in an online form.
My boss wants the user to supply the sum of several numbers and than
have the form verify the sum. I am trying to get a simple version
working before I plug it in my form. The addition works fine but I can't
get the If then statement to work.
Can you tell me what I am doing wrong?
function add() {
A = document.openp2.ALA1FT.value
B = document.openp2.MLS1FT.value
A = Number(A)
B = Number(B)
C = (A + B)
document.openp2.total.value = C
}
function verify() {
If (document.openp2.total.value != 'STAFF1FT');
alert ("Check your addition");
}
Thank you in advance!
--
Cheryl Kirkpatrick
Web Administrator/
Information Technology Librarian
South Carolina State Library
http://www.state.sc.us/scsl/
Telephone: 803.734.5831
--__--__--
Message: 2
Date: Wed, 06 Nov 2002 14:46:19 -0600
To: javascript at LaTech.edu
From: David Merchant
Subject: [Javascript] JavaScript List Unsubscirbe, Subscribe & Posting Info.
Reply-To: javascript at LaTech.edu
--=====================_10737936==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present I
cannot manually unsubscribe anyone who joined via Yahoo Groups or eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with
the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My Groups
page.
I CANNOT manually unsubscribe you if you subscribed to the list via eGroups
or Yahoo Groups. I have complained _repeatedly_ about this to the folks at
Yahoo Groups, but to no avail. I can only manually unsubscribe those who
joined via https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
PO Box 3179
Ruston, LA 71272
Tel: (318) 257-4772
Fax: (318) 257-3852
projectlife.latech.edu
c3.latech.edu
catalyst.latech.edu
--=====================_10737936==_.ALT
Content-Type: text/html; charset="us-ascii"
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present
I cannot manually unsubscribe anyone who joined via Yahoo Groups or
eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript
or send a message with the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My
Groups
page.
I CANNOT manually unsubscribe you if you subscribed to the list via eGroups
or Yahoo Groups. I have complained _repeatedly_ about this to the folks at
Yahoo Groups, but to no avail. I can only manually unsubscribe those who
joined via https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
PO Box 3179
Ruston, LA 71272
Tel: (318) 257-4772
Fax: (318) 257-3852 projectlife.latech.edu
c3.latech.edu
catalyst.latech.edu
--=====================_10737936==_.ALT--
--__--__--
Message: 3
Subject: Re: [Javascript] newbie question
To: javascript at LaTech.edu
From: Esther_Strom at hmco.com
Date: Wed, 6 Nov 2002 14:48:15 -0600
Reply-To: javascript at LaTech.edu
I'm guessing that with this line:
If (document.openp2.total.value != 'STAFF1FT');
you are wanting to make sure the value of the total field is not equal to
the value of the STAFF1FT field. To do this, you need to reference that
field's value, not its name:
If (document.openp2.total.value != document.openp2.STAFF1FT.value);
|------------------------------|
| E S T H E R S T R O M, CLPP |
| Notes Application Development|
| McDougal Littell |
| 909 Davis Street |
| Evanston, IL 60201 USA |
| w: 847.424.3209 |
| e: esther_strom at hmco.com |
|------------------------------|
Cheryl Kirkpatrick
tate.sc.us> cc:
Sent by: Subject: [Javascript]
newbie question
javascript-admin at L
aTech.edu
11/06/2002 02:53
PM
Please respond to
javascript
I am trying to use Javascript to verify the addition in an online form.
My boss wants the user to supply the sum of several numbers and than
have the form verify the sum. I am trying to get a simple version
working before I plug it in my form. The addition works fine but I can't
get the If then statement to work.
Can you tell me what I am doing wrong?
function add() {
A = document.openp2.ALA1FT.value
B = document.openp2.MLS1FT.value
A = Number(A)
B = Number(B)
C = (A + B)
document.openp2.total.value = C
}
function verify() {
If (document.openp2.total.value != 'STAFF1FT');
alert ("Check your addition");
}
Thank you in advance!
--
Cheryl Kirkpatrick
Web Administrator/
Information Technology Librarian
South Carolina State Library
http://www.state.sc.us/scsl/
Telephone: 803.734.5831
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
--__--__--
Message: 4
From: "Cutter (javascript list)"
To: javascript at LaTech.edu
Date: Wed, 06 Nov 2002 17:04:00 -0500
Subject: [Javascript] Re: newbie question
Reply-To: javascript at LaTech.edu
Cheryl,
What type of field is total? If it is a text field then it should work, but
if it is a select then you must reference the value very differently.
Cutter
Falcon Knives
Cheryl Kirkpatrick writes:
> I am trying to use Javascript to verify the addition in an online form.
> My boss wants the user to supply the sum of several numbers and than
> have the form verify the sum. I am trying to get a simple version
> working before I plug it in my form. The addition works fine but I can't
> get the If then statement to work.
>
> Can you tell me what I am doing wrong?
>
>
> function add() {
> A = document.openp2.ALA1FT.value
> B = document.openp2.MLS1FT.value
> A = Number(A)
> B = Number(B)
> C = (A + B)
> document.openp2.total.value = C
>
> }
> function verify() {
> If (document.openp2.total.value != 'STAFF1FT');
> alert ("Check your addition");
> }
>
>
>
>
>
>
>
>
>
> Thank you in advance!
> --
> Cheryl Kirkpatrick
> Web Administrator/
> Information Technology Librarian
> South Carolina State Library
> http://www.state.sc.us/scsl/
> Telephone: 803.734.5831
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
--__--__--
Message: 5
Date: Wed, 6 Nov 2002 20:36:17 -0800 (PST)
From:
Subject: Re: [Javascript] newbie question
To: javascript at LaTech.edu
Reply-To: javascript at LaTech.edu
Cheryl,
You've probably already gotten some solutions (I can't check my e-mail
via my regular account), but in case you haven't heard back on this,
this should work for you:
< script language="JavaScript" > < !--
function add() {
A = openp2.ALA1FT.value;
B = openp2.MLS1FT.value;
openp2.total.value = (A + B);
verify();
}
function verify() {
if (openp2.total.value != openp2.STAFF1FT.value) {
alert ("Check your addition.");
}
}
/ /-- > < /script>
The last line in your form code should omit the call to "verify()",
since that is taken care of by the call to "add()":
< input type=button name= b1 value="Submit data" onClick = add(); >
HTH,
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
--- Cheryl Kirkpatrick wrote:
> I am trying to use Javascript to verify the addition in an online
> form.
> My boss wants the user to supply the sum of several numbers and than
> have the form verify the sum. I am trying to get a simple version
> working before I plug it in my form. The addition works fine but I
> can't
> get the If then statement to work.
>
> Can you tell me what I am doing wrong?
>
>
> function add() {
> A = document.openp2.ALA1FT.value
> B = document.openp2.MLS1FT.value
> A = Number(A)
> B = Number(B)
> C = (A + B)
> document.openp2.total.value = C
>
> }
> function verify() {
> If (document.openp2.total.value != 'STAFF1FT');
> alert ("Check your addition");
> }
>
>
>
>
>
>
>
>
>
> Thank you in advance!
> --
> Cheryl Kirkpatrick
> Web Administrator/
> Information Technology Librarian
> South Carolina State Library
> http://www.state.sc.us/scsl/
> Telephone: 803.734.5831
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
--__--__--
Message: 6
Date: Thu, 07 Nov 2002 10:36:54 +0100
From: Michael Ledig
To: javascript at LaTech.edu
Subject: Re: [Javascript] newbie question
Reply-To: javascript at LaTech.edu
Hello Cheryl,
Cheryl Kirkpatrick schrieb:
>
...
> }
> function verify() {
> If (document.openp2.total.value != 'STAFF1FT');
> alert ("Check your addition");
> }
The problem with your if-statement is the ";".
If you place it at the end - after the condition - JavaScript finishes
the if-statement and the alert-statement is always(!) executed.
So you should write it this way:
if (document.openp2.total.value != 'STAFF1FT')
alert ("Check your addition");
You should also take a look at the other hints - they can also help you ;-))
HTH and greetings from Germany
Mike.
--
Training und Projekte
http://www.gidel.de
--__--__--
Message: 7
From: "Cutter (javascript list)"
To: javascript at LaTech.edu
Date: Thu, 07 Nov 2002 08:47:40 -0500
Subject: [Javascript] Re: newbie question
Reply-To: javascript at LaTech.edu
Good catch Mike. I never even saw the semicolon at the end of the condition
statement...
Cutter
Falcon Knives
Michael Ledig writes:
> Hello Cheryl,
>
> Cheryl Kirkpatrick schrieb:
> >
> ...
>
> > }
> > function verify() {
> > If (document.openp2.total.value != 'STAFF1FT');
> > alert ("Check your addition");
> > }
>
> The problem with your if-statement is the ";".
> If you place it at the end - after the condition - JavaScript finishes
> the if-statement and the alert-statement is always(!) executed.
>
> So you should write it this way:
>
> if (document.openp2.total.value != 'STAFF1FT')
> alert ("Check your addition");
>
> You should also take a look at the other hints - they can also help you
> ;-))
>
> HTH and greetings from Germany
> Mike.
>
> --
> Training und Projekte
> http://www.gidel.de
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
--__--__--
Message: 8
Date: Thu, 07 Nov 2002 11:53:29 -0600
To: javascript at LaTech.edu
From: David Merchant
Subject: [Javascript] JavaScript List Unsubscirbe, Subscribe & Posting
Info.
Reply-To: javascript at LaTech.edu
--=====================_10368167==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present I
cannot manually unsubscribe anyone who joined via Yahoo Groups or eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with
the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My Groups
page.
*** I CANNOT manually unsubscribe you if you subscribed to the list via
eGroups or Yahoo Groups. ***
I have complained _repeatedly_ about this to the folks at Yahoo Groups, but
to no avail. I can only manually unsubscribe those who joined via
https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
PO Box 3179
Ruston, LA 71272
Tel: (318) 257-4772
Fax: (318) 257-3852
projectlife.latech.edu
c3.latech.edu
catalyst.latech.edu
--=====================_10368167==_.ALT
Content-Type: text/html; charset="us-ascii"
There are two sets of instructions, first for those who joined the list
directly and second for those who joined the list via egroups (at present
I cannot manually unsubscribe anyone who joined via Yahoo Groups or
eGroups).
1. If you wish to subscribe or unsubscribe, visit
https://lists.LaTech.edu/mailman/listinfo/javascript
or send a message with the word `help' in it to the request address,
javascript-request at LaTech.edu, for further instructions.
To post to the list, send your posts to javascript at latech.edu
2. For those who subscribed to the Javascript list via Yahoo Groups
(formally eGroups), here is how to unsubscribe:
To unsubscribe via email:
From your email program, send a blank message to:
javascript-unsubscribe at yahoogroups.com
To unsubscribe via the Web:
* Sign in to Yahoo! Groups and go to the My Groups page.
* Click on the Edit Message Settings link at the top of the page.
* Look for the group you wish to unsubscribe from, and select Unsubscribe
from the pull-down list on the right.
* Click Update to save your changes. The group will no longer be listed on
the My Groups page, and you will no longer receive messages.
Note: If you own a group, you must first give up your ownership in the
Members section of your group before you can unsubscribe on the My
Groups
page.
*** I CANNOT manually unsubscribe you if you subscribed to the list via
eGroups or Yahoo Groups. ***
I have complained _repeatedly_ about this to the folks at Yahoo Groups, but
to no avail. I can only manually unsubscribe those who joined via https://lists.LaTech.edu/mailman/listinfo/javascript.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 120
PO Box 3179
Ruston, LA 71272
Tel: (318) 257-4772
Fax: (318) 257-3852 projectlife.latech.edu
c3.latech.edu
catalyst.latech.edu
--=====================_10368167==_.ALT--
--__--__--
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
End of Javascript Digest
DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.
From tsimmons at employmentlawadvisors.com Thu Nov 7 13:11:50 2002
From: tsimmons at employmentlawadvisors.com (William T. Simmons)
Date: Thu, 7 Nov 2002 13:11:50 -0600
Subject: [Javascript] newbie question
References: <20021107043617.23624.qmail@web11503.mail.yahoo.com>
Message-ID: <008301c28691$870c37e0$0000a398@sndmgr122>
Cheryl,
I'm back on my regular e-mail system and want to give you a simplification
of the code I furnished earlier - consolidate the "add()" and "verify()"
functions and just have the one:
function add() {
A = openp2.ALA1FT.value;
B = openp2.MLS1FT.value;
openp2.total.value = (A + B);
if (openp2.total.value != openp2.STAFF1FT.value) {
alert ("Check your addition");
}
}
It's not that big a deal, but it does simplify the code a bit.
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
----- Original Message -----
From:
To:
Sent: Wednesday, November 06, 2002 10:36 PM
Subject: Re: [Javascript] newbie question
> Cheryl,
> You've probably already gotten some solutions (I can't check my e-mail
> via my regular account), but in case you haven't heard back on this,
> this should work for you:
> < script language="JavaScript" > < !--
> function add() {
> A = openp2.ALA1FT.value;
> B = openp2.MLS1FT.value;
> openp2.total.value = (A + B);
> verify();
> }
>
> function verify() {
> if (openp2.total.value != openp2.STAFF1FT.value) {
> alert ("Check your addition.");
> }
> }
> / /-- > < /script>
>
> The last line in your form code should omit the call to "verify()",
> since that is taken care of by the call to "add()":
> < input type=button name= b1 value="Submit data" onClick = add(); >
>
> HTH,
> Tommy Simmons
> Employment Law Advisory Network
> www.employmentlawadvisors.com
>
> --- Cheryl Kirkpatrick wrote:
> > I am trying to use Javascript to verify the addition in an online
> > form.
> > My boss wants the user to supply the sum of several numbers and than
> > have the form verify the sum. I am trying to get a simple version
> > working before I plug it in my form. The addition works fine but I
> > can't
> > get the If then statement to work.
> >
> > Can you tell me what I am doing wrong?
> >
> >
> > function add() {
> > A = document.openp2.ALA1FT.value
> > B = document.openp2.MLS1FT.value
> > A = Number(A)
> > B = Number(B)
> > C = (A + B)
> > document.openp2.total.value = C
> >
> > }
> > function verify() {
> > If (document.openp2.total.value != 'STAFF1FT');
> > alert ("Check your addition");
> > }
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Thank you in advance!
> > --
> > Cheryl Kirkpatrick
> > Web Administrator/
> > Information Technology Librarian
> > South Carolina State Library
> > http://www.state.sc.us/scsl/
> > Telephone: 803.734.5831
>
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From cheryl at leo.scsl.state.sc.us Thu Nov 7 13:44:13 2002
From: cheryl at leo.scsl.state.sc.us (Cheryl Kirkpatrick)
Date: Thu, 07 Nov 2002 14:44:13 -0500
Subject: [Javascript] newbie question
References: <20021107043617.23624.qmail@web11503.mail.yahoo.com> <008301c28691$870c37e0$0000a398@sndmgr122>
Message-ID: <3DCAC28D.F97BCA9A@leo.scsl.state.sc.us>
Thank you to everyone that replied to my question. I have the script working
and learned much in the process that will help me in the future!
Cheryl Kirkpatrick
Web Administrator/
Information Technology Librarian
South Carolina State Library
http://www.state.sc.us/scsl/
Telephone: 803.734.5831
From tsimmons at employmentlawadvisors.com Thu Nov 7 13:46:14 2002
From: tsimmons at employmentlawadvisors.com (William T. Simmons)
Date: Thu, 7 Nov 2002 13:46:14 -0600
Subject: [Javascript] newbie question
References: <20021107043617.23624.qmail@web11503.mail.yahoo.com> <008301c28691$870c37e0$0000a398@sndmgr122>
Message-ID: <00d601c28696$55804040$0000a398@sndmgr122>
Cheryl,
This is how my typical scripting sessions go (changes, new stuff, more
changes) - why not simplify things even further and get rid of the hidden
field "total"? It's not needed - also, maybe it would be better to just call
the function "verify()", since its only purpose is to verify the number
given in the "Total Staff:" field. Finally, to ensure that all variables and
values are in number format, use "Number()", as you had in your original
example:
function verify() {
a = Number(openp2.ALA1FT.value);
b = Number(openp2.MLS1FT.value);
if ((a + b) != Number(openp2.STAFF1FT.value)) {
alert ("Check your addition");
}
else alert("Thank you.");
}
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
----- Original Message -----
From: "William T. Simmons"
To:
Sent: Thursday, November 07, 2002 1:11 PM
Subject: Re: [Javascript] newbie question
> Cheryl,
> I'm back on my regular e-mail system and want to give you a simplification
> of the code I furnished earlier - consolidate the "add()" and "verify()"
> functions and just have the one:
> function add() {
> A = openp2.ALA1FT.value;
> B = openp2.MLS1FT.value;
> openp2.total.value = (A + B);
> if (openp2.total.value != openp2.STAFF1FT.value) {
> alert ("Check your addition");
> }
> }
>
> It's not that big a deal, but it does simplify the code a bit.
>
> Tommy Simmons
> Employment Law Advisory Network
> www.employmentlawadvisors.com
>
> ----- Original Message -----
> From:
> To:
> Sent: Wednesday, November 06, 2002 10:36 PM
> Subject: Re: [Javascript] newbie question
>
>
> > Cheryl,
> > You've probably already gotten some solutions (I can't check my e-mail
> > via my regular account), but in case you haven't heard back on this,
> > this should work for you:
> > < script language="JavaScript" > < !--
> > function add() {
> > A = openp2.ALA1FT.value;
> > B = openp2.MLS1FT.value;
> > openp2.total.value = (A + B);
> > verify();
> > }
> >
> > function verify() {
> > if (openp2.total.value != openp2.STAFF1FT.value) {
> > alert ("Check your addition.");
> > }
> > }
> > / /-- > < /script>
> >
> > The last line in your form code should omit the call to "verify()",
> > since that is taken care of by the call to "add()":
> > < input type=button name= b1 value="Submit data" onClick = add(); >
> >
> > HTH,
> > Tommy Simmons
> > Employment Law Advisory Network
> > www.employmentlawadvisors.com
> >
> > --- Cheryl Kirkpatrick wrote:
> > > I am trying to use Javascript to verify the addition in an online
> > > form.
> > > My boss wants the user to supply the sum of several numbers and than
> > > have the form verify the sum. I am trying to get a simple version
> > > working before I plug it in my form. The addition works fine but I
> > > can't
> > > get the If then statement to work.
> > >
> > > Can you tell me what I am doing wrong?
> > >
> > >
> > > function add() {
> > > A = document.openp2.ALA1FT.value
> > > B = document.openp2.MLS1FT.value
> > > A = Number(A)
> > > B = Number(B)
> > > C = (A + B)
> > > document.openp2.total.value = C
> > >
> > > }
> > > function verify() {
> > > If (document.openp2.total.value != 'STAFF1FT');
> > > alert ("Check your addition");
> > > }
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Thank you in advance!
> > > --
> > > Cheryl Kirkpatrick
> > > Web Administrator/
> > > Information Technology Librarian
> > > South Carolina State Library
> > > http://www.state.sc.us/scsl/
> > > Telephone: 803.734.5831
> >
> > __________________________________________________
> > Do you Yahoo!?
> > U2 on LAUNCH - Exclusive greatest hits videos
> > http://launch.yahoo.com/u2
> > _______________________________________________
> > 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 hlove at u.washington.edu Thu Nov 7 15:27:06 2002
From: hlove at u.washington.edu (Harry Love)
Date: Thu, 7 Nov 2002 13:27:06 -0800
Subject: [Javascript] Breadcrumb script test please
Message-ID: <001601c286a4$6c623850$467a5f80@hsl.washington.edu>
Hello All,
I rewrote my breadcrumb script and am wondering if it works on other
machines. If you would, please look at these two pages:
http://healthlinks.washington.edu/help/mozilla/
http://healthlinks.washington.edu/help/getstarted/
In the top left corner of each page you should see the breadrumb trail
(if JavaScript is enabled on your browser). The last segment should be
bold. The segments before that should be hyperlinks.
I've tested it locally on WinXP IE6, Moz1.2b, NN4.7, and MacOS 9.2 IE5.2
and Moz1.2b. All seem to work fine. If you see anything fishy,
however, please let me know.
Thanks,
Harry
From tsimmons at employmentlawadvisors.com Thu Nov 7 16:41:06 2002
From: tsimmons at employmentlawadvisors.com (William T. Simmons)
Date: Thu, 7 Nov 2002 16:41:06 -0600
Subject: [Javascript] Breadcrumb script test please
References: <001601c286a4$6c623850$467a5f80@hsl.washington.edu>
Message-ID: <01c601c286ae$c323ccd0$0000a398@sndmgr122>
It works on my WinXP IE 6 system here - pretty cool!
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
----- Original Message -----
From: "Harry Love"
To: "JavaScript"
Sent: Thursday, November 07, 2002 3:27 PM
Subject: [Javascript] Breadcrumb script test please
> Hello All,
>
> I rewrote my breadcrumb script and am wondering if it works on other
> machines. If you would, please look at these two pages:
> http://healthlinks.washington.edu/help/mozilla/
> http://healthlinks.washington.edu/help/getstarted/
>
> In the top left corner of each page you should see the breadrumb trail
> (if JavaScript is enabled on your browser). The last segment should be
> bold. The segments before that should be hyperlinks.
>
> I've tested it locally on WinXP IE6, Moz1.2b, NN4.7, and MacOS 9.2 IE5.2
> and Moz1.2b. All seem to work fine. If you see anything fishy,
> however, please let me know.
>
> Thanks,
> Harry
From lester at denhaag.org Thu Nov 7 22:19:30 2002
From: lester at denhaag.org (Lester)
Date: Fri, 08 Nov 2002 05:19:30 +0100
Subject: [Javascript] html in html display
References: <3DC4B66E.5907.B013ED@localhost>
Message-ID: <3DCB3B52.2010902@denhaag.org>
Dear Andrzej,
On 11/03/02 05:38, =?ISO-8859-2?Q?Andrzej_Wr?blewski?= wrote:
> I have a html document and in this document I need to
> display another html doc. How to do this ???
> I try document.open(url="doc.html"); but it won't work
Assuming that you want to to keep the original document content there is a
solution, albeit one that is quite convoluted.
You add as many DIVs as you want documents to insert, either hard coded or using
doc.write statements. You also need an iFrame in the document which has its
'display' attribute set to 'none' in a style sheet.
You load the desired HTML file into the iFrame with Javascript, using its 'src'
attribute ["document.getElementById('').src = 'doc.html'"] and then
transfer the HTML to the DIV reading out the iFrame's 'innerHTML' property and
feeding it to the DIVs 'innerHTML' property.
The DIV will size itself according to its contents so you won't have to worry
about scrollbars and your added HTML will be visible in the browser window
without erasing what's there already.
Where it gets complicated is that apparently there's a bug in Mozilla/Netscape6+
that prevents the immediate transfer from the iFrame to the DIV so you can't do
both the loading and the transfer from the Javascript functions. The workaround
is to have the transfer done from the iFrame document's 'onload' handler, i.e.
each separate HTML document has an onload handler which says
"parent.document.getElementById('').innerHTML = document.body.innerHTML"
Be aware that this approach does not work in NN4x since it can't reflow content.
Also I have only tested this in Mozilla so YMMV. Hope it helps anyway.
If instead you want to *replace* your original content, the syntax you used
[document.open(url="doc.html")] is incorrect and should be "document.location =
'doc.html'" but, as I said, this would erase the original contents of the window.
If anything is unclear or you run into problems don't hesitate to ask.
l8R lES
--
What would the future be like without Mozilla? There's the frightening risk that
m$ Internet Explorer would become the Mr. Burns of our online Springfield.
Andy Ihnatko, Chicago Sun-Times
http://open.denhaag.nu http://www.denhaag.org
From awebster at venda.com Fri Nov 8 03:29:42 2002
From: awebster at venda.com (Anthony Webster)
Date: Fri, 8 Nov 2002 09:29:42 -0000
Subject: [Javascript] drill down menu
Message-ID:
hi all,
does anyone know how to create a drill down menu in javascript? something like the way windows explorer works on the left hand side - although I will have just a series of text links. I have a finite list of categories and sub categories in a left hand menu.
eg.
category 1
category 2
category 3
and clicking on category 2 gives
category 1
category 2
category 2.1
category 2.2
category 2.3
category 3
thanks for your help
anthony
From Esther_Strom at hmco.com Fri Nov 8 08:25:14 2002
From: Esther_Strom at hmco.com (Esther_Strom at hmco.com)
Date: Fri, 8 Nov 2002 08:25:14 -0600
Subject: [Javascript] drill down menu
Message-ID:
Try FolderTree - prewritten. Info at
http://javascript.internet.com/foldertree/
|------------------------------|
| E S T H E R S T R O M, CLPP |
| Notes Application Development|
| McDougal Littell |
| 909 Davis Street |
| Evanston, IL 60201 USA |
| w: 847.424.3209 |
| e: esther_strom at hmco.com |
|------------------------------|
"Anthony
Webster" To: Subject: [Javascript] drill down menu
Sent by:
javascript-admin
@LaTech.edu
11/08/2002 03:29
AM
Please respond
to javascript
hi all,
does anyone know how to create a drill down menu in javascript? something
like the way windows explorer works on the left hand side - although I will
have just a series of text links. I have a finite list of categories and
sub categories in a left hand menu.
eg.
category 1
category 2
category 3
and clicking on category 2 gives
category 1
category 2
category 2.1
category 2.2
category 2.3
category 3
thanks for your help
anthony
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
From hlove at u.washington.edu Fri Nov 8 10:16:04 2002
From: hlove at u.washington.edu (Harry Love)
Date: Fri, 8 Nov 2002 08:16:04 -0800
Subject: [Javascript] Breadcrumb script test please
In-Reply-To: <01c601c286ae$c323ccd0$0000a398@sndmgr122>
Message-ID: <000001c28742$23580ec0$467a5f80@hsl.washington.edu>
-----Original Message-----
It works on my WinXP IE 6 system here - pretty cool!
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
--------------------------
Thanks, Tommy. I appreciate you checking it.
Harry
From javascript at theblades-family.com Fri Nov 8 11:49:33 2002
From: javascript at theblades-family.com (Cutter (javascript list))
Date: Fri, 08 Nov 2002 12:49:33 -0500
Subject: [Javascript] Re: Breadcrumb script test please
In-Reply-To: <001601c286a4$6c623850$467a5f80@hsl.washington.edu>
References: <001601c286a4$6c623850$467a5f80@hsl.washington.edu>
Message-ID: <20021108174934.40612.qmail@vpop.dmv.com>
Harry,
Script weems to work great in IE 5.5, Mozilla 1.0, and NS 4.7 (I would love
a copy of the new script, with comments of course)
Cutter
Falcon Knives
Harry Love writes:
> Hello All,
>
> I rewrote my breadcrumb script and am wondering if it works on other
> machines. If you would, please look at these two pages:
> http://healthlinks.washington.edu/help/mozilla/
> http://healthlinks.washington.edu/help/getstarted/
>
> In the top left corner of each page you should see the breadrumb trail
> (if JavaScript is enabled on your browser). The last segment should be
> bold. The segments before that should be hyperlinks.
>
> I've tested it locally on WinXP IE6, Moz1.2b, NN4.7, and MacOS 9.2 IE5.2
> and Moz1.2b. All seem to work fine. If you see anything fishy,
> however, please let me know.
>
> Thanks,
> Harry
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From hlove at u.washington.edu Fri Nov 8 14:39:18 2002
From: hlove at u.washington.edu (Harry Love)
Date: Fri, 8 Nov 2002 12:39:18 -0800
Subject: [Javascript] Re: Breadcrumb script test please
In-Reply-To: <20021108174934.40612.qmail@vpop.dmv.com>
Message-ID: <000501c28766$e962dea0$467a5f80@hsl.washington.edu>
-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]
On Behalf Of Cutter (javascript list)
Sent: Friday, November 08, 2002 9:50 AM
To: javascript at LaTech.edu
Subject: [Javascript] Re: Breadcrumb script test please
Harry,
Script weems to work great in IE 5.5, Mozilla 1.0, and NS 4.7 (I would
love
a copy of the new script, with comments of course)
Cutter
Falcon Knives
-------------------------
Hi Cutter,
Sure thing. The script is free to anyone. Use at your own risk, of
course. The comments and instructions for basic customization are
included in the file.
http://healthlinks.washington.edu/scripts/dynacrumbs.js
If you get it working on your site, let me know. If you have trouble
with it, or if you have a recommendation, send me an email.
Best regards,
Harry
From TrippCL at state.gov Fri Nov 8 14:40:14 2002
From: TrippCL at state.gov (Tripp, Candace L)
Date: Fri, 8 Nov 2002 15:40:14 -0500
Subject: [Javascript] Detect if JS enabled
Message-ID: <31EAD63EF127D311A7C500E0290A222D018B39B4@imsioopssntsd.irm.state.gov>
How do I detect if JS is enabled on a user's browser?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 1437 bytes
Desc: not available
URL:
From gassinaumasis at hotmail.com Fri Nov 8 15:08:16 2002
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Fri, 08 Nov 2002 21:08:16 +0000
Subject: [Javascript] Detect if JS enabled
Message-ID:
>How do I detect if JS is enabled on a user's browser?
It depends on how you want to use the information.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
From TrippCL at state.gov Fri Nov 8 15:16:37 2002
From: TrippCL at state.gov (Tripp, Candace L)
Date: Fri, 8 Nov 2002 16:16:37 -0500
Subject: [Javascript] Detect if JS enabled
Message-ID: <31EAD63EF127D311A7C500E0290A222D018B39BA@imsioopssntsd.irm.state.gov>
Thank you.
-----Original Message-----
From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com]
Sent: Friday, November 08, 2002 3:09 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Detect if JS enabled
>How do I detect if JS is enabled on a user's browser?
It depends on how you want to use the information.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2262 bytes
Desc: not available
URL:
From TrippCL at state.gov Fri Nov 8 15:20:00 2002
From: TrippCL at state.gov (Tripp, Candace L)
Date: Fri, 8 Nov 2002 16:20:00 -0500
Subject: [Javascript] Detect if JS enabled
Message-ID: <31EAD63EF127D311A7C500E0290A222D018B39BB@imsioopssntsd.irm.state.gov>
I want to redirect users with disabled JS to a statically laid out version
of the site. Should I do something like this:
etc.
Would the above work?
-----Original Message-----
From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com]
Sent: Friday, November 08, 2002 3:09 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Detect if JS enabled
>How do I detect if JS is enabled on a user's browser?
It depends on how you want to use the information.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2418 bytes
Desc: not available
URL:
From gassinaumasis at hotmail.com Fri Nov 8 15:34:15 2002
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Fri, 08 Nov 2002 21:34:15 +0000
Subject: [Javascript] Detect if JS enabled
Message-ID:
>I want to redirect users with disabled JS to a statically laid out version
>of the site.
Always do it the other way around. Your index page is the noscript page and
in the HEAD you simply do
No problems, always works.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
From tsimmons at employmentlawadvisors.com Fri Nov 8 15:35:18 2002
From: tsimmons at employmentlawadvisors.com (William T. Simmons)
Date: Fri, 8 Nov 2002 15:35:18 -0600
Subject: [Javascript] Detect if JS enabled
References: <31EAD63EF127D311A7C500E0290A222D018B39B4@imsioopssntsd.irm.state.gov>
Message-ID: <028d01c2876e$bc7790e0$0000a398@sndmgr122>
Candace,
If JS is enabled, your scripts run. If JS is disabled, no JavaScripted
solution will detect that. There is an HTML code solution, however. You can
put HTML content between < NOSCRIPT > and < /NOSCRIPT > tags that will take
care of users who either have a non-JS-capable browser or a browser with JS
disabled. For more details on those tags, search for keywords "noscript tag
HTML" on google.com. One good reference on that is found at
http://www.w3.org/TR/REC-html40/interact/scripts.html. Good luck!
HTH,
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
----- Original Message -----
From: "Tripp, Candace L"
To:
Sent: Friday, November 08, 2002 2:40 PM
Subject: [Javascript] Detect if JS enabled
> How do I detect if JS is enabled on a user's browser?
>
From checkatil at concentric.net Sat Nov 9 01:31:39 2002
From: checkatil at concentric.net (chekmareva)
Date: Sat, 9 Nov 2002 07:31:39 +0000
Subject: [Javascript] Up to $200 free money
Message-ID: <188319893mdydvfulswCodwhfk1hgx@compuserve.com>
An HTML attachment was scrubbed...
URL:
From iztokp at amis.net Sat Nov 9 11:42:49 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Sat, 9 Nov 2002 18:42:49 +0100
Subject: [Javascript] fullscreen
References: <188319893mdydvfulswCodwhfk1hgx@compuserve.com>
Message-ID: <000a01c28817$710b8180$a62512d4@BookFLASHER>
GaminglandCasino.comHi!
How to resize current window to full screen (like F11 in IE)?
Bye,
Iztok
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From gassinaumasis at hotmail.com Sun Nov 10 12:56:25 2002
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Sun, 10 Nov 2002 18:56:25 +0000
Subject: [Javascript] fullscreen
Message-ID:
>How to resize current window to full screen (like F11 in IE)?
You can't. You can of course resize the window to take the entire screen,
but removing toolbars and such is not possible.
See http://www.xs4all.nl/~ppk/js/index.html?winprop.html for an overview of
the things that are possible.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
From wroblewski at poczta.wprost.pl Sun Nov 10 17:54:28 2002
From: wroblewski at poczta.wprost.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Mon, 11 Nov 2002 00:54:28 +0100
Subject: [Javascript] document.layers
Message-ID: <3DCEFFC4.16396.254353@localhost>
I'm foud this function and I have some question:
function show5(){
// what this means: (!document.layers&&!document.all)
if (!document.layers&&!document.all)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="AM"
if (hours>12){
dn="PM"
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
myclock="It's
:"+hours+":"+minutes+":"
+seconds+" "+dn+""
// I don't uderstand the syntax:
document.layers.liveclock.document.write
// Could anyone give another example pls.
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
// and what is this: liveclock.innerHTML=myclock how does it work
liveclock.innerHTML=myclock
setTimeout("show5()",1000)
}
I know that's probably RTFM question but I looking in :
http://developer.netscape.com/docs/manuals/communicator/jsguide4/
and I found nothing.
thnk U in advance for any comments
andrzej
From wroblewski at poczta.wprost.pl Sun Nov 10 17:54:30 2002
From: wroblewski at poczta.wprost.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Mon, 11 Nov 2002 00:54:30 +0100
Subject: [Javascript] fullscreen
In-Reply-To: <000a01c28817$710b8180$a62512d4@BookFLASHER>
Message-ID: <3DCEFFC6.32035.254832@localhost>
> How to resize current window to full screen (like F11 in IE)?
Hi, you can try this (I don't know if it is what you're looking for):
some link
Greetings
andrzej
From trojani2000 at hotmail.com Sun Nov 10 21:11:40 2002
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Mon, 11 Nov 2002 03:11:40 +0000
Subject: [Javascript] document.layers
Message-ID:
An HTML attachment was scrubbed...
URL:
From t.mattiozzi at auckland.ac.nz Sun Nov 10 21:42:18 2002
From: t.mattiozzi at auckland.ac.nz (Teo Petralia)
Date: Mon, 11 Nov 2002 16:42:18 +1300
Subject: [Javascript] Back button issue
In-Reply-To: <3DCEFFC4.16396.254353@localhost>
References: <3DCEFFC4.16396.254353@localhost>
Message-ID:
Hi!
I have a pop-up menu in a form from where the user can select a
sound. When the user choose the sound that he/she want to hear
another page is loaded and the quicktime plug-ins play the sound.
Unfortunately when the user clicking on the Back button comeback to
the last page the pop-up menu is doesn't show the option selected but
show the default selected option. This problem arise only when I use
Internet Explorer. I'm testing on a Macintosh computer.
Does anyone knows what I need to do to avoid this problem?
Thanks in advance
Teo
From iztokp at amis.net Mon Nov 11 01:19:02 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Mon, 11 Nov 2002 08:19:02 +0100
Subject: [Javascript] fullscreen
References: <3DCEFFC6.32035.254832@localhost>
Message-ID: <000901c28952$9c8bb3c0$313612d4@flasher>
Hi!
How to remove the right bar?
Bye,
Iztok
----- Original Message -----
From: "Andrzej WrXblewski"
To:
Sent: Monday, November 11, 2002 12:54 AM
Subject: Re: [Javascript] fullscreen
> > How to resize current window to full screen (like F11 in IE)?
>
> Hi, you can try this (I don't know if it is what you're looking for):
>
>
>
>
>
> some link
>
>
> Greetings
> andrzej
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From iztokp at amis.net Mon Nov 11 02:17:58 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Mon, 11 Nov 2002 09:17:58 +0100
Subject: [Javascript] fullscreen
References: <3DCEFFC6.32035.254832@localhost> <000901c28952$9c8bb3c0$313612d4@flasher>
Message-ID: <000701c2895a$d84fde10$313612d4@flasher>
Hi!
I found the solution. In IE put scroll="no" in body tag.
Bye,
Iztok
----- Original Message -----
From: "Iztok Polanic"
To:
Sent: Monday, November 11, 2002 8:19 AM
Subject: Re: [Javascript] fullscreen
> Hi!
>
> How to remove the right bar?
>
> Bye,
>
> Iztok
> ----- Original Message -----
> From: "Andrzej WrXblewski"
> To:
> Sent: Monday, November 11, 2002 12:54 AM
> Subject: Re: [Javascript] fullscreen
>
>
> > > How to resize current window to full screen (like F11 in IE)?
> >
> > Hi, you can try this (I don't know if it is what you're looking for):
> >
> >
> >
> >
> >
> > some link
> >
> >
> > Greetings
> > andrzej
> > _______________________________________________
> > 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 bill.marriott at optusnet.com.au Mon Nov 11 02:50:01 2002
From: bill.marriott at optusnet.com.au (Bill Marriott)
Date: Mon, 11 Nov 2002 19:50:01 +1100
Subject: [Javascript] message box
References: <3DCEFFC6.32035.254832@localhost> <000901c28952$9c8bb3c0$313612d4@flasher> <000701c2895a$d84fde10$313612d4@flasher>
Message-ID: <001401c2895f$52fce8c0$64778ec6@DESKTOP>
Hi Everyone,
Does anyone know of a popup alert, message box or dialog box that looks like
the balloon type dialog that is used by Microsoft for their help.
thanks in advance
Bill Marriott
From andyg at ihug.co.nz Mon Nov 11 13:25:06 2002
From: andyg at ihug.co.nz (Andrew Gibson)
Date: Tue, 12 Nov 2002 08:25:06 +1300
Subject: [Javascript] drill down menu
References:
Message-ID: <004701c289b8$0b5df550$d3e7adcb@k1n8i8>
Heres one I worked on a while back, but didn't have a need for..
http://www.dscript.net.nz/webmail/managefld/mgefld.asp
I couldn't really figure out how to do it, but ended up with a bunch of
arrays holding references to children
where, 1 is the array element holding the next child, 0 might be the level.
Have look at the source code.
I had the arrays server side, and they wrote to the client arrays.
fds[0]="Home,1,0"
fds[1]="Contacts,2,1|New,0,1|Source,0,1|Search,7,1|Options,0,1"
Andrew Gibson
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Subject: [Javascript] drill down menu
hi all,
does anyone know how to create a drill down menu in javascript? something
like the way windows explorer works on the left hand side - although I will
have just a series of text links. I have a finite list of categories and sub
categories in a left hand menu.
eg.
category 1
category 2
category 3
and clicking on category 2 gives
category 1
category 2
category 2.1
category 2.2
category 2.3
category 3
thanks for your help
From alfwro at wp.pl Mon Nov 11 14:25:45 2002
From: alfwro at wp.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Mon, 11 Nov 2002 21:25:45 +0100
Subject: [Javascript] span section
Message-ID: <3DD02059.21239.132BA60@localhost>
If I create a span section i the :
how using JavaScript in the section put text into
sect.?
From andyg at ihug.co.nz Mon Nov 11 14:34:02 2002
From: andyg at ihug.co.nz (Andrew Gibson)
Date: Tue, 12 Nov 2002 09:34:02 +1300
Subject: [Javascript] span section
References: <3DD02059.21239.132BA60@localhost>
Message-ID: <006b01c289c1$ac4917c0$d3e7adcb@k1n8i8>
You probably need to use an onload event
then
function writeIt()
{
document.getElementById("mySpan").innerHTML="Whatever" ;
}
Subject: [Javascript] span section
> If I create a span section i the :
>
>
>
>
>
>
>
>
> how using JavaScript in the section put text into
> sect.?
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
From msocarras at terra.es Mon Nov 11 15:43:33 2002
From: msocarras at terra.es (Manuel Socarras Reyes)
Date: Mon, 11 Nov 2002 22:43:33 +0100
Subject: [Javascript] initial position of opened windows
References: <3DD02059.21239.132BA60@localhost> <006b01c289c1$ac4917c0$d3e7adcb@k1n8i8>
Message-ID: <3DD02485.5080000@terra.es>
hi:
are there equivalent features for IE for screenX and screenY to set the
initial position when opening a window? AFAIK they only works in NN
TIA,
--
Saludos,
Manuel Socarr?s Reyes
Barcelona. Spain
From sandy at cybercity.dk Mon Nov 11 22:18:07 2002
From: sandy at cybercity.dk (Jorge)
Date: Mon, 11 Nov 2002 23:18:07 -0500
Subject: [Javascript] Llamame, por favor!
Message-ID: <20021112041114.D66E4308936@LaTech.edu>
An HTML attachment was scrubbed...
URL:
From tsimmons at employmentlawadvisors.com Tue Nov 12 00:59:09 2002
From: tsimmons at employmentlawadvisors.com (William T. Simmons)
Date: Tue, 12 Nov 2002 00:59:09 -0600
Subject: [Javascript] initial position of opened windows
References: <3DD02059.21239.132BA60@localhost> <006b01c289c1$ac4917c0$d3e7adcb@k1n8i8> <3DD02485.5080000@terra.es>
Message-ID: <009b01c28a19$00d77190$0000a398@sndmgr122>
Manuel,
You might find what you need on one of my example pages for RoboHelp WebHelp
developers:
http://www.employmentlawadvisors.com/resources/csh4webhelp.html
View the page code and see whether the "openWindow(strUrl)" function might
help you do what you want in IE. Click the bottom few links and see what the
code does. Good luck!
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
----- Original Message -----
From: "Manuel Socarras Reyes"
To:
Sent: Monday, November 11, 2002 3:43 PM
Subject: [Javascript] initial position of opened windows
> hi:
>
> are there equivalent features for IE for screenX and screenY to set the
> initial position when opening a window? AFAIK they only works in NN
>
> TIA,
>
> --
> Saludos,
>
> Manuel Socarr?s Reyes
> Barcelona. Spain
From alfwro at wp.pl Tue Nov 12 06:55:53 2002
From: alfwro at wp.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Tue, 12 Nov 2002 13:55:53 +0100
Subject: [Javascript] span section
In-Reply-To: <006b01c289c1$ac4917c0$d3e7adcb@k1n8i8>
Message-ID: <3DD10869.1968.37AEB1@localhost>
> You probably need to use an onload event
>
>
>
> then
> function writeIt()
> {
> document.getElementById("mySpan").innerHTML="Whatever" ;
> }
thank You it works !!
But ... tell me why this is wrong:
debugger return error: 'document.getElementById(...)' is empty or is
not an object
Why's that?
Regards
andrzej
> > If I create a span section i the :
> >
> >
> >
> >
> >
> >
> >
> >
> > how using JavaScript in the section put text into
> > sect.?
> >
> >
From costea.dan at ssi-schaefer.ro Tue Nov 12 07:05:39 2002
From: costea.dan at ssi-schaefer.ro (Dan Costea)
Date: Tue, 12 Nov 2002 15:05:39 +0200
Subject: [Javascript] span section
References: <3DD10869.1968.37AEB1@localhost>
Message-ID: <03c501c28a4c$332733f0$7cdea8c0@PCCostea>
bacause at the moment you execute the script, you don't have a "mySpan"
object; it will be declared 4 lines below.
----- Original Message -----
From: "Andrzej Wr?blewski"
To:
Sent: Tuesday, November 12, 2002 2:55 PM
Subject: Re: [Javascript] span section
> > You probably need to use an onload event
> >
> >
> >
> > then
> > function writeIt()
> > {
> > document.getElementById("mySpan").innerHTML="Whatever" ;
> > }
>
> thank You it works !!
>
> But ... tell me why this is wrong:
>
>
>
>
>
>
>
>
>
>
> debugger return error: 'document.getElementById(...)' is empty or is
> not an object
>
> Why's that?
> Regards
> andrzej
>
> > > If I create a span section i the :
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > how using JavaScript in the section put text into
> > > sect.?
> > >
> > >
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From LMuchacho at twii.net Tue Nov 12 07:09:30 2002
From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London))
Date: Tue, 12 Nov 2002 13:09:30 -0000
Subject: [Javascript] span section
Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D1FC@lon.webmail.twii.net>
why it's wrong ?
look at the code what happen if you try to write something in a span when
the span doesn't exist (not complicated to understand) you can't access an
element in the page before is as been built by the browser .
Laurent
-----Original Message-----
From: Andrzej Wr?blewski [mailto:alfwro at wp.pl]
Sent: 12 November 2002 12:56
To: javascript at LaTech.edu
Subject: Re: [Javascript] span section
> You probably need to use an onload event
>
>
>
> then
> function writeIt()
> {
> document.getElementById("mySpan").innerHTML="Whatever" ;
> }
thank You it works !!
But ... tell me why this is wrong:
debugger return error: 'document.getElementById(...)' is empty or is
not an object
Why's that?
Regards
andrzej
> > If I create a span section i the :
> >
> >
> >
> >
> >
> >
> >
> >
> > how using JavaScript in the section put text into
> > sect.?
> >
> >
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.
From TrippCL at state.gov Wed Nov 13 07:13:45 2002
From: TrippCL at state.gov (Tripp, Candace L)
Date: Wed, 13 Nov 2002 08:13:45 -0500
Subject: [Javascript] message box
Message-ID: <31EAD63EF127D311A7C500E0290A222D018B3A13@imsioopssntsd.irm.state.gov>
http://www.htmlguru.com/
-----Original Message-----
From: Bill Marriott [mailto:bill.marriott at optusnet.com.au]
Sent: Monday, November 11, 2002 3:53 AM
To: javascript at LaTech.edu
Subject: Re: [Javascript] message box
Hi Everyone,
Does anyone know of a popup alert, message box or dialog box that looks like
the balloon type dialog that is used by Microsoft for their help.
thanks in advance
Bill Marriott
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 1893 bytes
Desc: not available
URL:
From TrippCL at state.gov Wed Nov 13 07:23:46 2002
From: TrippCL at state.gov (Tripp, Candace L)
Date: Wed, 13 Nov 2002 08:23:46 -0500
Subject: [Javascript] Detect if JS enabled
Message-ID: <31EAD63EF127D311A7C500E0290A222D018B3A17@imsioopssntsd.irm.state.gov>
Much grass.
-----Original Message-----
From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com]
Sent: Friday, November 08, 2002 4:35 PM
To: javascript at LaTech.edu
Subject: RE: [Javascript] Detect if JS enabled
>I want to redirect users with disabled JS to a statically laid out version
>of the site.
Always do it the other way around. Your index page is the noscript page and
in the HEAD you simply do
No problems, always works.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2346 bytes
Desc: not available
URL:
From rahulsoni_in at rediffmail.com Wed Nov 13 12:23:23 2002
From: rahulsoni_in at rediffmail.com (rahul soni)
Date: Wed, 13 Nov 2002 10:23:23 -0800
Subject: [Javascript] onEnter Submit js
Message-ID: <3DD2989B.40204@rediffmail.com>
-------
In response to
[Javascript] Press enter submits form
Harry Love javascript at LaTech.edu
Mon, 26 Aug 2002 13:44:48 -0700
Previous message: [Javascript] Press enter submits form
Next message: [Javascript] IE popup object
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--------------------------------------------------------------------------------
Hi all- how do I use javascript to submit the form (or press a
particular button) when the enter key is pressed?
David,
I think (and someone please correct me) that the [enter] key is already
the default keystroke for submitting a form, so no need for a script
there.
This form can have multiple buttons.
I'm confused by this statement. Are you saying you have multiple submit
buttons, or multiple buttons that should be associated with the [enter]
key, or something else? Please explain.
Harry
--------------------------------------------------------------------------------
From esthers at prodigy.com Wed Nov 13 21:01:49 2002
From: esthers at prodigy.com (riazsk)
Date: Thu, 14 Nov 2002 03:01:49 +0000
Subject: [Javascript] Bullet proof bulk email friendly hosting & cheap mass email campaigns.
Message-ID: <819627297mdydvfulswCodwhfk1hgx@juno.com>
We are the marketing specialists www.host4bulk.com that provide cheap
bullet proof bulk email friendly hosting for your website ($400 for
one month of bullet proof hosting) and cheap bulk email campaigns ($200
for 1 million emails sent)
As you may already know, many web hosting companies have Terms of Service
(TOS) or Acceptable Use Policies (AUP) against the delivery of emails
advertising or promoting your web site. If your web site host receives
complaints or discovers that your web site has been advertised in email
broadcasts, they may disconnect your account and shut down your web site.
Our mission is to solve your problem and provide you with bulk email
friendly hosting. You don't have to worry about your website being
closed again. Adult and gambling sites welcomed. No set up fee.
You may advertise your website by using your own resources or using 3rd
party's service. However we can do all the advertising for your business.
You just sit, relax and see how your income grows constantly. We guarantee
the lowest prices on the web for our web hosting and bulk email campaigns.
We only ask $200 us dollars for 1 million emails sent with your ad.
We don't use duplicate emails. Our email base is up to date and it is
updated weekly. Our current email data base contains over 50.000.000
emails sorted by various parameters to meet your specific needs. No
competitors may offer this price. The lowest price you can find on
the net is well over $500 for 1 million
Don't make the mistake of bulk emailing directly to your website without
bulletproof web hosting. Your web host will close your account and shut
your site down in no time! No matter how long you have been with them,
how much you are paying them, or how beautiful your site is. There are
companies charging thousands for bulletproof web hosting and they can't
keep you up and running like we can. If you host with us, your site
will NOT BE SHUT DOWN due to complaints! Bulk email campaign together
with bullet proof hosting will bring your business to success. Just
imagine how many people will learn about your business or product at a
really low price. Bulk email is considered to be the most effective way
to advertise on the net. It is hundreds times effective than banner,
solo ad and other campaigns. Once people use our service they always
come back for more. We can always provide websites that use bulk email
campaigns with our new reliable way to accept credit cards on the net
without the need to open merchant account. You can start accepting credit
card payments in second. It is totally free.
Visit our website at http://www.host4bulk.com for more information and
to order your bulk email hosting or/and email campaign.
From grillo at lazzuri.com.br Thu Nov 14 00:00:25 2002
From: grillo at lazzuri.com.br (Marcelo Simon)
Date: Thu, 14 Nov 2002 04:00:25 -0200
Subject: [Javascript] Object doesn't support this property or method
Message-ID: <000b01c28ba3$21309f80$0200a8c0@motta>
Hi,
I have a link in a image that I want it to change the src for an iframe and for the image itself, but I'm getting the "Object doesn't support this property or method" message in IE ( and I'm only worried with this browser 5.0+ )
Here's the code:
function blahbox() {
if (document.blahbox.location.href.indexOf("i_blahbox") >= 0 ){
document.blahbox.location.href = "i_emoticons.cfm";
document.btBlahBox.src = "images/bt_blahbox.gif"
} else {
document.blahbox.location.href = "i_blahbox.cfm";
document.btBlahBox.src = "images/bt_emoticon.gif"
}
}
and here's the call for it:
and here's the iframe code:
Did this make what I'm trying to accomplish clear? I hope so !
TIA
Marcelo Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From swheller at rwa-net.co.uk Thu Nov 14 06:17:13 2002
From: swheller at rwa-net.co.uk (Steve Wheller)
Date: Thu, 14 Nov 2002 12:17:13 -0000
Subject: [Javascript] Selecting Day, month and year and getting it to work out the dayof week
Message-ID:
Hi,
I'm looking for a script that does the following:-
You have 2 drop down boxes with date and month/year. What I want to happen
is when a user selects the day and month in the drop down boxes the day of
the week will appear corresponding to the date selected next to the drop
down boxes.
Any ideas.
Cheers
Steve
RWA Software Consultancy & Solutions, RWA House, 66 Cardiff Road,
Glan-y-Llyn,Taffs Well, Cardiff CF15 7QE
Tel: 029 2081 5050 Fax:029 2081 5051
http://www.rwa-net.co.uk
Direct Tel: 029 2081 5473 Email: swheller at rwa-net.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From alfwro at wp.pl Thu Nov 14 10:52:31 2002
From: alfwro at wp.pl (=?ISO-8859-2?Q?Andrzej_Wróblewski?=)
Date: Thu, 14 Nov 2002 17:52:31 +0100
Subject: [Javascript] Selecting Day, month and year and getting it to work out the dayof week
In-Reply-To:
Message-ID: <3DD3E2DF.22667.153AE58@localhost>
> I'm looking for a script that does the following:-
>
> You have 2 drop down boxes with date and month/year. What I want to happen is when a user
> selects the day and month in the drop down boxes the day of the week will appear corresponding
> to the date selected next to the drop down boxes.
>
> Any ideas.
>
> Cheers
>
> Steve
Try this:
http://republika.pl/wroblewski_online/js/001.html
Regards
Andrzej
From iztokp at amis.net Fri Nov 15 04:34:53 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Fri, 15 Nov 2002 11:34:53 +0100
Subject: [Javascript] resizeTo in fullscreen mode
Message-ID: <000501c28c92$a2b59c00$313612d4@flasher>
Hi!
I'm having difficulties resizing a window which is in fullscreen mode (IE
6.0 sp1)
I'm using top.window.resizeTo(x,y). Where's the problem. If the window is
not in fullscreen mode then it works like a charm. Strange things are
happening. Please help!
Bye,
Iztok
From iztokp at amis.net Fri Nov 15 06:51:52 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Fri, 15 Nov 2002 13:51:52 +0100
Subject: [Javascript] resizeTo in fullscreen mode
References: <000501c28c92$a2b59c00$313612d4@flasher> <004e01c28ca5$cc8891f0$0f01a8c0@maxim>
Message-ID: <000b01c28ca5$c52fc590$313612d4@flasher>
Hi!
Question: how to take out of fullscreen?
Bye,
Iztok
----- Original Message -----
From: "Terry"
To:
Sent: Friday, November 15, 2002 1:52 PM
Subject: Re: [Javascript] resizeTo in fullscreen mode
> fullscreen mode is that, fullscreen mode.... take it out of fullscreen
and
> then resize...
>
> ~Terry
>
> ----- Original Message -----
> From: "Iztok Polanic"
> To:
> Sent: Friday, November 15, 2002 5:34 AM
> Subject: [Javascript] resizeTo in fullscreen mode
>
>
> > Hi!
> >
> > I'm having difficulties resizing a window which is in fullscreen mode
(IE
> > 6.0 sp1)
> > I'm using top.window.resizeTo(x,y). Where's the problem. If the window
is
> > not in fullscreen mode then it works like a charm. Strange things are
> > happening. Please help!
> >
> > Bye,
> >
> > Iztok
> >
> > _______________________________________________
> > 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 bader at tcbader.com Fri Nov 15 06:52:03 2002
From: bader at tcbader.com (Terry)
Date: Fri, 15 Nov 2002 07:52:03 -0500
Subject: [Javascript] resizeTo in fullscreen mode
References: <000501c28c92$a2b59c00$313612d4@flasher>
Message-ID: <004e01c28ca5$cc8891f0$0f01a8c0@maxim>
fullscreen mode is that, fullscreen mode.... take it out of fullscreen and
then resize...
~Terry
----- Original Message -----
From: "Iztok Polanic"
To:
Sent: Friday, November 15, 2002 5:34 AM
Subject: [Javascript] resizeTo in fullscreen mode
> Hi!
>
> I'm having difficulties resizing a window which is in fullscreen mode (IE
> 6.0 sp1)
> I'm using top.window.resizeTo(x,y). Where's the problem. If the window is
> not in fullscreen mode then it works like a charm. Strange things are
> happening. Please help!
>
> Bye,
>
> Iztok
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
From HSenior at twii.net Fri Nov 15 12:08:09 2002
From: HSenior at twii.net (Senior, Henry (TWIi London))
Date: Fri, 15 Nov 2002 18:08:09 -0000
Subject: [Javascript] resizeTo in fullscreen mode
Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC04338668@lon.webmail.twii.net>
If you're trying to use chromeless windows in ie, this quirk has now been
updated in many versions of ie and updating windows with service pack 2 will
also stop you doing this.
Either open the window to the size you want or close and reopen.
I heard that there was a hack to achieve what you want by using '_self' as
your window name:
window.open(url,'_self',whatever properties you want);
but I have never been able to get this to work
-----Original Message-----
From: javascript-request at LaTech.edu
[mailto:javascript-request at LaTech.edu]
Sent: 15 November 2002 18:01
To: javascript at LaTech.edu
Subject: Javascript digest, Vol 1 #809 - 3 msgs
Send Javascript mailing list submissions to
javascript at LaTech.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
javascript-request at LaTech.edu
You can reach the person managing the list at
javascript-admin at LaTech.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."
Today's Topics:
1. resizeTo in fullscreen mode (Iztok Polanic)
2. Re: resizeTo in fullscreen mode (Terry)
3. Re: resizeTo in fullscreen mode (Iztok Polanic)
--__--__--
Message: 1
From: "Iztok Polanic"
To:
Date: Fri, 15 Nov 2002 11:34:53 +0100
Subject: [Javascript] resizeTo in fullscreen mode
Reply-To: javascript at LaTech.edu
Hi!
I'm having difficulties resizing a window which is in fullscreen mode (IE
6.0 sp1)
I'm using top.window.resizeTo(x,y). Where's the problem. If the window is
not in fullscreen mode then it works like a charm. Strange things are
happening. Please help!
Bye,
Iztok
--__--__--
Message: 2
From: "Terry"
To:
Subject: Re: [Javascript] resizeTo in fullscreen mode
Date: Fri, 15 Nov 2002 07:52:03 -0500
Reply-To: javascript at LaTech.edu
fullscreen mode is that, fullscreen mode.... take it out of fullscreen and
then resize...
~Terry
----- Original Message -----
From: "Iztok Polanic"
To:
Sent: Friday, November 15, 2002 5:34 AM
Subject: [Javascript] resizeTo in fullscreen mode
> Hi!
>
> I'm having difficulties resizing a window which is in fullscreen mode (IE
> 6.0 sp1)
> I'm using top.window.resizeTo(x,y). Where's the problem. If the window is
> not in fullscreen mode then it works like a charm. Strange things are
> happening. Please help!
>
> Bye,
>
> Iztok
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
--__--__--
Message: 3
From: "Iztok Polanic"
To:
Subject: Re: [Javascript] resizeTo in fullscreen mode
Date: Fri, 15 Nov 2002 13:51:52 +0100
Reply-To: javascript at LaTech.edu
Hi!
Question: how to take out of fullscreen?
Bye,
Iztok
----- Original Message -----
From: "Terry"
To:
Sent: Friday, November 15, 2002 1:52 PM
Subject: Re: [Javascript] resizeTo in fullscreen mode
> fullscreen mode is that, fullscreen mode.... take it out of fullscreen
and
> then resize...
>
> ~Terry
>
> ----- Original Message -----
> From: "Iztok Polanic"
> To:
> Sent: Friday, November 15, 2002 5:34 AM
> Subject: [Javascript] resizeTo in fullscreen mode
>
>
> > Hi!
> >
> > I'm having difficulties resizing a window which is in fullscreen mode
(IE
> > 6.0 sp1)
> > I'm using top.window.resizeTo(x,y). Where's the problem. If the window
is
> > not in fullscreen mode then it works like a charm. Strange things are
> > happening. Please help!
> >
> > Bye,
> >
> > Iztok
> >
> > _______________________________________________
> > 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
End of Javascript Digest
DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.
From trojani2000 at hotmail.com Tue Nov 19 07:49:18 2002
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Tue, 19 Nov 2002 13:49:18 +0000
Subject: [Javascript] resizeTo in fullscreen mode
Message-ID:
An HTML attachment was scrubbed...
URL:
From madcoonline at madcoonline.com Tue Nov 19 09:09:15 2002
From: madcoonline at madcoonline.com (Madison County Online)
Date: Tue, 19 Nov 2002 10:09:15 -0500
Subject: [Javascript] Object expected error
Message-ID:
Mr. Myers,
I noticed you were able to answer a question on one of the sites I came
accross while trying to solve a java script error. Maybe you could help
with this one. I have pasted the code into the bottom of this for you to
look at. I received it from
http://javascript.internet.com/passwords/cookie-in.html. The second part of
the code keeps giving the me following error:
Line: 10 which happens to be this line---
if(GetCookie('FreeStuffL') == null) {
Char: 1
Error: Object Expected
Code: 0
The code:
High regards and Thanks in advance,
Mike Flanders
From MPodlesny at acsisinc.com Tue Nov 19 13:34:33 2002
From: MPodlesny at acsisinc.com (Podlesny, Michael)
Date: Tue, 19 Nov 2002 14:34:33 -0500
Subject: [Javascript] HELP WITH COOKIES!!!
Message-ID: <74DD80CFD52CD5119BB300902716F24EF305AD@EXCHANGE.acsisinc.com>
Can anyone help me out with cookies written in Javascript. When I set my
cookies they are only available to the page that I set them on. Does anyone
have any ideas on how to fix this? Here is the code below:
function set_cookie(cookie_name, value)
{
document.cookie = cookie_name+"="+value;
}
function get_cookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else
begin += 2;
var end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length, end));
}
From iztokp at amis.net Wed Nov 20 04:43:47 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Wed, 20 Nov 2002 11:43:47 +0100
Subject: [Javascript] NaN
Message-ID: <002101c29081$b512e310$313612d4@flasher>
Hi!
I was trying to catch NaN (Not a Number) via
x = Number(something);
if (x == "NaN") {
...
}
and it does not work. Why? I'm using IE 6.0 and JS 1.5. Can somebody tell me
what cained of error is IE 5.x throwing back to user?
TNX!
Bye,
Iztok
From tobias.barlind at infostruct.se Wed Nov 20 04:45:05 2002
From: tobias.barlind at infostruct.se (Tobias Barlind)
Date: Wed, 20 Nov 2002 11:45:05 +0100
Subject: [Javascript] NaN
Message-ID:
if (isNaN(x) == true) {
//This is not a number, deal with it
}
-----Original Message-----
From: Iztok Polanic [mailto:iztokp at amis.net]
Sent: den 20 november 2002 11:44
To: javascript at LaTech.edu
Subject: [Javascript] NaN
Hi!
I was trying to catch NaN (Not a Number) via
x = Number(something);
if (x == "NaN") {
...
}
and it does not work. Why? I'm using IE 6.0 and JS 1.5. Can somebody
tell me
what cained of error is IE 5.x throwing back to user?
TNX!
Bye,
Iztok
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
From peter at brunone.com Wed Nov 20 10:16:44 2002
From: peter at brunone.com (Peter Brunone)
Date: Wed, 20 Nov 2002 11:16:44 -0500
Subject: [Javascript] NaN
Message-ID: <200211201116.AA2023293772@brunone.com>
Iztok,
You are checking to see if x is equal to the string "NaN", which of course it never is. I'm not sure if you can use an equality to check for NaN, but the function isNaN(x) will return a boolean (true/false) value that you can use.
Cheers,
Peter
---------- Original Message ----------------------------------
From: "Iztok Polanic"
Reply-To: javascript at LaTech.edu
Date: Wed, 20 Nov 2002 11:43:47 +0100
>Hi!
>
>I was trying to catch NaN (Not a Number) via
>x = Number(something);
>if (x == "NaN") {
>...
>}
>and it does not work. Why? I'm using IE 6.0 and JS 1.5. Can somebody tell me
>what cained of error is IE 5.x throwing back to user?
>TNX!
>
>Bye,
>
>Iztok
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
From trojani2000 at hotmail.com Wed Nov 20 12:34:06 2002
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Wed, 20 Nov 2002 18:34:06 +0000
Subject: [Javascript] Selecting Day, month and year and getting it to work out the
dayof week
Message-ID:
An HTML attachment was scrubbed...
URL:
From MPodlesny at acsisinc.com Wed Nov 20 12:37:41 2002
From: MPodlesny at acsisinc.com (Podlesny, Michael)
Date: Wed, 20 Nov 2002 13:37:41 -0500
Subject: [Javascript] Help with Cookies!!
Message-ID: <74DD80CFD52CD5119BB300902716F24EF305C2@EXCHANGE.acsisinc.com>
Anyone have any idea why a cookie will not be available throughout all pages
of my site. Right now it's only available on the page that it is stored.
Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bader at tcbader.com Wed Nov 20 12:45:15 2002
From: bader at tcbader.com (Terry Bader)
Date: Wed, 20 Nov 2002 11:45:15 -0700
Subject: [Javascript] Help with Cookies!!
Message-ID: <200211201145.AA49086702@tcbader.com>
code?
~Terry
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "Podlesny, Michael"
Reply-To: javascript at LaTech.edu
Date: Wed, 20 Nov 2002 13:37:41 -0500
>Anyone have any idea why a cookie will not be available throughout all pages
>of my site. Right now it's only available on the page that it is stored.
>
>Thanks,
>Mike
>
>
From MPodlesny at acsisinc.com Wed Nov 20 12:50:11 2002
From: MPodlesny at acsisinc.com (Podlesny, Michael)
Date: Wed, 20 Nov 2002 13:50:11 -0500
Subject: [Javascript] Help with Cookies!!
Message-ID: <74DD80CFD52CD5119BB300902716F24EF305C3@EXCHANGE.acsisinc.com>
function set_cookie(cookie_name, value)
{
document.cookie = cookie_name+"="+value;
}
function get_cookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else
begin += 2;
var end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length, end));
}
-----Original Message-----
From: Terry Bader [mailto:bader at tcbader.com]
Sent: Wednesday, November 20, 2002 1:45 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Help with Cookies!!
code?
~Terry
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "Podlesny, Michael"
Reply-To: javascript at LaTech.edu
Date: Wed, 20 Nov 2002 13:37:41 -0500
>Anyone have any idea why a cookie will not be available throughout all
pages
>of my site. Right now it's only available on the page that it is stored.
>
>Thanks,
>Mike
>
>
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
From bader at tcbader.com Wed Nov 20 12:52:28 2002
From: bader at tcbader.com (Terry Bader)
Date: Wed, 20 Nov 2002 11:52:28 -0700
Subject: [Javascript] Help with Cookies!!
Message-ID: <200211201152.AA231866564@tcbader.com>
Not that I haven't done some quite interesting things with JS but why recreate the wheel...
http://javascript.internet.com/calculators/day-of-week.html
also, the best tool for any JS developer is http://www.google.com...
if you think it might have been done, start there....
and while i am on my lecture of keeping it simple... everyone should check out http://dynapi.sourceforge.net/dynapi/ if you are interested in a JS library that is made for cross-browser developing.... it is quite handy...
~Terry
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "Podlesny, Michael"
Reply-To: javascript at LaTech.edu
Date: Wed, 20 Nov 2002 13:37:41 -0500
>Anyone have any idea why a cookie will not be available throughout all pages
>of my site. Right now it's only available on the page that it is stored.
>
>Thanks,
>Mike
>
>
From bader at tcbader.com Wed Nov 20 12:54:02 2002
From: bader at tcbader.com (Terry Bader)
Date: Wed, 20 Nov 2002 11:54:02 -0700
Subject: [Javascript] sry, this is for the Day of the Week
Message-ID: <200211201154.AA173670560@tcbader.com>
sry... i posted this under the wrong subject....
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "Terry Bader"
Reply-To:
Date: Wed, 20 Nov 2002 11:52:28 -0700
>Not that I haven't done some quite interesting things with JS but why recreate the wheel...
>
>http://javascript.internet.com/calculators/day-of-week.html
>
>also, the best tool for any JS developer is http://www.google.com...
>
>if you think it might have been done, start there....
>
>and while i am on my lecture of keeping it simple... everyone should check out http://dynapi.sourceforge.net/dynapi/ if you are interested in a JS library that is made for cross-browser developing.... it is quite handy...
>
>~Terry
>
>Terry Bader
>
>(757)581-5981
>bader at tcbader.com
>
>---------- Original Message ----------------------------------
>From: "Podlesny, Michael"
>Reply-To: javascript at LaTech.edu
>Date: Wed, 20 Nov 2002 13:37:41 -0500
>
>>Anyone have any idea why a cookie will not be available throughout all pages
>>of my site. Right now it's only available on the page that it is stored.
>>
>>Thanks,
>>Mike
>>
>>
>
>
>
From MPodlesny at acsisinc.com Wed Nov 20 12:58:40 2002
From: MPodlesny at acsisinc.com (Podlesny, Michael)
Date: Wed, 20 Nov 2002 13:58:40 -0500
Subject: [Javascript] Help with Cookies!!
Message-ID: <74DD80CFD52CD5119BB300902716F24EF305C5@EXCHANGE.acsisinc.com>
thanks for the help but the code I submitted did come from Google.
-----Original Message-----
From: Terry Bader [mailto:bader at tcbader.com]
Sent: Wednesday, November 20, 2002 1:52 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Help with Cookies!!
Not that I haven't done some quite interesting things with JS but why
recreate the wheel...
http://javascript.internet.com/calculators/day-of-week.html
also, the best tool for any JS developer is http://www.google.com...
if you think it might have been done, start there....
and while i am on my lecture of keeping it simple... everyone should check
out http://dynapi.sourceforge.net/dynapi/ if you are interested in a JS
library that is made for cross-browser developing.... it is quite handy...
~Terry
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "Podlesny, Michael"
Reply-To: javascript at LaTech.edu
Date: Wed, 20 Nov 2002 13:37:41 -0500
>Anyone have any idea why a cookie will not be available throughout all
pages
>of my site. Right now it's only available on the page that it is stored.
>
>Thanks,
>Mike
>
>
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
From bader at tcbader.com Wed Nov 20 13:09:14 2002
From: bader at tcbader.com (Terry Bader)
Date: Wed, 20 Nov 2002 12:09:14 -0700
Subject: [Javascript] Help with Cookies!!
Message-ID: <200211201209.AA225312918@tcbader.com>
please see my other post, this reply was to another thread...
as for my comment "code?"... i dont see anything you submitted... im not at home where my mail is seperated into different boxes for me to look up any old posts...
so please repost your code and what you are doing specifically...
~Terryu
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "Podlesny, Michael"
Reply-To: javascript at LaTech.edu
Date: Wed, 20 Nov 2002 13:58:40 -0500
>thanks for the help but the code I submitted did come from Google.
>
>-----Original Message-----
>From: Terry Bader [mailto:bader at tcbader.com]
>Sent: Wednesday, November 20, 2002 1:52 PM
>To: javascript at LaTech.edu
>Subject: Re: [Javascript] Help with Cookies!!
>
>
>Not that I haven't done some quite interesting things with JS but why
>recreate the wheel...
>
>http://javascript.internet.com/calculators/day-of-week.html
>
>also, the best tool for any JS developer is http://www.google.com...
>
>if you think it might have been done, start there....
>
>and while i am on my lecture of keeping it simple... everyone should check
>out http://dynapi.sourceforge.net/dynapi/ if you are interested in a JS
>library that is made for cross-browser developing.... it is quite handy...
>
>~Terry
>
>Terry Bader
>
>(757)581-5981
>bader at tcbader.com
>
>---------- Original Message ----------------------------------
>From: "Podlesny, Michael"
>Reply-To: javascript at LaTech.edu
>Date: Wed, 20 Nov 2002 13:37:41 -0500
>
>>Anyone have any idea why a cookie will not be available throughout all
>pages
>>of my site. Right now it's only available on the page that it is stored.
>>
>>Thanks,
>>Mike
>>
>>
>
>
>_______________________________________________
>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 Wed Nov 20 13:55:40 2002
From: trojani2000 at hotmail.com (BEKIM BACAJ)
Date: Wed, 20 Nov 2002 19:55:40 +0000
Subject: [Javascript] Object doesn't support this property or method
Message-ID:
Try this:
----------------------------------------------
------------------------------------------------
function blahbox() {
if (blahbox.src=="i_blahbox.cfm")){
//no need to call document object every time - call the object itself
blahbox.src = "i_emoticons.cfm";
btBlahBox.src = "images\\bt_blahbox.gif"
} else {
blahbox.src = "i_blahbox.cfm";
btBlahBox.src = "images\\bt_emoticon.gif"
}
}
and here's the call for it:
and here's the iframe code:
-------------------------------------------------
-------------------------------------------------
That should work!
Please see if the name attribute is still supported in ie5.5 and higher for
the objects used here.
Cheers
>From: "Marcelo Simon"
>Reply-To: javascript at LaTech.edu
>To: "[ listas ] Javascript"
>Subject: [Javascript] Object doesn't support this property or method
>Date: Thu, 14 Nov 2002 04:00:25 -0200
>
>Hi,
>
>I have a link in a image that I want it to change the src for an iframe and
>for the image itself, but I'm getting the "Object doesn't support this
>property or method" message in IE ( and I'm only worried with this browser
>5.0+ )
>
>Here's the code:
>
>function blahbox() {
> if (document.blahbox.location.href.indexOf("i_blahbox") >= 0 ){
> document.blahbox.location.href = "i_emoticons.cfm";
> document.btBlahBox.src = "images/bt_blahbox.gif"
> } else {
> document.blahbox.location.href = "i_blahbox.cfm";
> document.btBlahBox.src = "images/bt_emoticon.gif"
> }
>}
>
>and here's the call for it:
>
>id="btBlahBox" width="18" height="19" border="0" onClick="blahbox();">
>
>and here's the iframe code:
>
>
>
>Did this make what I'm trying to accomplish clear? I hope so !
>
>TIA
>Marcelo Simon
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
From khowe at perfnet.ca Wed Nov 20 21:53:19 2002
From: khowe at perfnet.ca (Kevin Howe)
Date: Wed, 20 Nov 2002 22:53:19 -0500
Subject: [Javascript] Javascript Onblur action hanndler
Message-ID: <000501c29111$88254290$88449a8e@KHOWE>
Hi,
In regards to this post you made a while ago:
https://lists.latech.edu/pipermail/javascript/2001-September/002290.html
Did you ever find a solution to this problem? I can't seem to find a way
around it either.
Thanks,
Kevin
From postmaster at LaTech.edu Wed Nov 20 22:57:31 2002
From: postmaster at LaTech.edu (postmaster at LaTech.edu)
Date: Wed, 20 Nov 2002 22:57:31 -0600 (CST)
Subject: [Javascript] VIRUS IN YOUR MAIL
Message-ID: <20021121045731.CE33B308D24@LaTech.edu>
V I R U S A L E R T
Our viruschecker found the
W32/Braid at MM
W32/Braid at MM
virus(es) in your email to the following recipient(s):
-> javascript at localhost.LaTech.edu
The message was not delivered to the recipient(s).
Please check your system for viruses, or ask your system administrator
to do so. Note that some viruses (notably Klez) will forge the sender
address, resulting in false notifications. Check the "Received" headers
below to see if the infected message originated from a system you use.
For your reference, here are the headers from your email:
------------------------- BEGIN HEADERS -----------------------------
Received: from smtp.LaTech.edu (unknown [211.23.84.93])
by LaTech.edu (Postfix) with SMTP id 18D94308D4C
for ; Wed, 20 Nov 2002 22:57:26 -0600 (CST)
From: Alex
DATE: Thu, 21 Nov 2002 12:58:44+0000
X-Mailer: EBT Reporter v 2.x
To: javascript at LaTech.edu
subject: DIY GRUOP
Mime-Version: 1.0
Content-Type: multipart/related;
type="multipart/alternative";
boundary="====_ABC1234567890DEF_===="
X-Priority: 3
X-MSMail-Priority: Normal
X-Unsent: 1
Message-Id: <20021121045726.18D94308D4C at LaTech.edu>
-------------------------- END HEADERS ------------------------------
From iztokp at amis.net Thu Nov 21 09:30:44 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Thu, 21 Nov 2002 16:30:44 +0100
Subject: [Javascript] moveTo
Message-ID: <000501c29172$f5634c60$313612d4@flasher>
Hi!
One easy question to which I don't know the answer :(
I'm opening a new window and I want it to display on x,y coordinates.
I have this:
window.open (link,"windowName","parameter");
windowName.moveTo(x,y);
What's worng?
Bye,
Iztok
From LMuchacho at twii.net Thu Nov 21 09:36:40 2002
From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London))
Date: Thu, 21 Nov 2002 15:36:40 -0000
Subject: [Javascript] moveTo
Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D21B@lon.webmail.twii.net>
Hi Iztok
Try this
var myWin = window.open (link,"windowName","parameter");
myWin.moveTo(x,y);
Laurent
-----Original Message-----
From: Iztok Polanic [mailto:iztokp at amis.net]
Sent: 21 November 2002 15:31
To: javascript at LaTech.edu
Subject: [Javascript] moveTo
Hi!
One easy question to which I don't know the answer :(
I'm opening a new window and I want it to display on x,y coordinates.
I have this:
window.open (link,"windowName","parameter");
windowName.moveTo(x,y);
What's worng?
Bye,
Iztok
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.
From iztokp at amis.net Thu Nov 21 09:51:25 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Thu, 21 Nov 2002 16:51:25 +0100
Subject: [Javascript] moveTo
References: <76A6F0FCCA27D4119DEF00805F5700AC03C5D21B@lon.webmail.twii.net>
Message-ID: <002301c29175$d90f87b0$313612d4@flasher>
TNX!
Bye,
Iztok
----- Original Message -----
From: "Muchacho, Laurent (TWIi London)"
To:
Sent: Thursday, November 21, 2002 4:36 PM
Subject: RE: [Javascript] moveTo
> Hi Iztok
>
> Try this
>
> var myWin = window.open (link,"windowName","parameter");
> myWin.moveTo(x,y);
>
> Laurent
>
> -----Original Message-----
> From: Iztok Polanic [mailto:iztokp at amis.net]
> Sent: 21 November 2002 15:31
> To: javascript at LaTech.edu
> Subject: [Javascript] moveTo
>
>
> Hi!
>
> One easy question to which I don't know the answer :(
> I'm opening a new window and I want it to display on x,y coordinates.
> I have this:
>
> window.open (link,"windowName","parameter");
> windowName.moveTo(x,y);
>
> What's worng?
>
> Bye,
>
> Iztok
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
> DISCLAIMER - The preceding e-mail message (including any attachments)
> contains information that may be confidential, may be protected by the
> attorney-client or other applicable privileges, or may constitute
non-public
> information. It is intended to be conveyed only to the designated
> recipient(s) named above. If you are not an intended recipient of this
> message, or have otherwise received it in error, please notify the sender
by
> replying to this message and then delete all copies of it from your
computer
> system. Any use, dissemination, distribution, or reproduction of this
> message by unintended recipients is not authorized and may be unlawful.
The
> contents of this communication do not necessarily represent the views of
> this company.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From Subscriber_Services78039 at msn.com Thu Nov 21 15:40:27 2002
From: Subscriber_Services78039 at msn.com (WALL STREET BULLETIN..46339)
Date: Thu, 21 Nov 2002 15:40:27 -0600
Subject: [Javascript] NEW STOCK PICK: TBIN - SYPY UP 309%.................................................................................................................................................................................................... hxya
Message-ID: <200211212140.gALLeTAd038925@helius.latech.edu>
An HTML attachment was scrubbed...
URL:
From steve at extremewattage.co.uk Thu Nov 21 15:48:59 2002
From: steve at extremewattage.co.uk (Steve Vernon)
Date: Thu, 21 Nov 2002 21:48:59 -0000
Subject: [Javascript] Text Rollover in Netscape and IE
Message-ID: <05f801c291a7$ce546ac0$41d586d9@extreme>
Hiya,
Most sources I can find do text rollover for a link, and I jsut wanna do
it for a span.
My script is:
And what I want to alter is Click for friends
This works fine in IE but not in Netscape 7, also can someone give me a
clue please whether the old Netscape code works as well?
Thanks!
Steve
From fisher at volstate.net Thu Nov 21 19:33:22 2002
From: fisher at volstate.net (Alvin Fisher)
Date: Thu, 21 Nov 2002 20:33:22 -0500
Subject: [Javascript] VIRUS IN YOUR MAIL
References: <20021121045731.CE33B308D24@LaTech.edu>
Message-ID: <000e01c291c7$292e1300$2b108142@alvin>
I wouldn't know how to use or send a virus even if I wanted to. My ISP has
a virus checker screening out all viruses before they reach me. I don't
know how this happened.
I am sending a copy of this email to tech support at my ISP.
Alvin Fisher
----- Original Message -----
From:
To:
Sent: Wednesday, November 20, 2002 11:57 PM
Subject: [Javascript] VIRUS IN YOUR MAIL
> V I R U S A L E R T
>
> Our viruschecker found the
>
> W32/Braid at MM
> W32/Braid at MM
>
> virus(es) in your email to the following recipient(s):
>
> -> javascript at localhost.LaTech.edu
>
> The message was not delivered to the recipient(s).
>
> Please check your system for viruses, or ask your system administrator
> to do so. Note that some viruses (notably Klez) will forge the sender
> address, resulting in false notifications. Check the "Received" headers
> below to see if the infected message originated from a system you use.
>
>
> For your reference, here are the headers from your email:
>
> ------------------------- BEGIN HEADERS -----------------------------
> Received: from smtp.LaTech.edu (unknown [211.23.84.93])
> by LaTech.edu (Postfix) with SMTP id 18D94308D4C
> for ; Wed, 20 Nov 2002 22:57:26 -0600 (CST)
> From: Alex
> DATE: Thu, 21 Nov 2002 12:58:44+0000
> X-Mailer: EBT Reporter v 2.x
> To: javascript at LaTech.edu
> subject: DIY GRUOP
> Mime-Version: 1.0
> Content-Type: multipart/related;
> type="multipart/alternative";
> boundary="====_ABC1234567890DEF_===="
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Unsent: 1
> Message-Id: <20021121045726.18D94308D4C at LaTech.edu>
> -------------------------- END HEADERS ------------------------------
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
From merchant at LATECH.EDU Fri Nov 22 11:23:26 2002
From: merchant at LATECH.EDU (David Merchant)
Date: Fri, 22 Nov 2002 11:23:26 -0600
Subject: [Javascript] VIRUS IN YOUR MAIL
In-Reply-To: <000e01c291c7$292e1300$2b108142@alvin>
References: <20021121045731.CE33B308D24@LaTech.edu>
Message-ID: <5.1.0.14.2.20021122112132.031f18b0@mail.latech.edu>
At 08:33 PM 11/21/2002 -0500, you wrote:
>I wouldn't know how to use or send a virus even if I wanted to. My ISP has
>a virus checker screening out all viruses before they reach me. I don't
>know how this happened.
With viruses nowadays, you don't even need the virus to be on your PC for
it to use your email address, some of them are very sneaky b*st*rds.
TTFN,
David
Director of Integrated Technology
CATALyST
Louisiana Tech University
Carson Taylor Hall, Rm. 129
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 hgap28 at yahoo.com Fri Nov 22 12:19:34 2002
From: hgap28 at yahoo.com (=?iso-8859-1?q?Hiparco=20Puccetti?=)
Date: Fri, 22 Nov 2002 15:19:34 -0300 (ART)
Subject: [Javascript] About Windows.focus
Message-ID: <20021122181934.51399.qmail@web40009.mail.yahoo.com>
Sorry if i'm disturbing you.
I read a posted message (from you) warning about the
changes in w2k and xp about the behaviour of the
windows.focus()
Do you know how can i configure windows to allow the
focus request to work when a windows.focus is called.
Thanks
Hiparco Puccetti
_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas f?ceis de usar, espa?o de sobra e acess?rios.
http://br.geocities.yahoo.com/
From eligare at KENGEN.co.ke Sat Nov 23 09:38:49 2002
From: eligare at KENGEN.co.ke (Evans Ligare)
Date: Sat, 23 Nov 2002 18:38:49 +0300
Subject: [Javascript] Need help in Hiding Controls inHTML
Message-ID:
Hi,
I have run into a similar problem you encountered. This is part of the
responses I have from the web about your search for the solution.
However, the site pointed to is not up. Please post me some guidelines
on how you solved the problem.
Thanks in advance,
Evans.
I got a examples who work cross browser this might help
Laurent -----
Original Message-----
From: Matthieu F=E9ron [mailto:mferon at adeuza.fr ]
Sent: 03 October 2001 14:11 To: javascript at LaTech.edu
Subject: Re: [Javascript] hiding form controls?
perhaps put the form in a layer and hide the layer ??
> howdystranger a =E9crit : >=20 > I'm having a problem writing a javascript
routine that will change
> the visibility property of a form control. I was thinking of giving
> the form control a certain style and then using a javascript funtion
> to change the visibility property of that style based on the
> parameter passed in.
>=20 >
I'm using hiermenus and I basically just want to hide drop down form
> controls when the menu appears.
>=20
> thanks for any help.. PJ
From bill.marriott at optusnet.com.au Sun Nov 24 03:45:25 2002
From: bill.marriott at optusnet.com.au (Bill Marriott)
Date: Sun, 24 Nov 2002 20:45:25 +1100
Subject: [Javascript] Re: controlling the backspace key
References:
Message-ID: <000701c2939e$380f5540$f3778ec6@DESKTOP>
Hi Everyone,
The following code traps the key stroke "backspace" in a web form so that
the user can't navigate back to the last page.
However I would like to engage the function only when the user is not in a
form element.
Does anyone know what code I should use?
Thanks
Bill Marriott
function mykeyhandler() {
if (window.event && window.event.keyCode == 8) { // try to cancel the
backspace
window.event.cancelBubble = true;
window.event.returnValue = false;
return false;
}
}
document.onkeydown = mykeyhandler;
From iztokp at amis.net Sun Nov 24 04:41:18 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Sun, 24 Nov 2002 11:41:18 +0100
Subject: [Javascript] print
Message-ID: <001301c293a6$065d0990$262512d4@BookFLASHER>
Hi!
How to remove the URL and number of pages from beeing printed???
Bye,
Iztok
From steve at extremewattage.co.uk Sun Nov 24 06:19:08 2002
From: steve at extremewattage.co.uk (Steve Vernon)
Date: Sun, 24 Nov 2002 12:19:08 -0000
Subject: [Javascript] print
References: <001301c293a6$065d0990$262512d4@BookFLASHER>
Message-ID: <006801c293b4$b5cc0bc0$fee887d9@extreme>
Hiya,
From my experience thats dependent on the browser not JavaScript.
In Internet Explorer choose file menu and then "Page Setup". Then fiddle
with the header and footer.
I could be wrong though!
Thanks,
Steve
XX
> Hi!
>
> How to remove the URL and number of pages from beeing printed???
>
>
> Bye,
>
> Iztok
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From iztokp at amis.net Sun Nov 24 13:17:15 2002
From: iztokp at amis.net (Iztok Polanic)
Date: Sun, 24 Nov 2002 20:17:15 +0100
Subject: [Javascript] print
References: <001301c293a6$065d0990$262512d4@BookFLASHER> <006801c293b4$b5cc0bc0$fee887d9@extreme>
Message-ID: <005801c293ee$19ac7fb0$313612d4@flasher>
Hi!
I knew about this, but I tought you could somehow change the footer&header.
Bye,
Iztok
----- Original Message -----
From: "Steve Vernon"
To:
Sent: Sunday, November 24, 2002 1:19 PM
Subject: Re: [Javascript] print
> Hiya,
> From my experience thats dependent on the browser not JavaScript.
>
> In Internet Explorer choose file menu and then "Page Setup". Then
fiddle
> with the header and footer.
>
> I could be wrong though!
>
> Thanks,
>
> Steve
> XX
>
> > Hi!
> >
> > How to remove the URL and number of pages from beeing printed???
> >
> >
> > Bye,
> >
> > Iztok
> > _______________________________________________
> > 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 steve at extremewattage.co.uk Sun Nov 24 15:04:58 2002
From: steve at extremewattage.co.uk (Steve Vernon)
Date: Sun, 24 Nov 2002 21:04:58 -0000
Subject: [Javascript] print
References: <001301c293a6$065d0990$262512d4@BookFLASHER> <006801c293b4$b5cc0bc0$fee887d9@extreme> <005801c293ee$19ac7fb0$313612d4@flasher>
Message-ID: <074901c293fd$fc16b230$fee887d9@extreme>
Well Ive just spent ages searching for it and it is possivle, even though I
dont like it. DOnt think web pages should be messing around with headers and
footers really.
Probably better to use PDF, but id look at this link in the email I found on
the net.
Thankjs,m
Steve
Date: Mon, 15 Jan 2001 07:37:50 -0800
From: "Jonathan A. Mcpherson" <[PRIVACY PROTECTION]>
Subject: Re: Customising Print option in an Internet Explorer
Geetha,
Customize it on your computer, or for everyone who prints your page?
Customizing it on your computer is fairly simple. Go to File, Page Setup and
edit the header and footer. Here's a list of the codes --
&p = Page number
&P = Total number of pages
&d = Date
&t = Time (a.m. and p.m.)
&T = Time (24-hour format)
&w = Window title
&u = URL (page address)
If you want to remove the header and footer for everyone who looks at your
page, it will be a little bit tougher. You will need an ActiveX component
called ScriptX to do that for you. Here's the link (no, I'm not associated
with Mead & Company):
http://www.meadroid.com/scriptx/
Hope this helps.
> Hi!
>
> I knew about this, but I tought you could somehow change the
footer&header.
>
> Bye,
>
> Iztok
> ----- Original Message -----
> From: "Steve Vernon"
> To:
> Sent: Sunday, November 24, 2002 1:19 PM
> Subject: Re: [Javascript] print
>
>
> > Hiya,
> > From my experience thats dependent on the browser not JavaScript.
> >
> > In Internet Explorer choose file menu and then "Page Setup". Then
> fiddle
> > with the header and footer.
> >
> > I could be wrong though!
> >
> > Thanks,
> >
> > Steve
> > XX
> >
> > > Hi!
> > >
> > > How to remove the URL and number of pages from beeing printed???
> > >
> > >
> > > Bye,
> > >
> > > Iztok
> > > _______________________________________________
> > > 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 LondonlanguagesB at eresmas.com Sun Nov 24 23:02:05 2002
From: LondonlanguagesB at eresmas.com (CLASES CON PROFESOR PRESENCIAL - SIN DESPLAZARSE- EN SU DOMICILIO O EMPRESA)
Date: Sun, 24 Nov 2002 23:02:05
Subject: [Javascript] APRENDA O MEJORE SUS IDIOMAS
Message-ID: <200211242158.gAOLwCAd087889@helius.latech.edu>
LONDON LANGUAGES
Informaci?n y reservas Tel.902180066 mail to:infor at londonlanguages.net
CLASES CON PROFESOR PRESENCIAL.
Nuestros profesores se desplazan a su oficina o domicilio particular.
Los cursos se dise?an con Ud. para cubrir sus necesidades en las ?reas profesionales y sociales que le interesan.
Clases exclusivamente personalizadas, eligiendo nuestro participante, particular o empresa, lugar, hora y duraci?n de las mismas. Pueden ser tanto en la oficina como en su domicilio.
PROGRAMA DE MANTENIMIENTO
Para los que dominan el idioma y necesitan un mantenimiento y correcciones
DIRIGIDO
A empresas y particulares, a aquellas personas que disponen de poco tiempo y desean una ense?anza personalizada, de alto rendimiento y Calidad.
OBJETIVOS
Adquirir desde el primer momento los h?bitos y conocimientos que pueda necesitar en su relaci?n empresarial o social,todo ello en un entorno de m?xima motivaci?n, haciendo que disfrute de las mejoras y progresos alcanzados
Algunos idiomas disponibles: Alem?n, Franc?s, Ingl?s Brit?nico y Americano, Italiano, Ruso, Castellano, Catal?n, Euskera
y Gallego. Otros a consultar.
GARANTIA
No cobramos matricula ni pagos a cuenta, a fin de mes le presentamos factura por las clases impartidas.
Con nuestro sistema esta demostrado que el ratio de aprendizaje es de 1/10 en comparaci?n con otros medios.
No informamos v?a e-mail, SOLO POR TELEFONO O FAX
Informaci?n y reservas Tel. 902180066 Fax 934319444 londonlanguages
SI LO DESEA, PUEDE PASAR ESTA INFORMACION AL RESPONSABLE DE RECURSOS HUMANOS
LA INVERSION EN IDIOMAS, ES UN ACTIVO TANTO PARA LA EMPRESA COMO PARA LOS EMPLEADOS
Bajas en la direcci?n:
Mail:londonlanguages3 at eresmas.com
al tel o al Fax indicando baja de ficheros
From LMuchacho at twii.net Mon Nov 25 04:38:07 2002
From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London))
Date: Mon, 25 Nov 2002 10:38:07 -0000
Subject: [Javascript] Need help in Hiding Controls inHTML
Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D226@lon.webmail.twii.net>
Hi
I built the example shown below but my sever is done at the moment I don't
have any server at the moment to host my page I just attach the file.
Laurent
-----Original Message-----
From: Evans Ligare [mailto:eligare at KENGEN.co.ke]
Sent: 23 November 2002 15:39
To: javascript at latech.edu
Subject: [Javascript] Need help in Hiding Controls inHTML
Hi,
I have run into a similar problem you encountered. This is part of the
responses I have from the web about your search for the solution.
However, the site pointed to is not up. Please post me some guidelines
on how you solved the problem.
Thanks in advance,
Evans.
I got a examples who work cross browser this might help
Laurent -----
Original Message-----
From: Matthieu F=E9ron [mailto:mferon at adeuza.fr ]
Sent: 03 October 2001 14:11 To: javascript at LaTech.edu
Subject: Re: [Javascript] hiding form controls?
perhaps put the form in a layer and hide the layer ??
> howdystranger a =E9crit : >=20 > I'm having a problem writing a javascript
routine that will change
> the visibility property of a form control. I was thinking of giving
> the form control a certain style and then using a javascript funtion
> to change the visibility property of that style based on the
> parameter passed in.
>=20 >
I'm using hiermenus and I basically just want to hide drop down form
> controls when the menu appears.
>=20
> thanks for any help.. PJ
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hideSelect.htm
Type: application/octet-stream
Size: 5874 bytes
Desc: not available
URL:
From patricia.calatayud at itv-denkendorf.de Mon Nov 25 08:27:53 2002
From: patricia.calatayud at itv-denkendorf.de (Patricia Calatayud)
Date: Mon, 25 Nov 2002 15:27:53 +0100
Subject: [Javascript] Javascript and PHP: Open a new window
Message-ID: <3DE24179.2751.17D26E0@localhost>
How can I open a new window from a php/html document and
get that the terms in the new window are generated dynamically by
php?
I have used the following, but it doesn?t work.
In Normal php document:
Obe
rbegriffe und Unterbegriffe |
Close |
T
oggle
In new window document:
Is there a good book about PHP, Javascipt and DHTML?
Thanks
From bader at tcbader.com Mon Nov 25 08:33:23 2002
From: bader at tcbader.com (Terry)
Date: Mon, 25 Nov 2002 09:33:23 -0500
Subject: [Javascript] Javascript and PHP: Open a new window
References: <3DE24179.2751.17D26E0@localhost>
Message-ID: <008a01c2948f$9c7f7c70$6401a8c0@roadrunner>
I am not a php developer but this has to do with session management... you need to lookup how php handles sessions.... this really wont be a JS dependent problem...
~ Terry
757 581-5981
AIM/Yahoo: lv2bounce
----- Original Message -----
From: "Patricia Calatayud"
To:
Sent: Monday, November 25, 2002 9:27 AM
Subject: [Javascript] Javascript and PHP: Open a new window
How can I open a new window from a php/html document and
get that the terms in the new window are generated dynamically by
php?
I have used the following, but it doesn?t work.
In Normal php document:
Obe
rbegriffe und Unterbegriffe |
Close |
T
oggle
In new window document:
Is there a good book about PHP, Javascipt and DHTML?
Thanks
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From balaji_1010 at yahoo.com Mon Nov 25 08:52:38 2002
From: balaji_1010 at yahoo.com (Venkata Balaji)
Date: Mon, 25 Nov 2002 14:52:38 +0000
Subject: [Javascript] about java script
Message-ID: <000801c29492$4d056350$3b3e5e9e@mdx.ac.uk>
Dear Sir,
I would like to know how to use design frame sets and how to use target attribute in anchor tag using java script.
thank you
balaji
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bader at tcbader.com Mon Nov 25 09:02:42 2002
From: bader at tcbader.com (Terry)
Date: Mon, 25 Nov 2002 10:02:42 -0500
Subject: [Javascript] about java script
References: <000801c29492$4d056350$3b3e5e9e@mdx.ac.uk>
Message-ID: <00bc01c29493$bdfca630$6401a8c0@roadrunner>
I am not sure what you are asking for.... what specifically are you trying to do...
~ Terry
757 581-5981
AIM/Yahoo: lv2bounce
----- Original Message -----
From: Venkata Balaji
To: javascript at LaTech.edu
Sent: Monday, November 25, 2002 9:52 AM
Subject: [Javascript] about java script
Dear Sir,
I would like to know how to use design frame sets and how to use target attribute in anchor tag using java script.
thank you
balaji
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bruno.lanciau at cnes.fr Mon Nov 25 09:57:55 2002
From: bruno.lanciau at cnes.fr (Felix)
Date: Mon, 25 Nov 2002 16:57:55 +0100
Subject: [Javascript] ftp question
Message-ID: <200211251554.gAPFshs05237@cnes.fr>
I develop Javascript on a IIS 4 server (asp page)
I want to open a session ftp to :
* verify a login and a password (authentification)
* get the result of a "dir" of a specific folder
* dump a file
I try to run a ftp command by a WScriptShell but the command never return.
I'm looking for another solution.
I did'nt find any free activeX component who do ftp command.
Someone could help me ?
Thanks a lot
A+
F?lix
bruno.lanciau at cnes.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From john at jwarner.com Mon Nov 25 10:07:27 2002
From: john at jwarner.com (John)
Date: Mon, 25 Nov 2002 11:07:27 -0500
Subject: [Javascript] ftp question
In-Reply-To: <200211251554.gAPFshs05237@cnes.fr>
Message-ID:
I'm not clear here, are you trying to get a file from another server or have
your server ready to serve up files?
John Warner
address: mailto:john at jwarner.com
-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Felix
Sent: Monday, November 25, 2002 10:58 AM
To: javascript at latech.edu
Subject: [Javascript] ftp question
I develop Javascript on a IIS 4 server (asp page)
I want to open a session ftp to :
* verify a login and a password (authentification)
* get the result of a "dir" of a specific folder
* dump a file
I try to run a ftp command by a WScriptShell but the command never return.
I'm looking for another solution.
I did'nt find any free activeX component who do ftp command.
Someone could help me ?
Thanks a lot
A+
F?lix
bruno.lanciau at cnes.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lshadoff at brazosport.cc.tx.us Mon Nov 25 10:37:06 2002
From: lshadoff at brazosport.cc.tx.us (Lewis Shadoff)
Date: Mon, 25 Nov 2002 10:37:06 -0600
Subject: [Javascript] Re: Javascript digest, Vol 1 #817 - 7 msgs
In-Reply-To: <20021125145701.22EFE308C96@LaTech.edu>
Message-ID: <5.1.1.6.0.20021125101915.0200e1d8@pop3.brazosport.cc.tx.us>
You can use the values stored in php variables in constructing a web
page. Suppose the following php variables have been defined and their
values assigned using php:
$contentURL, $windowName, $windowWidth, $windowHeight
You can construct the JavaScript window open statement inside the \n";
And here is how I am getting it:
print "\n";
-----Original Message-----
From: Terry [mailto:bader at tcbader.com]
Sent: Monday, November 25, 2002 12:59 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] ughh HELP WITH COOKIES PLEASE!!!!
Please show us how you are calling the function...
~ Terry
757 581-5981
AIM/Yahoo: lv2bounce
----- Original Message -----
From: Podlesny, Michael
To: 'javascript at LaTech.edu'
Sent: Monday, November 25, 2002 12:52 PM
Subject: [Javascript] ughh HELP WITH COOKIES PLEASE!!!!
ughh HELP WITH COOKIES PLEASE!!!!
The code below only saves my cookie for the page in which it is set. Does
anyone have any ideas as to why my cookie is deleted when I access the
another page on my sitter?
here is the code
function set_cookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
document.cookie = curCookie;
}
// name - name of the desired cookie
// * return string containing value of specified cookie or null if cookie
does not exist
function get_cookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else
begin += 2;
var end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length, end));
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From natalia at natuscape.com Mon Nov 25 14:07:46 2002
From: natalia at natuscape.com (Natalia Olive)
Date: Mon, 25 Nov 2002 15:07:46 -0500
Subject: [Javascript] Automatic drop-down population
Message-ID: <200211251507.AA3364880444@natuscape.com>
Hi all!
I'm a newbie, and to make things worse I'm working off FrontPage
2002, so bear with me... :)
I created a form to submit data into a database and I'm trying to
use JavaScript to automatically populate a drop-down box as a
function of the choice made in another drop-down box. I got a
great example code from javascript.internet.com (it's pasted at
the bottom of this message), but I can't get it to work together
with the rest of my form. In particular, when I use the "webbot"
features of FP to conduct field validation, it stops working and I
get an error message saying that "myChoices" is undefined
("myChoices" is the name of the form that the author of the
snippet used).
For it to work, the form where the drop-down boxes are needs to be
free of all the webbot validations. I know I can do validation
with JS so first off I'm in need of guidance to do that.
I also would welcome anyone willing to read over the snippet that
I got and show me the best way to get rid of the third box,
because I only need two. I tried just deleting it out of the form
and not modifying the code, but that didn't turn out ok...
apparently I need to touch the code up but I don't want to break
it!
Thanks for bearing with me and reading this up... and thanks for
any handy replies!!
Natalia
CODE SNIPPET:
________________________________________________________________
Sent via the KillerWebMail system at natuscape.com
From MPodlesny at acsisinc.com Mon Nov 25 14:13:57 2002
From: MPodlesny at acsisinc.com (Podlesny, Michael)
Date: Mon, 25 Nov 2002 15:13:57 -0500
Subject: [Javascript] Cookies with Perl?
Message-ID: <74DD80CFD52CD5119BB300902716F24EF30601@EXCHANGE.acsisinc.com>
I want to thank everyone for the help I received with my cookie question. I
was able to get it resolved. Here is my next dilemma, hopefully someone out
there knows the answer.
I am ablt retrieve my cookie data and now would like to take that value and
use it in Perl. How can I do that?
From bruno.lanciau at cnes.fr Tue Nov 26 02:55:22 2002
From: bruno.lanciau at cnes.fr (Felix)
Date: Tue, 26 Nov 2002 09:55:22 +0100
Subject: [Javascript] ftp question
References:
Message-ID: <200211260852.gAQ8q6B05924@cnes.fr>
I'd like to open a distant connection with another server throwing by login password using ASP techno
A+
F?lix
bruno.lanciau at cnes.fr
----- Original Message -----
From: John
To: javascript at latech.edu
Sent: Monday, November 25, 2002 5:07 PM
Subject: RE: [Javascript] ftp question
I'm not clear here, are you trying to get a file from another server or have your server ready to serve up files?
John Warner
address: mailto:john at jwarner.com
-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Felix
Sent: Monday, November 25, 2002 10:58 AM
To: javascript at latech.edu
Subject: [Javascript] ftp question
I develop Javascript on a IIS 4 server (asp page)
I want to open a session ftp to :
* verify a login and a password (authentification)
* get the result of a "dir" of a specific folder
* dump a file
I try to run a ftp command by a WScriptShell but the command never return.
I'm looking for another solution.
I did'nt find any free activeX component who do ftp command.
Someone could help me ?
Thanks a lot
A+
F?lix
bruno.lanciau at cnes.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Jamesjackson73 at aol.com Tue Nov 26 05:15:25 2002
From: Jamesjackson73 at aol.com (Jamesjackson73 at aol.com)
Date: Tue, 26 Nov 2002 06:15:25 -0500
Subject: [Javascript] Automatic Unique Form Numbering
Message-ID: <3EB2F992.0A434C4B.1430D74B@aol.com>
People
I have a form, but need to somehow generate an increasing UNIQUE number to be sent along with the form data. This could be whenever the form is loaded into the users browser or ideally when the user presses 'submit'. It would even be better if that number could become the 'subject' of the resulting email sent.
Hope someone knows how to help (Code even better).
Jim
From gassinaumasis at hotmail.com Tue Nov 26 05:26:41 2002
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Tue, 26 Nov 2002 11:26:41 +0000
Subject: [Javascript] Automatic Unique Form Numbering
Message-ID:
>I have a form, but need to somehow generate an increasing UNIQUE number to
>be sent along with the form data. This could be whenever the form is loaded
>into the users browser or ideally when the user presses 'submit'. It would
>even be better if that number could become the 'subject' of the resulting
>email sent.
>Hope someone knows how to help (Code even better).
Use the time in milliseconds. It's extremely unlikely that two users will
send in the form in exactly the same millisecond.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Interview by Carole Guevin:
http://netdiver.net/interviews/peterpaulkoch.php
--------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
From Jamesjackson73 at aol.com Tue Nov 26 06:34:26 2002
From: Jamesjackson73 at aol.com (Jamesjackson73 at aol.com)
Date: Tue, 26 Nov 2002 07:34:26 -0500
Subject: [Javascript] Automatic Unique Form Numbering
Message-ID: <7B56A9E3.4593B191.1430D74B@aol.com>
I've thought of that, but I not only want a Unique number generated I want an Incremental number 1 - 2 - 3 etc in order.
any ideas!
Jim
In a message dated 11/26/2002 6:26:41 AM Eastern Standard Time, gassinaumasis at hotmail.com writes:
> >I have a form, but need to somehow generate an increasing UNIQUE number to
> >be sent along with the form data. This could be whenever the form is loaded
> >into the users browser or ideally when the user presses 'submit'. It would
> >even be better if that number could become the 'subject' of the resulting
> >email sent.
> >Hope someone knows how to help (Code even better).
>
> Use the time in milliseconds. It's extremely unlikely that
> two users will
> send in the form in exactly the same millisecond.
From javascript at theblades-family.com Tue Nov 26 07:30:31 2002
From: javascript at theblades-family.com (Cutter (javascript list))
Date: Tue, 26 Nov 2002 08:30:31 -0500
Subject: [Javascript] Re: ftp question
In-Reply-To: <200211260852.gAQ8q6B05924@cnes.fr>
References:
<200211260852.gAQ8q6B05924@cnes.fr>
Message-ID: <20021126133032.97906.qmail@vpop.dmv.com>
A good place to start would be a list that deals with ASP;)...
Cutter
Felix writes:
> I'd like to open a distant connection with another server throwing by login password using ASP techno
> A+
>
> F?lix
> bruno.lanciau at cnes.fr
>
> ----- Original Message -----
> From: John
> To: javascript at latech.edu
> Sent: Monday, November 25, 2002 5:07 PM
> Subject: RE: [Javascript] ftp question
>
>
> I'm not clear here, are you trying to get a file from another server or have your server ready to serve up files?
>
> John Warner
> address: mailto:john at jwarner.com
>
> -----Original Message-----
> From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Felix
> Sent: Monday, November 25, 2002 10:58 AM
> To: javascript at latech.edu
> Subject: [Javascript] ftp question
>
>
> I develop Javascript on a IIS 4 server (asp page)
> I want to open a session ftp to :
> * verify a login and a password (authentification)
> * get the result of a "dir" of a specific folder
> * dump a file
>
> I try to run a ftp command by a WScriptShell but the command never return.
> I'm looking for another solution.
> I did'nt find any free activeX component who do ftp command.
> Someone could help me ?
>
> Thanks a lot
>
> A+
>
> F?lix
> bruno.lanciau at cnes.fr
>
From javascript at theblades-family.com Tue Nov 26 07:46:58 2002
From: javascript at theblades-family.com (Cutter (javascript list))
Date: Tue, 26 Nov 2002 08:46:58 -0500
Subject: [Javascript] Re: Automatic Unique Form Numbering
In-Reply-To: <7B56A9E3.4593B191.1430D74B@aol.com>
References: <7B56A9E3.4593B191.1430D74B@aol.com>
Message-ID: <20021126134659.9223.qmail@vpop.dmv.com>
I would think that, in this case (using js), you're SOL. To do an
incremental number like you're asking for would require a server-side
variable so that the server keeps track of the "unique" number and
increments it. If you're processing your form through a SQL server then
using an autoincrement id field would handle this for you...
Cutter
Jamesjackson73 at aol.com writes:
> I've thought of that, but I not only want a Unique number generated I want an Incremental number 1 - 2 - 3 etc in order.
> any ideas!
> Jim
>
> In a message dated 11/26/2002 6:26:41 AM Eastern Standard Time, gassinaumasis at hotmail.com writes:
>
>> >I have a form, but need to somehow generate an increasing UNIQUE number to
>> >be sent along with the form data. This could be whenever the form is loaded
>> >into the users browser or ideally when the user presses 'submit'. It would
>> >even be better if that number could become the 'subject' of the resulting
>> >email sent.
>> >Hope someone knows how to help (Code even better).
>>
>> Use the time in milliseconds. It's extremely unlikely that
>> two users will
>> send in the form in exactly the same millisecond.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From bader at tcbader.com Tue Nov 26 08:12:04 2002
From: bader at tcbader.com (Terry)
Date: Tue, 26 Nov 2002 09:12:04 -0500
Subject: [Javascript] Re: ftp question
References: <200211260852.gAQ8q6B05924@cnes.fr> <20021126133032.97906.qmail@vpop.dmv.com>
Message-ID: <001a01c29555$d14fec70$6401a8c0@roadrunner>
yes, because that is going to be programmed in ASP, not JS...
I am not a serious ASP programmer and cannot help, but doing a Google search I found this...
http://www.aspin.com/home/components/internet/ftp
check it out and see if one of those will help you....
~ Terry
757 581-5981
AIM/Yahoo: lv2bounce
----- Original Message -----
From: "Cutter (javascript list)"
To:
Sent: Tuesday, November 26, 2002 8:30 AM
Subject: [Javascript] Re: ftp question
> A good place to start would be a list that deals with ASP;)...
>
> Cutter
>
> Felix writes:
>
> > I'd like to open a distant connection with another server throwing by login password using ASP techno
> > A+
> >
> > F?lix
> > bruno.lanciau at cnes.fr
> >
> > ----- Original Message -----
> > From: John
> > To: javascript at latech.edu
> > Sent: Monday, November 25, 2002 5:07 PM
> > Subject: RE: [Javascript] ftp question
> >
> >
> > I'm not clear here, are you trying to get a file from another server or have your server ready to serve up files?
> >
> > John Warner
> > address: mailto:john at jwarner.com
> >
> > -----Original Message-----
> > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Felix
> > Sent: Monday, November 25, 2002 10:58 AM
> > To: javascript at latech.edu
> > Subject: [Javascript] ftp question
> >
> >
> > I develop Javascript on a IIS 4 server (asp page)
> > I want to open a session ftp to :
> > * verify a login and a password (authentification)
> > * get the result of a "dir" of a specific folder
> > * dump a file
> >
> > I try to run a ftp command by a WScriptShell but the command never return.
> > I'm looking for another solution.
> > I did'nt find any free activeX component who do ftp command.
> > Someone could help me ?
> >
> > Thanks a lot
> >
> > A+
> >
> > F?lix
> > bruno.lanciau at cnes.fr
> >
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bader at tcbader.com Tue Nov 26 08:14:07 2002
From: bader at tcbader.com (Terry)
Date: Tue, 26 Nov 2002 09:14:07 -0500
Subject: [Javascript] Re: Automatic Unique Form Numbering
References: <7B56A9E3.4593B191.1430D74B@aol.com> <20021126134659.9223.qmail@vpop.dmv.com>
Message-ID: <002901c29556$1c37cbe0$6401a8c0@roadrunner>
Tell us what are you doing, what language you are using, is this db driven, etc....
~ Terry
757 581-5981
AIM/Yahoo: lv2bounce
----- Original Message -----
From: "Cutter (javascript list)"
To:
Sent: Tuesday, November 26, 2002 8:46 AM
Subject: [Javascript] Re: Automatic Unique Form Numbering
> I would think that, in this case (using js), you're SOL. To do an
> incremental number like you're asking for would require a server-side
> variable so that the server keeps track of the "unique" number and
> increments it. If you're processing your form through a SQL server then
> using an autoincrement id field would handle this for you...
>
> Cutter
>
> Jamesjackson73 at aol.com writes:
>
> > I've thought of that, but I not only want a Unique number generated I want an Incremental number 1 - 2 - 3 etc in order.
> > any ideas!
> > Jim
> >
> > In a message dated 11/26/2002 6:26:41 AM Eastern Standard Time, gassinaumasis at hotmail.com writes:
> >
> >> >I have a form, but need to somehow generate an increasing UNIQUE number to
> >> >be sent along with the form data. This could be whenever the form is loaded
> >> >into the users browser or ideally when the user presses 'submit'. It would
> >> >even be better if that number could become the 'subject' of the resulting
> >> >email sent.
> >> >Hope someone knows how to help (Code even better).
> >>
> >> Use the time in milliseconds. It's extremely unlikely that
> >> two users will
> >> send in the form in exactly the same millisecond.
> > _______________________________________________
> > 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 bruno.lanciau at cnes.fr Tue Nov 26 08:56:46 2002
From: bruno.lanciau at cnes.fr (Felix)
Date: Tue, 26 Nov 2002 15:56:46 +0100
Subject: [Javascript] Re: ftp question
References: <200211260852.gAQ8q6B05924@cnes.fr> <20021126133032.97906.qmail@vpop.dmv.com> <001a01c29555$d14fec70$6401a8c0@roadrunner>
Message-ID: <200211261453.gAQErTs17030@cnes.fr>
Thank U, I found my answer :))
A+
F?lix
bruno.lanciau at cnes.fr
----- Original Message -----
From: Terry
To: javascript at latech.edu
Sent: Tuesday, November 26, 2002 3:12 PM
Subject: Re: [Javascript] Re: ftp question
yes, because that is going to be programmed in ASP, not JS...
I am not a serious ASP programmer and cannot help, but doing a Google search I found this...
http://www.aspin.com/home/components/internet/ftp
check it out and see if one of those will help you....
~ Terry
757 581-5981
AIM/Yahoo: lv2bounce
----- Original Message -----
From: "Cutter (javascript list)"
To:
Sent: Tuesday, November 26, 2002 8:30 AM
Subject: [Javascript] Re: ftp question
> A good place to start would be a list that deals with ASP;)...
>
> Cutter
>
> Felix writes:
>
> > I'd like to open a distant connection with another server throwing by login password using ASP techno
> > A+
> >
> > F?lix
> > bruno.lanciau at cnes.fr
> >
> > ----- Original Message -----
> > From: John
> > To: javascript at latech.edu
> > Sent: Monday, November 25, 2002 5:07 PM
> > Subject: RE: [Javascript] ftp question
> >
> >
> > I'm not clear here, are you trying to get a file from another server or have your server ready to serve up files?
> >
> > John Warner
> > address: mailto:john at jwarner.com
> >
> > -----Original Message-----
> > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Felix
> > Sent: Monday, November 25, 2002 10:58 AM
> > To: javascript at latech.edu
> > Subject: [Javascript] ftp question
> >
> >
> > I develop Javascript on a IIS 4 server (asp page)
> > I want to open a session ftp to :
> > * verify a login and a password (authentification)
> > * get the result of a "dir" of a specific folder
> > * dump a file
> >
> > I try to run a ftp command by a WScriptShell but the command never return.
> > I'm looking for another solution.
> > I did'nt find any free activeX component who do ftp command.
> > Someone could help me ?
> >
> > Thanks a lot
> >
> > A+
> >
> > F?lix
> > bruno.lanciau at cnes.fr
> >
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From gassinaumasis at hotmail.com Tue Nov 26 09:15:52 2002
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Tue, 26 Nov 2002 15:15:52 +0000
Subject: [Javascript] Automatic Unique Form Numbering
Message-ID:
>I've thought of that, but I not only want a Unique number generated I want
>an Incremental number 1 - 2 - 3 etc in order.
>any ideas!
Then you must generate it server side and write it into a hidden field.
> > Use the time in milliseconds. It's extremely unlikely that
> > two users will
> > send in the form in exactly the same millisecond.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Interview by Carole Guevin:
http://netdiver.net/interviews/peterpaulkoch.php
--------------------------------------------------
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
From aceballos at joal.net Tue Nov 26 09:26:45 2002
From: aceballos at joal.net (J. Alejandro Ceballos Z.)
Date: Tue, 26 Nov 2002 09:26:45 -0600
Subject: [Javascript] Re: ughh HELP WITH COOKIES PLEASE!!!!
References: <20021125180101.EBAB3308B74@LaTech.edu>
Message-ID: <3DE392B5.20702@joal.net>
>
>
> The code below only saves my cookie for the page in which it is set. =
>Does anyone have any ideas as to why my cookie is deleted when I access =
>the another page on my sitter?
>
>
>
How are you calling them?
Are the pages under the same domain and directory?
If you change the page and return to the original one, the cookie
already exist? -time-
Maybe if you send us how are you call and set them in your code, it
would be easier
From natalia at natuscape.com Tue Nov 26 09:30:45 2002
From: natalia at natuscape.com (Natalia Olive)
Date: Tue, 26 Nov 2002 10:30:45 -0500
Subject: [Javascript] Automatic Unique Form Numbering
Message-ID: <200211261030.AA3297640750@natuscape.com>
Hi James,
I have done a similar thing using very "primitive" tools which did
not include JS. I created a form that generates an incremental
number (to identify the document) using ASP code combined with an
MS Access database in which I'd created a query. Basically I tell
the query to look for the highest number in that field, then add 1
to that number and use that new number in the form. If you want to
see a messy example with lots of FrontPage 2002 unsolicited code
in the middle, let me know and I'll post it.
Hope this helps!
Natalia
---------- Original Message ----------------------------------
From: Jamesjackson73 at aol.com
Reply-To: javascript at LaTech.edu
Date: Tue, 26 Nov 2002 06:15:25 -0500
>People
>I have a form, but need to somehow generate an increasing UNIQUE
number to be sent along with the form data. This could be whenever
the form is loaded into the users browser or ideally when the user
presses 'submit'. It would even be better if that number could
become the 'subject' of the resulting email sent.
>Hope someone knows how to help (Code even better).
>Jim
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
________________________________________________________________
Sent via the KillerWebMail system at natuscape.com
From cgirish at pal-it.com Wed Nov 27 07:43:47 2002
From: cgirish at pal-it.com (Girish Chawla)
Date: Wed, 27 Nov 2002 08:43:47 -0500
Subject: [Javascript] global variables in frames
Message-ID: <001c01c2961b$02f3a300$8303a8c0@phnixv01.pa.comcast.net>
Hi,
I have a window with 3 frames.
I want to access a global variable "xyz" from all the
frame and I want to change the value from any frame.
How do I define this variable?
thanks in advance..
G
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From gassinaumasis at hotmail.com Wed Nov 27 07:46:10 2002
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Wed, 27 Nov 2002 13:46:10 +0000
Subject: [Javascript] global variables in frames
Message-ID:
>I have a window with 3 frames.
>I want to access a global variable "xyz" from all the
>frame and I want to change the value from any frame.
>
>How do I define this variable?
Define it in the frameset page:
and from each frame call top.xyz:
alert(top.xyz) // gives '123'
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Interview by Carole Guevin:
http://netdiver.net/interviews/peterpaulkoch.php
--------------------------------------------------
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
From LMuchacho at twii.net Wed Nov 27 07:55:21 2002
From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London))
Date: Wed, 27 Nov 2002 13:55:21 -0000
Subject: [Javascript] global variables in frames
Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D247@TWIILONMAIL1>
Hi
You will define the variable the same way you declare an other variable
var myVariable = 'myValue';
To access it will need to references the frame where you did declare the
variable
you said you have 3 frames named(examples) frame1, frame2, frame3
let say you declare the variable in frame1
if you want to access the variable in the frame one you do :
document.frame1.myVariable
if you are in a other frame you do exactly the same
document.frame1.myVariable
and this will give you the value of the variable if you want to change it
you do : document.frame1.myVariable = 'newValue';
hope this help?
Laurent
-----Original Message-----
From: Girish Chawla [mailto:cgirish at pal-it.com]
Sent: 27 November 2002 13:44
To: javascript at LaTech.edu
Subject: [Javascript] global variables in frames
Hi,
I have a window with 3 frames.
I want to access a global variable "xyz" from all the
frame and I want to change the value from any frame.
How do I define this variable?
thanks in advance..
G
DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From subrata_m2001 at yahoo.com Wed Nov 27 08:49:35 2002
From: subrata_m2001 at yahoo.com (Subrata Mondal)
Date: Wed, 27 Nov 2002 06:49:35 -0800 (PST)
Subject: [Javascript] Removing Header and footer info when printing
In-Reply-To: <76A6F0FCCA27D4119DEF00805F5700AC03C5D247@TWIILONMAIL1>
Message-ID: <20021127144935.19400.qmail@web40509.mail.yahoo.com>
Sorry people if this si a repost but my search did not
get me anywhere - hence thsi post.
Can someone tell me how to remove the header and
footer when I am printing - I want this dynamically (
thru a code) and not thru the page set up menu.
The answer is out there.
TIA
Subrata
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
From bader at tcbader.com Wed Nov 27 09:08:49 2002
From: bader at tcbader.com (Terry Bader)
Date: Wed, 27 Nov 2002 08:08:49 -0700
Subject: [Javascript] Removing Header and footer info when printing
Message-ID: <200211270808.AA259391722@tcbader.com>
because there really is no answer using straight JS, some say there is an activeX control but i have seen one that works...
~Terry
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: Subrata Mondal
Reply-To: javascript at LaTech.edu
Date: Wed, 27 Nov 2002 06:49:35 -0800 (PST)
>Sorry people if this si a repost but my search did not
>get me anywhere - hence thsi post.
>Can someone tell me how to remove the header and
>footer when I am printing - I want this dynamically (
>thru a code) and not thru the page set up menu.
>
>The answer is out there.
>
>TIA
>Subrata
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
From costea.dan at ssi-schaefer.ro Thu Nov 28 02:25:37 2002
From: costea.dan at ssi-schaefer.ro (Dan Costea)
Date: Thu, 28 Nov 2002 10:25:37 +0200
Subject: [Javascript] global variables in frames
References: <001c01c2961b$02f3a300$8303a8c0@phnixv01.pa.comcast.net>
Message-ID: <00cf01c296b7$baffe7f0$7cdea8c0@PCCostea>
when you define a variable, define it as top object variable:
top.myVar = 0; // DON'T with "var" keyword
to access it from any frame, just use: top.myVar
----- Original Message -----
From: Girish Chawla
To: javascript at LaTech.edu
Sent: Wednesday, November 27, 2002 3:43 PM
Subject: [Javascript] global variables in frames
Hi,
I have a window with 3 frames.
I want to access a global variable "xyz" from all the
frame and I want to change the value from any frame.
How do I define this variable?
thanks in advance..
G
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From alfwro at wp.pl Thu Nov 28 13:59:12 2002
From: alfwro at wp.pl (aw)
Date: Thu, 28 Nov 2002 20:59:12 +0100
Subject: [Javascript] Java and Flash anim
Message-ID: <3DE683A0.12602.86796@localhost>
Hello,
I looking for solution some problem that is: I run Flash animation:
and whe it reach the end I want it to disappear and in this place I want to
display some text. Any ideas?
Thank U in advance
Andrzej
From bader at tcbader.com Thu Nov 28 15:11:29 2002
From: bader at tcbader.com (Terry Bader)
Date: Thu, 28 Nov 2002 14:11:29 -0700
Subject: [Javascript] Java and Flash anim
Message-ID: <200211281411.AA552599712@tcbader.com>
I am a novice flash user but i have some ideas on what i would look at...
1) use flash to display the text...
2) i think flash can do something similiar to location='', so check out the flash books for that...
******
ok, i went to Google and did a quick search, here is a link that answers our question and this can be done in flash...
http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_20178517.html
~Terry
Terry Bader
(757)581-5981
bader at tcbader.com
---------- Original Message ----------------------------------
From: "aw"
Reply-To: javascript at LaTech.edu
Date: Thu, 28 Nov 2002 20:59:12 +0100
>Hello,
>
>I looking for solution some problem that is: I run Flash animation:
>
>
>
>and whe it reach the end I want it to disappear and in this place I want to
>display some text. Any ideas?
>
>Thank U in advance
>Andrzej
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
From bruno.lanciau at cnes.fr Fri Nov 29 04:17:38 2002
From: bruno.lanciau at cnes.fr (Felix)
Date: Fri, 29 Nov 2002 11:17:38 +0100
Subject: [Javascript] Java and Flash anim
References: <3DE683A0.12602.86796@localhost>
Message-ID: <200211291014.gATAEaB21249@cnes.fr>
on the last image of your last scene of your .fla file you may add an action
like this:
getURL ("http://fileWithTheMessageIWantAsSoonAsMyFlashEnds.htm");
A+
F?lix
bruno.lanciau at cnes.fr
----- Original Message -----
From: aw
To: javascript at latech.edu
Sent: Thursday, November 28, 2002 8:59 PM
Subject: [Javascript] Java and Flash anim
Hello,
I looking for solution some problem that is: I run Flash animation:
and whe it reach the end I want it to disappear and in this place I want to
display some text. Any ideas?
Thank U in advance
Andrzej
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From javascript at theblades-family.com Fri Nov 29 08:14:46 2002
From: javascript at theblades-family.com (Cutter (javascript list))
Date: Fri, 29 Nov 2002 09:14:46 -0500
Subject: [Javascript] Re: Automatic drop-down population
In-Reply-To: <200211251507.AA3364880444@natuscape.com>
References: <200211251507.AA3364880444@natuscape.com>
Message-ID: <20021129141446.7135.qmail@vpop.dmv.com>
Natalia,
The "webbot" form validation functions of FP are awful, and don't work well
with other custom scripts. I would look at other form validation scripts,
and use your own instead of the FP fv. I think you'll get much better
results. I know that WYSIWYG editors like FP and Dreamweaver can greatly
assist one in development, especially if you are a very visual oriented
individual, but nothing beats a good old fashioned text editor is web
development. FP throws so much bloated code in their pages that it actually
hinders good development. My two cents.
Cutter
Natalia Olive writes:
> Hi all!
>
> I'm a newbie, and to make things worse I'm working off FrontPage
> 2002, so bear with me... :)
>
> I created a form to submit data into a database and I'm trying to
> use JavaScript to automatically populate a drop-down box as a
> function of the choice made in another drop-down box. I got a
> great example code from javascript.internet.com (it's pasted at
> the bottom of this message), but I can't get it to work together
> with the rest of my form. In particular, when I use the "webbot"
> features of FP to conduct field validation, it stops working and I
> get an error message saying that "myChoices" is undefined
> ("myChoices" is the name of the form that the author of the
> snippet used).
>
> For it to work, the form where the drop-down boxes are needs to be
> free of all the webbot validations. I know I can do validation
> with JS so first off I'm in need of guidance to do that.
>
> I also would welcome anyone willing to read over the snippet that
> I got and show me the best way to get rid of the third box,
> because I only need two. I tried just deleting it out of the form
> and not modifying the code, but that didn't turn out ok...
> apparently I need to touch the code up but I don't want to break
> it!
>
> Thanks for bearing with me and reading this up... and thanks for
> any handy replies!!
>
> Natalia
>
> CODE SNIPPET:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ________________________________________________________________
> Sent via the KillerWebMail system at natuscape.com
>
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
From d_noha at yahoo.com Fri Nov 29 19:59:45 2002
From: d_noha at yahoo.com (Noha Dawood)
Date: Fri, 29 Nov 2002 17:59:45 -0800 (PST)
Subject: [Javascript] Full Screen
Message-ID: <20021130015945.20462.qmail@web40709.mail.yahoo.com>
Hi ALL,
I wanna an HTML page be in Full Screen first time it's
loaded. I don't wanna it be another Pop Up window
beside the original Page. I wanna the page itself be
Full Screen
Thanks in advance
Noha
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
From sachinz at dpsl.net Fri Nov 29 22:25:29 2002
From: sachinz at dpsl.net (Sachin Zingade)
Date: Sat, 30 Nov 2002 09:55:29 +0530
Subject: [Javascript] Full Screen
In-Reply-To: <20021130015945.20462.qmail@web40709.mail.yahoo.com>
Message-ID:
Hi
use this, this will open the browser in full screen mode.
window.open(url, 'reader', "height="+window.screen.availHeight+",
width="+(window.screen.availWidth-2)+", top=0, left=0, toolbar=no,
status=no, scrollbars=no, location=no, menubar=no, directories=no,
resizable=no, fullscreen=yes, titlebar=no");
self.focus();
Regards
Sachin Zingade
-----Original Message-----
From: javascript-admin at LaTech.edu [ mailto:javascript-admin at LaTech.edu
]On
Behalf Of Noha Dawood
Sent: Saturday, November 30, 2002 7:30 AM
To: javascript at LaTech.edu
Subject: [Javascript] Full Screen
Hi ALL,
I wanna an HTML page be in Full Screen first time it's
loaded. I don't wanna it be another Pop Up window
beside the original Page. I wanna the page itself be
Full Screen
Thanks in advance
Noha
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: