scholarslab / slides

slides.scholarslab.org
1 stars 2 forks source link

Add auto refresh to signage slides #2

Open jeremyboggs opened 10 years ago

jeremyboggs commented 10 years ago

To make it so that we don't have to go refresh the browser every time we update content, let's add a way to auto refresh the page after a certain amount of time. Could add some javascript that counts how many slides there are on the page, multiply that by the amount of time we use per slide, and refresh when it gets to the end of that time frame. There might also be a way in Deck.js to tell when a presentation is at the last slide, and autorefresh back at the beginning.

waynegraham commented 10 years ago

Have a look at the deck.js ticket https://github.com/imakewebthings/deck.js/issues/151. The pull request mentioned there (https://github.com/imakewebthings/deck.js/pull/161) may provide a method to do part of this.

adarwinian commented 10 years ago

https://chrome.google.com/webstore/detail/easy-auto-refresh/aabcgdmkeabbnleenpncegpcngjpnjkc?hl=en

~Chris

Chris Gist MS, GISP GIS Specialist The Scholars' Lab - UVa Library cgist@virginia.edumailto:cgist@virginia.edu | 434.982.2637 38°2'11.23"N | 78°30'21.00"W

From: Jeremy Boggs [mailto:notifications@github.com] Sent: Wednesday, October 08, 2014 10:36 AM To: scholarslab/slides Subject: [slides] Add auto refresh to signage slides (#2)

To make it so that we don't have to go refresh the browser every time we update content, let's add a way to auto refresh the page after a certain amount of time. Could add some javascript that counts how many slides there are on the page, multiply that by the amount of time we use per slide, and refresh when it gets to the end of that time frame. There might also be a way in Deck.js to tell when a presentation is at the last slide, and autorefresh back at the beginning.

— Reply to this email directly or view it on GitHubhttps://github.com/scholarslab/slides/issues/2.