fix window height issue

This commit is contained in:
Saskia Hiltemann
2016-02-05 10:51:47 +01:00
parent 1b04ba3833
commit 674bf530c6
2 changed files with 8 additions and 1 deletions
@@ -6,6 +6,13 @@ function load_notebook(url){
});
}
function append_notebook(url){
clear_main_area();
$('#main').append('<iframe frameBorder="0" seamless="seamless" style="width: 100%; height: 100%; overflow:auto;" scrolling="yes" src="'+ url +'"></iframe>'
);
}
function keep_alive(notebook_access_url){
/**
* This is needed to keep the container alive. If the user leaves this site
@@ -40,7 +40,7 @@ requirejs(['interactive_environments', 'plugin/phinch'], function(){
});
</script>
<div id="main" style="width: 100%; height: 5000px;">
<div id="main" style="width: 100%; height: 100%; overflow:hidden;">
</div>
</body>
</html>