Skip to main content
Question

iframe refresh

  • August 31, 2019
  • 0 replies
  • 29 views

I have an iframe in a rich text formula field that shows google calendars. Is it possible to have the iframe refresh every 5 seconds without refreshing the entire page?

------------------------------
Matthew Preece
------------------------------
This topic has been closed for replies.

Option 1
function timedRefresh(timeoutPeriod) {function timedRefresh(timeoutPeriod) { setTimeout("location.reload(true);",timeoutPeriod);}
window.onload = timedRefresh(5000); // this is set for 5 sec

Option 2 (also good for timed redirect)
<meta http-equiv="refresh" content="5;url=http://example.com/" />
content = (this is in seconds, put to 0 for imedate redirect) ; url= (put either redirect page, or same page for refresh, or whatever)

------------------------------
Meredith Moore
------------------------------