Discussions

Expand all | Collapse all

How can I make a Rich Text Page self-refresh?

  • 1.  How can I make a Rich Text Page self-refresh?

    Bronze
    Contributor
    Posted 06-11-2018 20:03
    I have an html code page that I can apply to a homepage to make it self-refresh. I have tried to enter that code into the html of the Rich text page, but it caused some chaos. Does anyone have a solution for this?


  • 2.  RE: How can I make a Rich Text Page self-refresh?

    Silver
    Contributor
    Posted 06-12-2018 06:01
    Hi Kelly,

    I have tried to use the code in the Rich Text page and it worked for me.

    Here you go.

    <script> window.setInterval(function() { window.top.location.reload(true); }, 15000); alert("Hello my friend"); </script> <h1>Please confirm if this page refreshes or not. </h1>

    Try this code and let me know if this works for you or not.

    Thanks,
    Gaurav


  • 3.  RE: How can I make a Rich Text Page self-refresh?

    Bronze
    Contributor
    Posted 06-12-2018 12:38
    Thanks, Gaurav... that worked perfectly!


  • 4.  RE: How can I make a Rich Text Page self-refresh?

    Silver
    Contributor
    Posted 06-12-2018 12:39
    Glad, it worked for you. :)