Admin DueLLoYöneticisi
Mesaj Sayısı : 928 Doğum tarihi : 06/07/90 Yaşı : 34 Nerden : Antalya İş/Hobiler : Webtasarım - Öğrenci Lakap : Site sahibi Rep Puanı : 735008
| Konu: Refresh Page - Automatic (ing) Cuma Ara. 04, 2009 8:34 pm | |
| Sayfanızın otomatik olarak kendini refresh (yenileme) yapmasını sağlar. İstediğiniz süreyi ("reFresh()",300000); bu kısımdan belirtmeniz gerekiyor. - Kod:
-
<!-- ONE STEP TO INSTALL REFRESH PAGE - AUTOMATIC:
1. Copy the coding into the HEAD of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<script type="text/javascript"> <!-- Begin /* This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com Created by: Lee Underwood
Because this is a true refresh, you might want to put a notice on the page that it refreshes every "X" minutes */
function reFresh() { window.open(location.reload(true)) } /* Set the number below to the amount of delay, in milliseconds, you want between page reloads: 1 minute = 60000 milliseconds. */ window.setInterval("reFresh()",300000); // End --> </script> </HEAD>
<p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p>
<!-- Script Size: 1.03 KB --> | |
|