Refresh Portal


Subject: Refresh Portal
Can my portal and my index automaticly refresh themselves after 3 minutes?How can this be done?

Thanx

Subject: Re: Refresh Portal
Might be able to do it with a meta tag

Profile PM  
Subject: Re: Refresh Portal
hmmm...what's a meta tag?How can i do it?
I think theres an easier way to edit index.php but i can't find it...

Subject: Re: Refresh Portal
Code: [Download] [Hide]
  1. <script>  
  2. <!--  
  3.  
  4. //enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59  
  5. var limit="0:30"  
  6.  
  7. if (document.images){  
  8. var parselimit=limit.split(":")  
  9. parselimit=parselimit[0]*60+parselimit[1]*1  
  10. }  
  11. function beginrefresh(){  
  12. if (!document.images)  
  13. return  
  14. if (parselimit==1)  
  15. window.location.reload()  
  16. else{  
  17. parselimit-=1  
  18. curmin=Math.floor(parselimit/60)  
  19. cursec=parselimit%60  
  20. if (curmin!=0)  
  21. curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"  
  22. else  
  23. curtime=cursec+" seconds left until page refresh!"  
  24. window.status=curtime  
  25. setTimeout("beginrefresh()",1000)  
  26. }  
  27. }  
  28.  
  29. window.onload=beginrefresh  
  30. //-->  
  31. </script> 

This is something you can try

Profile PM  
Subject: Re: Refresh Portal
Also ther is this
Code: [Download] [Hide]
  1. <META HTTP-EQUIV="Refresh"  
  2. CONTENT="30; URL=http://www.example.net/some/place/">  
  3.  

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6403s (PHP: 3% SQL: 97%)
SQL queries: 10 - Debug Off - GZIP Enabled