Created
March 23, 2016 03:49
-
-
Save smutch/178a3a69ee2a11544520 to your computer and use it in GitHub Desktop.
ipynb: raw cells for presentation
This file contains hidden or 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
<!-- Place these cells at the head of the notebook (N.B. there are cells below which go at the end though)--> | |
<script> | |
jQuery(document).ready(function($) { | |
$(window).load(function(){ | |
$('#preloader').fadeOut('slow',function(){$(this).remove();}); | |
}); | |
}); | |
</script> | |
<style type="text/css"> | |
div#preloader { position: fixed; | |
left: 0; | |
top: 0; | |
z-index: 999; | |
width: 100%; | |
height: 100%; | |
overflow: visible; | |
background: #fff url('http://preloaders.net/preloaders/720/Moving%20line.gif') no-repeat center center; | |
} | |
</style> | |
<div id="preloader"></div> | |
<script> | |
function code_toggle() { | |
if (code_shown){ | |
$('div.input').hide('500'); | |
$('#toggleButton').val('Show Code') | |
} else { | |
$('div.input').show('500'); | |
$('#toggleButton').val('Hide Code') | |
} | |
code_shown = !code_shown | |
} | |
$( document ).ready(function(){ | |
code_shown=false; | |
$('div.input').hide() | |
}); | |
</script> | |
<form action="javascript:code_toggle()"><input type="submit" id="toggleButton" value="Show Code"></form> | |
<!-- CELLS BELOW GO AT END OF NOTEBOOK --> | |
<script> | |
$(document).ready(function(){ | |
$('div.prompt').hide(); | |
$('div.back-to-top').hide(); | |
$('nav#menubar').hide(); | |
$('.breadcrumb').hide(); | |
$('.hidden-print').hide(); | |
}); | |
</script> | |
<footer id="attribution" style="float:right; color:#999; background:#fff;"> | |
Created with Jupyter, delivered by Fastly, rendered by Rackspace. | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment