oscarchavez97
Joined:
Dec 2022
Posts:
14
Threads:
7
|
|
Hi
Is there is a way in viewON to make the webpage switch from one view to another one automatically and switch back every couple of seconds, back and forth, forever?
Thank you,
Best
OC
|
simon
Joined:
Mar 2016
Posts:
2.745
Threads:
127
|
|
22-02-2023, 03:33 PM
(This post was last modified: 22-02-2023, 03:35 PM by simon.)
Yes sure, using some java script.
You create a Javascript section in the two pages, you set a Interval according to the time you want this switch and you use the script
document.location.href = "view2.html";
where view2 is the name of my second view.
|
oscarchavez97
Joined:
Dec 2022
Posts:
14
Threads:
7
|
|
(22-02-2023, 03:33 PM)simon Wrote: Yes sure, using some java script.
You create a Javascript section in the two pages, you set a Interval according to the time you want this switch and you use the script
document.location.href = "view2.html";
where view2 is the name of my second view.
That worked.
Thank you!
OC
|
oscarchavez97
Joined:
Dec 2022
Posts:
14
Threads:
7
|
|
Thank you for the help on that,
Now I was wondering if there's a way to add an effect when the webpages switches from one to another? if so, where do those changes need to be implemented?
Thank you,
Best,
OC
|
simon
Joined:
Mar 2016
Posts:
2.745
Threads:
127
|
|
Oscar,
No I do not think that is possible.
The web browser just loads a new page...
|