Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
  • Subject: [Javascript] Javascript digest, Vol 1 #462 - 5 msgs
  • Date: Tue, 17 Dec 2002 11:40:46 -0600

--0__=0ABBE19FDFF05E5A8f9e8a93df938690918c0ABBE19FDFF05E5A
Content-type: text/plain; charset=US-ASCII

(Embedded image moved to file: pic14798.jpg)
Send Javascript mailing list submissions to
      javascript@xxxxxxxxxx

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@xxxxxxxxxx

You can reach the person managing the list at
      javascript-admin@xxxxxxxxxx

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@xxxxxxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
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@xxxxxxxxxx

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@xxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Subject: [Javascript] I have some problem with window.close()
Reply-To: javascript@xxxxxxxxxx

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@xxxxxxxxx>
To: =?UTF-8?B?J2phdmFzY3JpcHRATGFUZWNoLmVkdSc=?= <javascript@xxxxxxxxxx>
Date: Thu, 22 Nov 2001 07:55:03 +0100
Subject: [Javascript]
=?UTF-8?B?UkU6IFtKYXZhc2NyaXB0XSBJIGhhdmUgc29tZSBwcm9ibGVtIHdp?=
 =?UTF-8?B?dGggd2luZG93LmNsb3NlKCk=?=
Reply-To: javascript@xxxxxxxxxx

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@xxxxxxxxxxx]
Envoy=C3=A9=C2=A0: jeudi 22 novembre 2001 03:29
=C3=80=C2=A0: javascript@xxxxxxxxxx
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@xxxxxxxxxx
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@xxxxxxxxxxx";>mailto:komwits@xxxxxxxxxxx</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@xxxxxxxxxx</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@xxxxxxxxxx</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@xxxxxxxxxxxxxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Subject: [Javascript] no title on modal dialogs
Date: Thu, 22 Nov 2001 15:15:38 -0800
Reply-To: javascript@xxxxxxxxxx

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@xxxxxxxxxx
http://www.LaTech.edu/mailman/listinfo/javascript


End of Javascript Digest
--0__=0ABBE19FDFF05E5A8f9e8a93df938690918c0ABBE19FDFF05E5A
Content-type: image/jpeg; 
	name="pic14798.jpg"
Content-Disposition: attachment; filename="pic14798.jpg"
Content-transfer-encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsK
CwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQU
FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAAEAjkDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
B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