Re: refresh

From: Date: Thu, 14 Dec 2000 22:36:09 +0000
Subject: Re: refresh
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-30377@lists.php.net to get a copy of this message
Hello Ian, (I == "Ian") ian@genie.idt.net writes: I> | Try this between your <head> tags: I> | I> | <meta http-equiv="refresh" content="5"> I> | <meta http-equiv="pragma" content="no-cache"> I> I use JavaScript (for my image refreshing) for my webcam Why? The meta tags above do the exact, same thing, and they aren't client-side script dependant. We're all OT anyway. ;) I> <script language="Javascript"> I> <!-- I> function refreshCam(){ I> rfsh = new Date() ; rfsh = "?"+rfsh.getTime() I> document.images["webcam"].src = "webcam.jpg"+rfsh I> setTimeout("refreshCam()", 30000) I> } I> //--> I> <!-- I> function confirmLoad(){ I> confirm("<insert legal 'watch at your own risk' here")} I> ---> -Brian -- Interfaces keep things tidy, but don't accelerate growth: Functions do.

« previous php.general (#30377) next »