[Javascript] Javascript digest, Vol 1 #462 - 5 msgs

sandra_tibbs at abicon.com sandra_tibbs at abicon.com
Tue Dec 17 11:40:46 CST 2002


(Embedded image moved to file: pic14798.jpg)
Send Javascript mailing list submissions to
      javascript at LaTech.edu

To subscribe or unsubscribe via the World Wide Web, visit
      http://www.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
      javascript-request at LaTech.edu

You can reach the person managing the list at
      javascript-admin at LaTech.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."


Today's Topics:

   1. Re: How can i create new <OPTION> elements of a visible <SELECT> el
(Bill Marriott)
   2. I have some problem with window.close() (Komwit Siritorn)
   3. =?UTF-8?B?UkU6IFtKYXZhc2NyaXB0XSBJIGhhdmUgc29tZSBwcm9ibGVtIHdp?=
       =?UTF-8?B?dGggd2luZG93LmNsb3NlKCk=?=
(=?UTF-8?B?RkVST04gTWF0dGhpZXU=?=)
   4. no title on modal dialogs (Dan Costea)

--__--__--

Message: 1
From: "Bill Marriott" <bill.marriott at optusnet.com.au>
To: <javascript at LaTech.edu>
Subject: Re: [Javascript] How can i create new <OPTION> elements of a
visible <SELECT> el
Date: Thu, 22 Nov 2001 06:51:23 +1100
Reply-To: javascript at LaTech.edu

Here is some code that may give you some ideas.
I use it to dynamically change the options in one select depending on the
choice (filter) of the other select.
the options for the select that changes are all stored in an array. ( 3
part
array , value, text and filter)
I call the function from the onchange event of the first select.

var filter = 0 ;
function setSelOptions()
{

 var sel1Obj = document.getElementById("firstselect");
 filter=sel1Obj.value;
 var sel2Obj = document.getElementById("secondselect");


 sel2Obj.options.length = 0;          //// clear out all the existing
options
 var i;
  for (i = 0; i < selArray.length; i++)
    {
        if (filter == selArray[i][2])


           var pOption=document.createElement("OPTION");
           pOption.value=selArray[i][0];
           pOption.text=selArray[i][1];
           sel2Obj.options.add(pOption);
          }
    }
}

good luck with the invisible part

Bill


--__--__--

Message: 2
Date: Thu, 22 Nov 2001 09:29:13 +0700
From: "Komwit Siritorn" <komwits at betagro.com>
To: <javascript at LaTech.edu>
Subject: [Javascript] I have some problem with window.close()
Reply-To: javascript at LaTech.edu

I have an asp script that shows the user how far along a file upload is.
When it finishes, I would like the window to close automatically --
without the user having to push a button or link saying "close this
window". Basically it would be something like this: tell browser: run
this asp till finished on finish run this javascript to close window.=20


How I do it without close confirm? please help me .
                         Thanks

--__--__--

Message: 3
From: =?UTF-8?B?RkVST04gTWF0dGhpZXU=?= <FERONMA at cic-i.com>
To: =?UTF-8?B?J2phdmFzY3JpcHRATGFUZWNoLmVkdSc=?= <javascript at LaTech.edu>
Date: Thu, 22 Nov 2001 07:55:03 +0100
Subject: [Javascript]
=?UTF-8?B?UkU6IFtKYXZhc2NyaXB0XSBJIGhhdmUgc29tZSBwcm9ibGVtIHdp?=
 =?UTF-8?B?dGggd2luZG93LmNsb3NlKCk=?=
Reply-To: javascript at LaTech.edu

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C17322.20486142
Content-Type: text/plain;
      charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

make your asp source
<%
bla bla bla bla
%>
then html source
<html>
<head>
<script language=3D"Javascript">
window.close();
</script>
</head>
<body>
</body>
</html>

when the asp ( which is server side ) will finish, it'll send the html
source to the client.
so the javascript will execute and close the window.

-----Message d'origine-----
De=C2=A0: Komwit Siritorn [mailto:komwits at betagro.com]
Envoy=C3=A9=C2=A0: jeudi 22 novembre 2001 03:29
=C3=80=C2=A0: javascript at LaTech.edu
Objet=C2=A0: [Javascript] I have some problem with window.close()


I have an asp script that shows the user how far along a file upload =
is.
When it finishes, I would like the window to close automatically --
without the user having to push a button or link saying "close this
window". Basically it would be something like this: tell browser: run
this asp till finished on finish run this javascript to close window.=20


How I do it without close confirm? please help me .
                         Thanks
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript

------_=_NextPart_001_01C17322.20486142
Content-Type: text/html;
      charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUTF-8">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [Javascript] I have some problem with window.close()</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>make your asp source</FONT>
<BR><FONT SIZE=3D2>&lt;%</FONT>
<BR><FONT SIZE=3D2>bla bla bla bla</FONT>
<BR><FONT SIZE=3D2>%&gt;</FONT>
<BR><FONT SIZE=3D2>then html source</FONT>
<BR><FONT SIZE=3D2>&lt;html&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;head&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;script =
language=3D&quot;Javascript&quot;&gt;</FONT>
<BR><FONT SIZE=3D2>window.close();</FONT>
<BR><FONT SIZE=3D2>&lt;/script&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/head&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;body&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/body&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;/html&gt;</FONT>
</P>

<P><FONT SIZE=3D2>when the asp ( which is server side ) will finish, =
it'll send the html source to the client.</FONT>
<BR><FONT SIZE=3D2>so the javascript will execute and close the =
window.</FONT>
</P>

<P><FONT SIZE=3D2>-----Message d'origine-----</FONT>
<BR><FONT SIZE=3D2>De=C2=A0: Komwit Siritorn [<A =
HREF=3D"mailto:komwits at betagro.com">mailto:komwits at betagro.com</A>]</FON=
T>
<BR><FONT SIZE=3D2>Envoy=C3=A9=C2=A0: jeudi 22 novembre 2001 =
03:29</FONT>
<BR><FONT SIZE=3D2>=C3=80=C2=A0: javascript at LaTech.edu</FONT>
<BR><FONT SIZE=3D2>Objet=C2=A0: [Javascript] I have some problem with =
window.close()</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I have an asp script that shows the user how far =
along a file upload is.</FONT>
<BR><FONT SIZE=3D2>When it finishes, I would like the window to close =
automatically --</FONT>
<BR><FONT SIZE=3D2>without the user having to push a button or link =
saying &quot;close this</FONT>
<BR><FONT SIZE=3D2>window&quot;. Basically it would be something like =
this: tell browser: run</FONT>
<BR><FONT SIZE=3D2>this asp till finished on finish run this javascript =
to close window. </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>How I do it without close confirm? please help me =
.</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; Thanks</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Javascript mailing list</FONT>
<BR><FONT SIZE=3D2>Javascript at LaTech.edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.LaTech.edu/mailman/listinfo/javascript" =
TARGET=3D"_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A><=
/FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C17322.20486142--

--__--__--

Message: 4
From: "Dan Costea" <costea at ssi-schaefer-noell.com>
To: <javascript at LaTech.edu>
Subject: [Javascript] no title on modal dialogs
Date: Thu, 22 Nov 2001 15:15:38 -0800
Reply-To: javascript at LaTech.edu

Hi,

I open modal dialogs like this:

window.showModalDialog ("/html/modalCalendar.html",arrParams,"dialogHeight:
px; dialogWidth: px; dialogTop: px; dialogLeft: px; center: Yes; help: No;
resizable: No; status: No; edge: Raised;");

the html I open has nothing title tag (<title></title>); the modal dialog
title is: "-- Web Page Dialog".  How can I not displaying this? (to have no
title at all).



--__--__--

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript


End of Javascript Digest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic14798.jpg
Type: image/jpeg
Size: 1868 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021217/caaedc43/attachment.jpg>


More information about the Javascript mailing list