Devopeleres Posted June 3, 2013 Share Posted June 3, 2013 (edited) xxxx.com/xxx.xx adresinden dosya indirip indirdiğini anlayınca sayfayı kapatcak nasıl yapabiliriz bunu Aşağıdaki gibi bir kodlar yaptım 2.5 saniye sonra kapatıyor fakat indirme yeri yavaş olunca indirmeden kapatıyor 2.5 <META HTTP-EQUIV="Refresh" CONTENT="0; URL=https://dl.dropboxusercontent.com/u/127797507/1.rar"> <script language="javascript" type="text/javascript"> // PENCERE KAPATMA <!-- var zaman = null; function kapat(){ this.close(); } function pencerekapat() { zaman=setTimeout("kapat()",2500); /* 1000 = 1 saniye */ } //--> </script> <body onload=pencerekapat()> Arkadaşlar bügün acil lazım teşekkürler şimdiden Edited June 3, 2013 by Devopeleres Quote Link to comment Share on other sites More sharing options...
Devopeleres Posted June 3, 2013 Author Share Posted June 3, 2013 güncel Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.