Created
October 25, 2012 01:55
-
-
Save dandv/3950044 to your computer and use it in GitHub Desktop.
Slides don't load on Android 2.3 if the highlight plugin isn't loaded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>5reveal.js - The HTML Presentation Framework</title> | |
<meta name="description" content="A framework for easily creating beautiful presentations using HTML"> | |
<meta name="author" content="Hakim El Hattab"> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
<link rel="stylesheet" href="css/reveal.css"> | |
<link rel="stylesheet" href="css/theme/default.css" id="theme"> | |
<!-- For syntax highlighting --> | |
<link rel="stylesheet" href="lib/css/zenburn.css"> | |
<!-- If the query includes 'print-pdf', use the PDF print sheet --> | |
<script> | |
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' ); | |
</script> | |
<!--[if lt IE 9]> | |
<script src="lib/js/html5shiv.js"></script> | |
<![endif]--> | |
</head> | |
<body> | |
<div class="reveal"> | |
<!-- Any section element inside of this container is displayed as a slide --> | |
<div class="slides"> | |
<section> | |
<h1>Reveal.js</h1> | |
<h3>Slides don't load on Android 2.3</h3> | |
<p>If the highlight plugin is not loaded</p> | |
</section> | |
<section> | |
<h1>Test at this emulator</h1> | |
<h3>https://app.manymo.com/emulators/17/connect</h3> | |
</section> | |
</div> | |
</div> | |
<script src="lib/js/head.min.js"></script> | |
<script src="js/reveal.min.js"></script> | |
<script> | |
// Full list of configuration options available here: | |
// https://github.com/hakimel/reveal.js#configuration | |
Reveal.initialize({ | |
controls: true, | |
progress: true, | |
history: true, | |
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme | |
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/none | |
// Optional libraries used to extend on reveal.js | |
dependencies: [ | |
// { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } }, | |
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }, | |
// { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, | |
// { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, | |
// { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, | |
// { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } } | |
] | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment