From f56a10b9ff416ab91478f2aa4960c52355e5fdf9 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 20 Aug 2013 09:04:31 -0400 Subject: disable interaction on future/past slides --- css/reveal.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'css/reveal.css') diff --git a/css/reveal.css b/css/reveal.css index a5a0612..6a27da6 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -606,6 +606,19 @@ body { min-height: auto !important; } +/* Don't allow interaction with invisible slides */ +.reveal .slides>section.future, +.reveal .slides>section>section.future, +.reveal .slides>section.past, +.reveal .slides>section>section.past { + pointer-events: none; +} + +.reveal.overview .slides>section, +.reveal.overview .slides>section>section { + pointer-events: auto; +} + /********************************************* -- cgit v1.2.3