membuat auto close halaman

Membuat halaman menutup sendiri mungkin buat blogger tingkat advance hal ini adalah hal yang sangat mudah, namun untuk sahabat blogger yangh baru terjun kedunia blogger tentu bertanya-tanya bagaimana cara membuat halaman atau suatu alamat yang menutup sendiri tanpa kita klik, hal ini bisa karena bantuan sebuah script, untuk penampakan scriptnya silakan sobat lihat dibawah ini




 <script type="text/javascript">window.setTimeout('window.location="/"; ',20000);</script>

Letakkanscript diatas dihalaman yang ingin dibuat auto close ubah nilai render berapa lama halaman itu akan ditutup untuk demo lihat dihalaman ini

Thanks for reading: membuat auto close halaman, Sorry, my English is bad:)

Getting Info...

Posting Komentar

Komentar
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.