Hi, sorry this seem very easy, but I do not know how to do it:
I need layer showing the current timertick, always.
This is the first step to code a countdown timer.
Thanks very much for any idea,
Greets,
Fernando
Edit: solved, this is my rustic solution:
Code
<krpano onstart="settime();">
<preview type="grid()" />
<layer name="prueba"
align="topcenter"
keep="true"
type="text"
html=""
onclick=""
/>
<action name="settime">
updatetime();
</action>
<action name="updatetime">
delayedcall(0.5, fillhtmllayer(); settime(););
</action>
<action name "fillhtmllayer">
copy(layer[prueba].html,timertick);
updatescreen();
</action>
</krpano>
Display More