iFrame Removed

This commit is contained in:
Luis Fernando Molina committed 2020-12-07 19:41:15 +01:00
1 parent d230582628
commit d71a008c9f
2 files changed
+1 -15

No files matched your search

-1
View File
@@ -60,7 +60,6 @@
<div id="masterApp"></div>
<div id="canvasApp"></div>
<div id="docApp" style="position:fixed; top:100000px; left:100000px">
<iframe id="docIFrame" style="border:none; " height="2000" width="900"></iframe>
</div>
<div id="chatApp" style="position:fixed; top:100000px; left:100000px">
<iframe id="chatIFrame" style="border:none; " height="2000" width="900"></iframe>
@@ -48,10 +48,7 @@ function newSuperalgosDocSpace() {
}
function onOpening() {
let docIFrame = document.getElementById('docIFrame')
if (docIFrame.src === "") {
docIFrame.src = UI.projects.superalgos.globals.docs.DOCUMENTATION_URL_DEFAULT
}
}
function onClosing() {
@@ -59,8 +56,6 @@ function newSuperalgosDocSpace() {
}
function navigateTo(url) {
let docIFrame = document.getElementById('docIFrame')
docIFrame.src = url
thisObject.sidePanelTab.open()
}
@@ -91,7 +86,6 @@ function newSuperalgosDocSpace() {
function physics() {
thisObject.sidePanelTab.physics()
docAppDivPhysics()
iFramePhysics()
function docAppDivPhysics() {
let docAppDiv = document.getElementById('docApp')
@@ -106,13 +100,6 @@ function newSuperalgosDocSpace() {
'width: ' + thisObject.container.frame.width + 'px;' +
'height: ' + thisObject.container.frame.height + 'px'
}
function iFramePhysics() {
let docIFrame = document.getElementById('docIFrame')
docIFrame.style = ' ' +
'width: ' + thisObject.container.frame.width + 'px;' +
'height: ' + thisObject.container.frame.height + 'px'
}
}
function draw() {