From 2b5c06c4ef3002381c1007160f8ab60b4b2bd641 Mon Sep 17 00:00:00 2001 From: Michał Smoliński Date: Tue, 10 Sep 2013 21:23:10 +0200 Subject: Added parallax scrolling background --- index.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.html') diff --git a/index.html b/index.html index a3bfd7d..09c3c0c 100644 --- a/index.html +++ b/index.html @@ -365,6 +365,10 @@ function linkify( selector ) { theme: Reveal.getQueryHash().theme, // available themes are in /css/theme transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none + + // Parallax scrolling + parallaxBackgroundImage: "url('img/nyc.jpg')", + parallaxBackgroundSize: "3600px 1018px", // Optional libraries used to extend on reveal.js dependencies: [ -- cgit v1.2.3