Skip to content

Instantly share code, notes, and snippets.

@coryk135
Last active August 29, 2015 14:10
Show Gist options
  • Save coryk135/4de8106c7b1013ffe623 to your computer and use it in GitHub Desktop.
Save coryk135/4de8106c7b1013ffe623 to your computer and use it in GitHub Desktop.
[wearscript] RevealJS
<html>
<head>
<!-- You can include external scripts here like so... -->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>-->
<link rel="stylesheet" href="https://rawgit.com/hakimel/reveal.js/master/css/reveal.css">
<link rel="stylesheet" href="https://rawgit.com/hakimel/reveal.js/master/css/theme/default.css">
<style>
html, body {
/*width: 100%; height 100%; overflow: hidden; margin: 0;*/
background-color: hsl(0, 0%, 26%);
}
.reveal p {
font-size: 3.1em;
}
</style>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<section>
<h1>Reveal.JS</h1>
<h3>On Glass</h3>
</section>
<section>
<p>Vertical Slide 1</p>
</section>
<section>
<p>Vertical Slide 2</p>
</section>
<section>
<p>Glass is a really fun device.</p>
</section>
<section>
<p>It would be so much better with a Twiddler 3.</p>
</section>
<section>
<p>They are way overpriced. Maybe I'll make my own!</p>
</section>
<section>
<p>Vertical Slide 1</p>
</section>
<section>
<p>Vertical Slide 2</p>
</section>
<section>
<p>Glass is a really fun device.</p>
</section>
<section>
<p>It would be so much better with a Twiddler 3.</p>
</section>
<section>
<p>They are way overpriced. Maybe I'll make my own!</p>
</section>
<section>
<p>Vertical Slide 1</p>
</section>
<section>
<p>Vertical Slide 2</p>
</section>
<section>
<p>Glass is a really fun device.</p>
</section>
<section>
<p>It would be so much better with a Twiddler 3.</p>
</section>
<section>
<p>They are way overpriced. Maybe I'll make my own!</p>
</section>
</section>
</div>
</div>
<script>
window.onload = main;
function main() {
if (WS.scriptVersion(1)) return;
WS.serverConnect('{{WSUrl}}', serverConnected);
}
function serverConnected() {
WS.sound('SUCCESS');
}
</script>
<script src="https://rawgit.com/hakimel/reveal.js/master/js/reveal.js"></script>
<script>
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'default', // default/cube/page/concave/zoom/linear/fade/none
});
</script>
</body>
</html>
{"name":"Example"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment