Expand all | Collapse all

iframe refresh

  • 1.  iframe refresh

    Posted 08-31-2019 19:14
    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

  • 2.  RE: iframe refresh

    Posted 17 days ago
    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