Questions answered by this recipe
- is it possible to automatically load random pages from a group on my wiki every NN-seconds?
- is it possible to create a "slideshow" of sorts that automatically loads one-page-after-another within a group on my wiki every NN-seconds?
slideshowRefresh creates a "slideshow" by using the 'Refresh' meta tag, coupled with pagelist in order to automatically load one-page-after-another on a wiki, at an interval specified by the visitor..
Appending this to your URL will advance the browser to the next page within the current group every
nn-seconds. The underlying code is using the 'Refresh' meta-tag, but it's basically redirecting to another page each time, rather than remaining on the same page. (This recipe is based on the code for AutomaticPageRefresh.)
The recipe also accepts the additional query '
&anchor=myAnchor', which will land the viewer at
#myAnchor on each subsequently loaded page.
Finally, several pagelist parameters are available:
An example URL:
... this example will randomly move through the pages in the group Main, meanwhile avoiding the page Blam, refreshing every 30 seconds, and always looking for and landing on the #midPage anchor.
This recipe is based on AuotmaticPageRefresh
This space is for User-contributed commentary and notes.
Please include your name and a date (eg 2007-05-19) along with your comment.
Optional alternative: create a new page with a name like "ThisRecipe-Talk" (e.g. PmCalendar-Talk).
FidelioEspoir, 11/11/2015 : Parameter wait=nn
Is it possible to wait= until the mouse click ? how ? Thanks very very much !!!!
FidelioEspoir, 11/11/2015 : Parameter pagelist : trail
Is it possible to use "trail=Group.NameIndex ? Thanks