In [2]:
from IPython.display import HTML
HTML('''<script>
code_show=true;
function code_toggle() {
if (code_show){
$('div.input').hide();
$('div.prompt').hide();
} else {
$('div.input').show();
$('div.prompt').show();
}
code_show = !code_show
}
$( document ).ready(code_toggle);
</script>
<form action="javascript:code_toggle()"><input type="submit" value="Code Toggle"></form>''')
Out[2]:
No code yet
In [5]:
from IPython.display import IFrame
IFrame('//www.slideshare.net/slideshow/embed_code/key/dK4zl7XPHXpKLV',
width="595",
height="485",
frameborder="0",
marginwidth="0",
marginheight="0",
scrolling="no",
style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;")
Out[5]:
In [6]:
from IPython.display import IFrame
IFrame('//www.slideshare.net/slideshow/embed_code/key/GeR1Zyt3bPLCd9',
width="595",
height="485",
frameborder="0",
marginwidth="0",
marginheight="0",
scrolling="no",
style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;")
Out[6]:
In [8]:
from IPython.display import IFrame
IFrame('//www.slideshare.net/slideshow/embed_code/key/FA7NEDrBTgb65Y',
width="595",
height="485",
frameborder="0",
marginwidth="0",
marginheight="0",
scrolling="no",
style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;")
Out[8]:
In [ ]: