PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → Timer in textscroll
Timer in textscroll
Started by willy hermans, Apr., 06 2013 7:28 PM - 3 replies
Posted on April, 06 2013 - 7:28 PM
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
Posted on April, 07 2013 - 11:32 AM
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
Posted on April, 08 2013 - 5:01 PM
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
Posted on April, 15 2013 - 5:25 PM
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