Is it possible within WXD to define an html script that automatically loads a sequence of webpages similar to a slide show? I am looking to have a sequence of web pages continuously playing on an office monitor.:)
Printable View
Is it possible within WXD to define an html script that automatically loads a sequence of webpages similar to a slide show? I am looking to have a sequence of web pages continuously playing on an office monitor.:)
How do i invoke redirects? also with respect to my original question; is there a way of controlling the duration each page is delayed?
Sure, why not.
Put following code in the placeholder somwhere on the page:
Replace 'page2.htm' with the name of the page to open.Code:<script type="text/javascript">
setTimeout("window.open('page2.htm', '_self')", 5000);
</script>
The '5000' is a delay in 1/1000's of second. So 5000 is 5 seconds.
One option is to embed the following in the <head> section of each page:
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=page-to-go-to.html">
Modify for each page. See here:
http://en.wikipedia.org/wiki/Meta_refresh
Excellent: Thanks Covoxer. Can I assume I can add multiple references in the placeholder? e.g
......
setTimeout("window.open('page2.htm', '_self')", 5000);
setTimeout("window.open('page3.htm', '_self')", 5000);
setTimeout("window.open('page4.htm', '_self')", 5000);
......
also is it possible to then loop?
I doubt it.
Wouldn't that just cause all three pages to open together in 5 seconds??
so a place holder at the top of each relevent page calling the next page is the way to go?
Yes :)