Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1175593
    piexec
    Participant

    Is there a way to add a timer to a page that after say, 10 seconds, I can redirect the page to a URL?

    #1176074
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Actually there is a JavaScript for that.

    setTimeout("window.location.href='URL HERE';",10000);

    You can add this on Cornerstone > Settings > Custom JS.

    But! the preview on Cornerstone will also redirect to that URL you provide, and you’ll have issue editing that page. That means you need to remove the script first before you can edit that page. Just do not set the time lower than 10000ms or else you wont have enough time removing that script on Cornerstone.

    Its up to you now, further customizations from here would be getting into custom development.

    Hope it helps, Cheers!

    #1176686
    piexec
    Participant

    Thank you!

    #1176854
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1175593 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>