PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Timer in textscroll
Timer in textscroll
Iniciado por willy hermans, 06,abr. 2013 19:28 - 3 respuestas
Publicado el 06,abril 2013 - 19:28
Hello,

I want to use a timer to refresh a textscroll every minit or when the content of the text scroll changes.

More in detail..

I am building a site. When I add an event like "Team A just scored 3-1" in file Scroller.Fic ...
every person who is logged in has to see that new line in a scroll box. I used the example ww_scrollingtext, and I have linked it to a file Scroller.Fic.

Now I see that the timer function is not available in WEBDev.

Can anybody tell me how the screen of the users can be refreshed in a fixed timeframe.

Thanks,

Willy Hermans
Publicado el 07,abril 2013 - 11:32
Hi Willy

timer IS available in webdev, only in BROWSER code, so the refresh has
to come from there...

Buy example, your page could go check on the server every 10 seconds if
something has happened using ajax functions...

Be careful though, with a lot of user and a short timer, it's easy to
melt your server

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


On 4/6/2013 12:28 PM, willy hermans wrote:
Hello,

I want to use a timer to refresh a textscroll every minit or when the content of the text scroll changes.

More in detail..

I am building a site. When I add an event like "Team A just scored 3-1" in file Scroller.Fic ...
every person who is logged in has to see that new line in a scroll box. I used the example ww_scrollingtext, and I have linked it to a file Scroller.Fic.

Now I see that the timer function is not available in WEBDev.

Can anybody tell me how the screen of the users can be refreshed in a fixed timeframe.

Thanks,

Willy Hermans
Publicado el 08,abril 2013 - 17:01
Thanks
I am a beginner when we talk about internet programming.
I thought it was not possible to call a function that refreshes te scroller.
I'll try this out
Greetings
Willy
Publicado el 15,abril 2013 - 17:25
Meanwhile the timer is working.

But I can not change the scroll direction.

Can someone tell me how let it scroll from the reight side to te left side.

Already many thanks.

Willy Hermans