How to refresh a embedded script?

Asked by Catalin

I would like to refresh the embedded content of a region. I have a button that redirects the user to a website.(HTML script). After 20 seconds I would like the button to reappear just to repeat the operation.

Thank you in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

If your embedded content has a duration of 20 seconds, it will automatically expire and be reloaded (if it is the only item in the layout).

If there are other items in the layout, add your embedded content twice and it will loop until the entire layout has expired.

Revision history for this message
Catalin (catalin-pascu) said :
#2

Actually it didn't work. Here you have my embedded code so that you'll understand better what I want.

<html>
<body>
<font size="18" face="verdana" color="red"><b>For taxi press this button</b></font>
<p align=center><a href="WEBSITE"><img src="http://s1.postimg.org/smr4xv7hb/Easy_Taxi.jpg" align= "middle" border="0"></p></a>
</html>
</body>

The idea is that after 20 seconds from the moment the "Taxi Button" was pressed, the button should reappear

Revision history for this message
Vincent Vandermeeren (vandermeeren-vincent) said :
#3

Catalin:
if you press the button, it will take you to the "website" where he will see another page ... on that page you add the following thing in the <head> part :
<meta http-equiv="refresh" content="20; url="page_with_the_button">

Shortly explained:
First screen has the url with page where there is a button.
Once clicked on that button it will take you to another page (page_without_button).
Using the meta refresh this page (page_without_button) will give you again the page with a button

Can you help with this problem?

Provide an answer of your own, or ask Catalin for more information if necessary.

To post a message you must log in.