Switch to desktop version  
VIEWS on viewON - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Custom Web Pages/viewON/Talk2M Visualization (https://techforum.ewon.biz/forum-55.html)
+--- Thread: VIEWS on viewON (/thread-2221.html)



VIEWS on viewON - oscarchavez97 - 21-02-2023

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


RE: VIEWS on viewON - simon - 22-02-2023

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.

   


RE: VIEWS on viewON - oscarchavez97 - 22-02-2023

(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


RE: VIEWS on viewON - oscarchavez97 - 24-02-2023

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


RE: VIEWS on viewON - simon - 25-02-2023

Oscar,

No I do not think that is possible.
The web browser just loads a new page...