Script in kentico page

Suny Jose asked on April 26, 2021 19:35

I need to set a timer in my kentico Page, using a java script for redirecting user to an external site, automatically. Is that possible Is there any way we can redirect user automatically to a link after 5 seconds when we reached my page

Recent Answers


Brenden Kehren answered on April 26, 2021 21:05

On a given page, add the META REFRESH tag to the head of the page.

You can access the <head> of the page by using the script webpart and choosing "HEAD" in the dropdownlist, then place your meta code in the javascript area. Make sure it doesn't render the <script> tags.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.