Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Refresh Portal 
 
Can my portal and my index automaticly refresh themselves after 3 minutes?How can this be done?

Thanx
 



 
borboSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Refresh Portal 
 
Might be able to do it with a meta tag
 



 
gffbSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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...
 



 
borboSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
gffbSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.  

 



 
gffbSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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