javascript fullscreen
This commit is contained in:
parent
b46ee0c602
commit
198ce38b75
2 changed files with 32 additions and 16 deletions
|
@ -1,5 +1,6 @@
|
||||||
<h1>Category Theory & Programming
|
<div style="text-align:center; position:absolute; top: 2em;">
|
||||||
<div><author style="font-size: .4em"><em class="base01">by</em> Yann Esposito
|
<h1 style="position: relative;">Category Theory & Programming</h1>
|
||||||
|
<author><em class="base01">by</em> Yann Esposito</author>
|
||||||
<div style="font-size:.5em">
|
<div style="font-size:.5em">
|
||||||
<twitter>
|
<twitter>
|
||||||
<a href="http://twitter.com/yogsototh">@yogsototh</a>,
|
<a href="http://twitter.com/yogsototh">@yogsototh</a>,
|
||||||
|
@ -8,8 +9,8 @@
|
||||||
<a href="https://plus.google.com/117858550730178181663">+yogsototh</a>
|
<a href="https://plus.google.com/117858550730178181663">+yogsototh</a>
|
||||||
</googleplus>
|
</googleplus>
|
||||||
</div>
|
</div>
|
||||||
</author></div>
|
<div class="base01" style="font-size: .5em; font-weight: 400; font-variant:italic">
|
||||||
<div class="base01" style="font-size: .25em; font-weight: 400; font-variant:italic">
|
<div class="button" style="margin: .5em auto;border: solid 2px; padding: 5px; width: 8em" onclick="javascript:gofullscreen();">ENTER FULLSCREEN</div>
|
||||||
HTML presentation: use arrows, space to navigate.
|
HTML presentation: use arrows, space to navigate.
|
||||||
</div>
|
</div>
|
||||||
</h1>
|
</div>
|
||||||
|
|
|
@ -27,8 +27,23 @@
|
||||||
<link rel="stylesheet" href="themes/style/y/solarized.css" />
|
<link rel="stylesheet" href="themes/style/y/solarized.css" />
|
||||||
<!-- Required Modernizr file -->
|
<!-- Required Modernizr file -->
|
||||||
<script src="modernizr.custom.js"></script>
|
<script src="modernizr.custom.js"></script>
|
||||||
|
<script>
|
||||||
|
function gofullscreen(){
|
||||||
|
var body=document.getElementById('body');
|
||||||
|
try {
|
||||||
|
body.requestFullScreen();
|
||||||
|
} catch(err) {
|
||||||
|
try {
|
||||||
|
body.webkitRequestFullScreen();
|
||||||
|
} catch(err) {
|
||||||
|
body.mozRequestFullScreen();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class="deck-container">
|
<body id="body" class="deck-container" style="width: 99%">
|
||||||
|
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
\(\newcommand{\F}{\mathbf{F}}\)
|
\(\newcommand{\F}{\mathbf{F}}\)
|
||||||
|
|
Loading…
Reference in a new issue