diff options
Diffstat (limited to 'slideshows')
-rw-r--r-- | slideshows/advanced/template/events.js | 5 | ||||
-rw-r--r-- | slideshows/dark/template/events.js | 5 | ||||
-rw-r--r-- | slideshows/default/template/events.js | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/slideshows/advanced/template/events.js b/slideshows/advanced/template/events.js index e01df1c..82095f4 100644 --- a/slideshows/advanced/template/events.js +++ b/slideshows/advanced/template/events.js @@ -26,8 +26,13 @@ $(document).ready(function(){ $('.eventEl').click(function() {
showWindow($(this));
})
+ setTimeout("reloadPage()", 21600000);
});
+function reloadPage() {
+ location.reload();
+};
+
function showWindow(data) {
var title = $('.summary',data).text();
diff --git a/slideshows/dark/template/events.js b/slideshows/dark/template/events.js index b0efe13..8c4a33e 100644 --- a/slideshows/dark/template/events.js +++ b/slideshows/dark/template/events.js @@ -28,8 +28,13 @@ $(document).ready(function(){ showWindow($(this)); }); + setTimeout("reloadPage()", 21600000); }); +function reloadPage() { + location.reload(); +}; + function showWindow(data) { var title = $('.summary',data).text(); diff --git a/slideshows/default/template/events.js b/slideshows/default/template/events.js index 9d69547..702878c 100644 --- a/slideshows/default/template/events.js +++ b/slideshows/default/template/events.js @@ -22,4 +22,9 @@ $(document).ready(function(){ $(this).show();
}
});
+ setTimeout("reloadPage()", 21600000);
});
+
+function reloadPage() {
+ location.reload();
+};
|