show/hide content on timer
Hi I'm am a Web designer building an app I have very little knowledge of Java how do I show hide content on a timer basis. For example the home page will change every 24 hrs . How do I go about that
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi I'm am a Web designer building an app I have very little knowledge of Java how do I show hide content on a timer basis. For example the home page will change every 24 hrs . How do I go about that
Hi Jay,
try this code in pageshow event:
setTimeout(function()
/change the Settings1 to your 2nd page/
{navigateTo ('Settings1');},5000);
Goodluck!
Coded and works perfectly but what is that unit of time you wrote 5000?
It's the number of milliseconds - so 5000 is 5 seconds.....adjust up or down at will.... ![]()