FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


refresh web





thaonguyenxanh
var limit=''0:30'' - second (30)
Code:
<script>
<!--
var limit=''0:30''
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!=)
curtime=''Tu dong cap nhat sau ''+curmin+'' phut va ''+cursec+'' giay.''
else
curtime=''Tu dong cap nhat sau ''+cursec+'' giay.''
window.status=curtime
setTimeout(''beginrefresh()'',1000)
}
}
window.onload=beginrefresh
//-->
</script>
Related topics
Macromedia updates Web conferencing tools
web-based project manager
Do you use a CMS script?
Play IRC Via Web
PHP Book (Php and Mysql for Dynamic Web Sites)
Web Based Game
Basic HTML Introduction
MAKE YOUR OWN WEB BROWSER
Making your own web browser
[help] Problemas Web
Force Reloading of web pages
web photoalbum - showing corrupted images
My ISP uses a Cache server, any way to force it to refresh
[man]Algunas Directivas y Trucos Meta en Html
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.