|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
closing window
hi to all.
i hiave a slight problem, ive vritten some code, which opens a download box with needed to download file. code looks like this: echo "<script>location='somefile.zip'</script>"; so, this code works ok, but now i need the this window to close after 5seconds. how to do this? please help, im stuck [edit: moved by notepad] |
|
#2
|
|||
|
|||
|
RE: closing window
<script type="text/javascript">setTimeout('window.close()', 5000);</script>
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > closing window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|