Forum Discussion

MatthewPreece's avatar
MatthewPreece
Qrew Member
5 years ago

iframe refresh

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

1 Reply

  • 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
    ------------------------------