chris
Posts: 16
|
Posted: 06/25/2004, 7:38 AM |
|
WinXP Prof /IIS/PHP/MySQL
I have created a small CCS application that will accept a link, picks up an image, and send it via mail as a attachment.
I call this program from a web-page (creates a new small window); enter the e-mail address (only the first time, the second time it retrieves it from a session-variable) and push a button, to send the mail.
What I want is, that the program (CCS php-program) closes it self after sending the mail; how can I do that with CCS ? Now I have to close the window manually, by pressing on the right top corner X !
thx,
Chris
|
|
|
peterr
Posts: 5971
|
Posted: 06/25/2004, 11:31 AM |
|
You can use "window.close();" JavaScript for this.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
peterr
Posts: 5971
|
Posted: 06/25/2004, 11:48 AM |
|
Actually the simplest way could be to just modify the <body> tag in the HTML as follows:
<body onload="window.close();">
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|