From 7830529e9fee9c57576ae835c9d8ba618c5ae9bd Mon Sep 17 00:00:00 2001 From: Ilguiz Latypov Date: Fri, 1 Apr 2016 12:36:27 -0400 Subject: [PATCH] Comply with HTML5 parsing rules after seeing violations in the W3C HTML Validator. #121 --- template.html | 1454 +++++++++++++++++++++++++------------------------ 1 file changed, 736 insertions(+), 718 deletions(-) diff --git a/template.html b/template.html index ad37782..08695d3 100644 --- a/template.html +++ b/template.html @@ -1,734 +1,752 @@ + + + + + The Title Of Your Presentation + + + + + + + - - - -
- - - - - - - - - + + Dz.isFullScreen = function() { + return !!(document.fullScreen || document.webkitIsFullScreen || document.mozFullScreen + || document.msFullscreenElement || document.fullscreenElement); + } + + Dz.setProgress = function(aIdx, aStep) { + var slide = $("section:nth-of-type("+ aIdx +")"); + if (!slide) + return; + var steps = slide.$$('.incremental > *').length + 1, + slideSize = 100 / (this.slides.length - 1), + stepSize = slideSize / steps; + this.progressBar.style.width = ((aIdx - 1) * slideSize + aStep * stepSize) + '%'; + } + + Dz.postMsg = function(aWin, aMsg) { // [arg0, [arg1...]] + aMsg = [aMsg]; + for (var i = 2; i < arguments.length; i++) + aMsg.push(encodeURIComponent(arguments[i])); + aWin.postMessage(aMsg.join(" "), "*"); + } + + function init() { + Dz.init(); + window.onkeydown = Dz.onkeydown.bind(Dz); + window.onresize = Dz.onresize.bind(Dz); + window.onhashchange = Dz.onhashchange.bind(Dz); + window.onmessage = Dz.onmessage.bind(Dz); + } + + window.onload = init; + + + + + + + + + + + +
+ +

My Presentation

+
by John Doe
+
+ +
+
Some random text
+

But I've never been to the moon! You can see how I lived before I met you. Also Zoidberg. + I could if you hadn't turned on the light and shut off my stereo.

+
+ +
+

An incremental list

+ +
Some notes. They are only visible using onstage shell.
+
+ +
+
A question
+
+ Who's brave enough to fly into something we all keep calling a death sphere? +
+
+ In the onstage shell, notes scroll rather than overflow: +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac dui eu est feugiat lacinia sit amet nec leo. Mauris eu ipsum leo. Nulla mi odio, cursus sed sollicitudin non, fringilla id magna. Suspendisse sit amet posuere elit. Maecenas iaculis, turpis a placerat imperdiet, libero lorem feugiat nisi, nec tincidunt diam nibh sit amet massa. Vestibulum quis adipiscing tellus. Maecenas sollicitudin sodales pulvinar. Donec dui ipsum, bibendum facilisis consequat interdum, tempus ut mauris. Aliquam ut dolor nec odio scelerisque bibendum quis in neque. Aliquam dui dui, pulvinar quis fermentum quis, gravida eu augue. Nunc tristique dolor a urna pulvinar bibendum. Curabitur mollis cursus neque, in scelerisque metus porta non. Donec tempor enim in nibh vestibulum et convallis nisi malesuada. Duis ut lectus sed metus venenatis porttitor id pharetra quam. Suspendisse sapien turpis, ornare in molestie et, gravida eget turpis. +

+
+
+ +
+

Part two

+
+ +
+
Kittens
+
+ +
An image
+
+
Kittens are so cute!
+
+ +
+
Mozilla Firefox Manifesto
+
+ +
A video
+
+
+ +
+

End!

+
+ +
+ + +