[Openh323gk-users] META Tagged AutoRefresh for GNUgk-PHPstatus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Apart from Jeff Chen's Javascripted autorefresh, Auto Refresh may be easily
implemented with merely the Meta Tag in the HEAD portion of the web page
along with "no cache" parameter.

For example:-

<meta http-equiv="refresh" content="5;url=vcalls.php">

Regards,
Ap.Muthu

>Date: Thu, 28 Aug 2003 13:21:39 -0400 (EDT)
>From: Jeff Chen <jeffcheny2k@yahoo.ca>
>Subject: Re: [Openh323gk-users] auto-refresh for  Web Directory in PHP with
Calls in progress
>To: openh323gk-users@lists.sourceforge.net
>Reply-To: openh323gk-users@lists.sourceforge.net

>--0-161777559-1062091299=:67334
>Content-Type: text/plain; charset=us-ascii

>with the following script, the vcalls.php will automatially refresh very 5
second. it maybe useful for monitoring the gnuGK.
>
>
><SCRIPT>
><!--
>/*
>Auto Refresh Page with Time script

>*/
>var limit="0:5"
>if (document.images){
>var parselimit=limit.split(":")
>parselimit=parselimit[0]*60+parselimit[1]*1
>}
>function beginrefresh(){
>if (!document.images)
>return
>if (parselimit==1)
>window.location.reload()
>else{
>parselimit-=1
>curmin=Math.floor(parselimit/60)
>cursec=parselimit%60
>if (curmin!=0)
>curtime=curmin+" minutes and "+cursec+" bis zum Neuladen der Seite!"
>else
>curtime=cursec+" my voip network!"
>window.status=curtime
>setTimeout("beginrefresh()",1000)
>}
>}
>window.onload=beginrefresh
>//-->
></SCRIPT>
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux