WebSite X5Help Center

 
Jiri M.
Jiri M.
User

How to insert a countdown timer to the page?  en

Autor: Jiri M.
Visited 2306, Followers 1, Udostępniony 0  

How to insert a countdown timer to the page in the X5 Evolution 13?

Thanks

Posted on the
18 ODPOWIEDZI - 15 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT

(It > En) ... It's disappeared! ... but soon I think, the FlipClock object should be available in the Marketplace ...
... EXTRA ... in this >> Topic  you will find my invention ....

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User

I copied the "FlipClock-master" from https://wsx5.afsoftware.fr some time ago. Here it is attached:

Czytaj więcej
Posted on the from Tom G.
Tom G.
Tom G.
User

@KolAsim

If only the post you mantioned was in English... Can you translate it here? We know how great your inventions are!

Czytaj więcej
Posted on the from Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT
G. Thomas
@KolAsim If only the post you mantioned was in English... Can you translate it here? We know how great your inventions are!

ciao,

(It > En)  ... I'm sorry, I do not know the English language embarassed;
to interpret and translate I use google translate.
...wink an >> example  is worth more than 1000 words, and my code (Ctrl+U)  is clear and free ...
... the key is in the dates and IDs to be declared; es:

3/11/2018 <div id="num1" style="font-size:10pt;background-color:yellow" >
<img src="../immagini/occhiorossok.png" onload="controllodataK(3,11,2018, 'num1')

... if something is not clear to you, ask, and we will try to understand ...

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Andre E
Andre E
Moderator
Najlepszy Użytkownik miesiąca EN

The flipclock (code) is for the PRO version.

Best is to look for custum code (like some users already metionend here) or switch to PRO.

I am not sure if it will become available for Evo as well, maybe.... (11-nov)

It is now -again-  available 15 nov.

Czytaj więcej
Posted on the from Andre E
Tom G.
Tom G.
User

Thank you, KolAsim!

Czytaj więcej
Posted on the from Tom G.
Tom G.
Tom G.
User

I translated your controllodataK() function into english (attached) - easy to understand.

But how do you call it, I mean how often?

Czytaj więcej
Posted on the from Tom G.
Esahc ..
Esahc ..
Moderator

Jiri, why not simply pay 10 credits and get flip clock? It does countdown to a date&time in Days, Hrs, Min.

Czytaj więcej
Posted on the from Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT
Esahc ..
Jiri, why not simply pay 10 credits and get flip clock? It does countdown to a date&time in Days, Hrs, Min. ... ...

(It > En) hello, ... when I answered in this >> post, the object was no longer available, but now it is available again in >> Marketplace ...  

... ciao...wink

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT
G. Thomas
I translated your controllodataK() function into english (attached) - easy to understand. But how do you call it, I mean how often?

>  controllodataK = date (day) control (K);
... detects the date of the declared day and the selector number (ID) of the related object ...
... the calculation daily makes the difference from today's day to the expiration date...

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User

I unederstand the code of the functions - it's obvious. My question is where on the page you call this function? Is it only one time when opening the page, or multiple times while page is open? How?

Czytaj więcej
Posted on the from Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT
G. Thomas
... ... My question is where on the page you call this function? ... ... ...

... maybe I understood your question ...
... the function controllodataK() is activated when the page is opened; ...more exactly when searched and loaded the image contained in the object to be checked:

<img src="../immagini/occhiorossok.png" onload="controllodataK(3,11,2018, 'num1')" />

ciao

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User

I got it, Kol Asim. The function is called when the page is displayed.

Czytaj więcej
Posted on the from Tom G.
Jiri M.
Jiri M.
User
Autor

Thank you all,

when I asked about countdown, I did not see the Flip Clock in Marketplace ...
Now it's available. Either I was badly looking for or it was not there at the time, I don´t know. So my problem is solved.
laughing

Regards

Czytaj więcej
Posted on the from Jiri M.
Andre E
Andre E
Moderator
Najlepszy Użytkownik miesiąca EN

It was not there at the time!

But now it is back.

Have fun.

Czytaj więcej
Posted on the from Andre E